From a6b274d78d923288c7eb6ebe087954aa08e0af0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Thu, 25 Sep 2025 00:27:50 +0800 Subject: [PATCH] =?UTF-8?q?style(header):=20=E6=9B=B4=E6=96=B0=E5=A4=B4?= =?UTF-8?q?=E9=83=A8=E8=83=8C=E6=99=AF=E6=B8=90=E5=8F=98=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将.header-bg的背景渐变色从绿色系更改为金色系 - 将.header-bg2的背景渐变色从绿色系更改为金色系 feat(routes): 添加gift路由配置 - 在app.config.ts中新增gift根路由配置 -为gift路由添加index页面配置 - 调整routes数组格式以提高可读性 --- src/app.config.ts | 9 ++++++++- src/pages/index/Header.scss | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/app.config.ts b/src/app.config.ts index 8496b4d..3f49c23 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -34,6 +34,12 @@ export default { "index" ] }, + { + "root": "gift", + "pages": [ + "index" + ] + }, { "root": "user", "pages": [ @@ -87,7 +93,8 @@ export default { 'goodsDetail/index', 'orderConfirm/index', 'orderConfirmCart/index', - 'search/index'] + 'search/index' + ] }, { "root": "admin", diff --git a/src/pages/index/Header.scss b/src/pages/index/Header.scss index d206e3b..94cb1b6 100644 --- a/src/pages/index/Header.scss +++ b/src/pages/index/Header.scss @@ -1,5 +1,5 @@ .header-bg{ - background: linear-gradient(to bottom, #03605c, #18ae4f); + background: linear-gradient(to bottom, #FFD700, #FFA500); height: 335px; width: 100%; top: 0; @@ -7,7 +7,7 @@ z-index: 0; } .header-bg2{ - background: linear-gradient(to bottom, #03605c, #18ae4f); + background: linear-gradient(to bottom, #FFD700, #FFA500); height: 200px; width: 100%; top: 0;