From 36cead255e30045d1f95469e0f221181651ac589 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Tue, 30 Sep 2025 14:15:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=B4=E9=83=A8=E5=AF=BC=E8=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/AppHeader.vue | 37 ++++++++++++++++++----------- app/layouts/default.vue | 12 ++++------ app/pages/sharedSolutions/eBike.vue | 17 +++++++++++++ app/utils/links.ts | 23 ------------------ 4 files changed, 45 insertions(+), 44 deletions(-) create mode 100644 app/pages/sharedSolutions/eBike.vue delete mode 100644 app/utils/links.ts diff --git a/app/components/AppHeader.vue b/app/components/AppHeader.vue index adfb11c..68d7ac7 100644 --- a/app/components/AppHeader.vue +++ b/app/components/AppHeader.vue @@ -6,13 +6,32 @@ const route = useRoute() const items = computed(() => [ { label: '首页', - to: '/docs/getting-started', - active: route.path.startsWith('/docs/getting-started') + to: '/', + }, { label: '共享解决方案', - to: '/docs/components', - active: route.path.startsWith('/docs/components') + + active: route.path.startsWith('/sharedSolutions'), + children: [ + { + label: '共享电动车', + icon: 'i-lucide-file-text', + description: '通过扫码开锁,循环共享', + to: '/sharedSolutions/eBike', + }, { + label: '共享电动车', + icon: 'i-lucide-file-text', + description: '通过扫码开锁,循环共享', + to: '/sharedSolutions/eBike', + }, { + label: '共享电动车', + icon: 'i-lucide-file-text', + description: '通过扫码开锁,循环共享', + to: '/sharedSolutions/eBike', + }, + + ] }, { label: '行业解决方案', @@ -52,16 +71,6 @@ const items = computed(() => [