From d18d062ab30099300fe21f67cf8dc115d1bdddd0 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Wed, 22 Oct 2025 16:32:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E8=88=AA=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/css/main.css | 16 +++---- app/components/AppHeader.vue | 31 ++++++------ app/components/landing/Hero.vue | 83 ++++++++++++++++++++++----------- 3 files changed, 81 insertions(+), 49 deletions(-) diff --git a/app/assets/css/main.css b/app/assets/css/main.css index 66e727a..123a54d 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -2,14 +2,12 @@ @import "@nuxt/ui"; +/*:root {*/ +/* --ui-container: var(--container-4xl);*/ - -:root { - --ui-container: var(--container-4xl); - - ::selection { - color: #282a30; - background-color: #c8c8c8; - } -} +/* !*::selection {*!*/ +/* !* color: #282a30;*!*/ +/* !* background-color: #c8c8c8;*!*/ +/* !*}*!*/ +/*}*/ diff --git a/app/components/AppHeader.vue b/app/components/AppHeader.vue index 2dc991b..14e7ce1 100644 --- a/app/components/AppHeader.vue +++ b/app/components/AppHeader.vue @@ -10,7 +10,7 @@ const items = computed(() => [{ active: route.path.startsWith('/docs/getting-started') }, { label: '产品与服务', - + icon: 'i-lucide-box', active: route.path.startsWith('/docs/components'), children: [ @@ -40,27 +40,32 @@ const items = computed(() => [{ to: '/docs/components', icon: 'i-lucide-box', active: route.path.startsWith('/docs/components') -}, { - label: '联系我们', - to: '/docs/components', - icon: 'i-lucide-box', - active: route.path.startsWith('/docs/components') -},]) +}, + { + label: '联系我们', + to: '/docs/components', + icon: 'i-lucide-box', + active: route.path.startsWith('/docs/components') + }, +])