diff --git a/app/components/AppHeader.vue b/app/components/AppHeader.vue index fdc6255..89883cd 100644 --- a/app/components/AppHeader.vue +++ b/app/components/AppHeader.vue @@ -40,23 +40,23 @@ const items = computed(() => [{ }, { label: '应用实例', - to: 'https://go.nuxt.com/figma-ui', - target: '_blank' + to: '/example', + active: route.path.startsWith('/example') }, { label: '典型案例', - to: 'https://github.com/nuxt/ui/releases', - target: '_blank' + to: '/classic', + active: route.path.startsWith('/classic') }, { label: '新闻资讯', - to: '/docs/components', + to: '/news', - active: route.path.startsWith('/docs/components') + active: route.path.startsWith('/news') }, { label: '关于我们', - to: '/docs/components', + to: '/about', - active: route.path.startsWith('/docs/components') + active: route.path.startsWith('/about') }, { label: '联系我们', @@ -68,19 +68,19 @@ const items = computed(() => [{ label: '后台管理', to: '/contact', - active: route.path.startsWith('/123') + active: route.path.startsWith('/admin') }, ]) +//:ui="headerUI" +//:ui="{link: 'text-white text-lg font-bold '}"