From 4f9cfffdad0ec461317070624492b870ef4d0da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BF=94?= Date: Mon, 23 Feb 2026 08:21:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E6=A0=8F=20active=20=E7=8A=B6=E6=80=81=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - NAVIGATION 数组顺序调整为与页面 Section 顺序一致 - 顺序: home → services → products → about → news → contact --- src/lib/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 5237893..88dec64 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -11,12 +11,12 @@ export const COMPANY_INFO = { address: '中国四川省成都市龙泉驿区幸福路12号', } as const; -// Navigation Items - 单页面锚点导航 +// Navigation Items - 单页面锚点导航(顺序必须与页面 Section 顺序一致) export const NAVIGATION = [ { id: 'home', label: '首页', href: '#home' }, - { id: 'about', label: '关于我们', href: '#about' }, { id: 'services', label: '核心业务', href: '#services' }, { id: 'products', label: '产品服务', href: '#products' }, + { id: 'about', label: '关于我们', href: '#about' }, { id: 'news', label: '新闻动态', href: '#news' }, { id: 'contact', label: '联系我们', href: '#contact' }, ] as const;