diff --git a/frontend/src/components/layout/MobileNav.vue b/frontend/src/components/layout/MobileNav.vue deleted file mode 100644 index efe7e8e..0000000 --- a/frontend/src/components/layout/MobileNav.vue +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - - - Aether - - - AI 控制中心 - - - - - - - - - - - 快速导航 - - - {{ activeItem ? `当前:${activeItem.name}` : '选择功能页面' }} - - - - - - - - - - - - - - - diff --git a/frontend/src/components/layout/index.ts b/frontend/src/components/layout/index.ts index aa7d2bb..45cc604 100644 --- a/frontend/src/components/layout/index.ts +++ b/frontend/src/components/layout/index.ts @@ -11,5 +11,4 @@ export { default as CardSection } from './CardSection.vue' // 应用外壳组件 export { default as AppShell } from './AppShell.vue' -export { default as MobileNav } from './MobileNav.vue' export { default as SidebarNav } from './SidebarNav.vue' diff --git a/frontend/src/layouts/MainLayout.vue b/frontend/src/layouts/MainLayout.vue index 74b9c15..43a02bd 100644 --- a/frontend/src/layouts/MainLayout.vue +++ b/frontend/src/layouts/MainLayout.vue @@ -1,7 +1,7 @@ @@ -90,25 +90,156 @@ - - - + + + + + + + + + Aether + + Multi Private Gateway + + + + + + + + + + + + + + + + + + + + + + + + - - Aether - - - + + + + + + + {{ group.title }} + + + + + {{ item.name }} + + + + + + + + + + + {{ authStore.user?.username?.substring(0, 2).toUpperCase() }} + + + {{ authStore.user?.username }} + {{ authStore.user?.role === 'admin' ? '管理员' : '用户' }} + + + + + + + + + + + + + + + + @@ -158,7 +289,7 @@
- Aether -
- AI 控制中心 -