From cd17bd49ec80a75273a55f6a27bd99e4f551200c Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Fri, 24 Oct 2025 15:55:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=8E=9F=E7=94=9F=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/AppHeader.vue | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) 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 '}"