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(() => [