feat(navi): fix #1
This commit is contained in:
parent
a6acd8fd54
commit
233725a103
@ -44,9 +44,12 @@ const loginState = useLoginState()
|
|||||||
<img
|
<img
|
||||||
src="/images/xsh_logo.png"
|
src="/images/xsh_logo.png"
|
||||||
alt="Logo"
|
alt="Logo"
|
||||||
class="w-9 max-w-9 aspect-square group-has-[[data-collapsible=icon]]/sidebar-wrapper:w-full transition-all duration-200 ease-in-out"
|
class="size-10 -ml-4 aspect-square group-has-[[data-collapsible=icon]]/sidebar-wrapper:w-full transition-all duration-200 ease-in-out"
|
||||||
/>
|
/>
|
||||||
<h1 class="text-lg font-medium">智课教学平台</h1>
|
<div class="flex flex-col items-start justify-center">
|
||||||
|
<h1 class="text-base font-bold">智慧课程平台</h1>
|
||||||
|
<p class="text-xs font-medium text-muted-foreground">AI 助教</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</SidebarHeader>
|
</SidebarHeader>
|
||||||
<SidebarContent>
|
<SidebarContent>
|
||||||
|
@ -75,7 +75,7 @@ defineProps<{
|
|||||||
<SidebarMenuButton
|
<SidebarMenuButton
|
||||||
v-else
|
v-else
|
||||||
as="a"
|
as="a"
|
||||||
class="py-5"
|
class="py-5 cursor-pointer select-none"
|
||||||
:tooltip="item.title"
|
:tooltip="item.title"
|
||||||
>
|
>
|
||||||
<!-- 图标名 -->
|
<!-- 图标名 -->
|
||||||
@ -112,7 +112,7 @@ defineProps<{
|
|||||||
>
|
>
|
||||||
<SidebarMenuSubButton
|
<SidebarMenuSubButton
|
||||||
as="a"
|
as="a"
|
||||||
class="py-4"
|
class="py-4 cursor-pointer select-none"
|
||||||
as-child
|
as-child
|
||||||
:is-active="isActive"
|
:is-active="isActive"
|
||||||
:href
|
:href
|
||||||
|
@ -9,36 +9,105 @@ const sidebarNav: SidebarNavGroup[] = [
|
|||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
title: '课程管理',
|
title: '课程管理',
|
||||||
url: `/course`,
|
|
||||||
icon: 'tabler:book-2',
|
icon: 'tabler:book-2',
|
||||||
},
|
items: [
|
||||||
{
|
{
|
||||||
title: '课程资源',
|
title: '我的课程',
|
||||||
url: `/course/resources`,
|
url: `/course`,
|
||||||
icon: 'tabler:books',
|
},
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'AI 备课',
|
title: 'AI 备课',
|
||||||
icon: 'tabler:clipboard-list',
|
icon: 'tabler:clipboard-list',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
title: 'AI 教学设计',
|
title: '教学设计',
|
||||||
url: `/course/prep/teach`,
|
url: `/course/prep/teach`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'AI 课件设计',
|
title: '课件设计',
|
||||||
url: `/course/prep/deck`,
|
url: `/course/prep/deck`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'AI 出题',
|
title: '智能出题',
|
||||||
url: `/course/prep/quiz`,
|
url: `/course/prep/quiz`,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '数字人微课',
|
||||||
|
url: `/course/prep/avatar`,
|
||||||
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'AI 教科研',
|
title: 'AI 教科研',
|
||||||
url: `/course/research`,
|
|
||||||
icon: 'tabler:report-search',
|
icon: 'tabler:report-search',
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
title: '教学评估',
|
||||||
|
url: `/course/research#`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '学术研究',
|
||||||
|
url: `/course/research#`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '办公辅助',
|
||||||
|
url: `/course/research#`,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '课程资源库',
|
||||||
|
icon: 'tabler:books',
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
title: '资源库管理',
|
||||||
|
url: `/course/resources#`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '课程智能体',
|
||||||
|
url: `/course/resources#`,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'AI 工具导航',
|
||||||
|
icon: 'tabler:planet',
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
title: '写作平台',
|
||||||
|
url: `/course/ai-navi/#`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '绘画生成',
|
||||||
|
url: `/course/ai-navi/#`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '视频创作',
|
||||||
|
url: `/course/ai-navi/#`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '办公效率',
|
||||||
|
url: `/course/ai-navi/#`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '智能对话',
|
||||||
|
url: `/course/ai-navi/#`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '音频处理',
|
||||||
|
url: `/course/ai-navi/#`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '智能体平台',
|
||||||
|
url: `/course/ai-navi/#`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '其它',
|
||||||
|
url: `/course/ai-navi/#`,
|
||||||
|
},
|
||||||
|
]
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user