From 07b81351d935a9018552ce7ec5a2ea55d893aef7 Mon Sep 17 00:00:00 2001 From: fawney19 Date: Sat, 13 Dec 2025 22:26:23 +0800 Subject: [PATCH] refactor(frontend): optimize layout (remove MobileNav, enhance MainLayout) --- frontend/src/components/layout/MobileNav.vue | 127 ------------- frontend/src/components/layout/index.ts | 1 - frontend/src/layouts/MainLayout.vue | 188 ++++++++++++++++--- 3 files changed, 166 insertions(+), 150 deletions(-) delete mode 100644 frontend/src/components/layout/MobileNav.vue 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 @@ - - - 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 @@