style(header): 更新头部背景渐变色

- 将.header-bg的背景渐变色从绿色系更改为金色系
- 将.header-bg2的背景渐变色从绿色系更改为金色系

feat(routes): 添加gift路由配置

- 在app.config.ts中新增gift根路由配置
-为gift路由添加index页面配置
- 调整routes数组格式以提高可读性
This commit is contained in:
2025-09-25 00:27:50 +08:00
parent 87d6648989
commit a6b274d78d
2 changed files with 10 additions and 3 deletions

View File

@@ -34,6 +34,12 @@ export default {
"index" "index"
] ]
}, },
{
"root": "gift",
"pages": [
"index"
]
},
{ {
"root": "user", "root": "user",
"pages": [ "pages": [
@@ -87,7 +93,8 @@ export default {
'goodsDetail/index', 'goodsDetail/index',
'orderConfirm/index', 'orderConfirm/index',
'orderConfirmCart/index', 'orderConfirmCart/index',
'search/index'] 'search/index'
]
}, },
{ {
"root": "admin", "root": "admin",

View File

@@ -1,5 +1,5 @@
.header-bg{ .header-bg{
background: linear-gradient(to bottom, #03605c, #18ae4f); background: linear-gradient(to bottom, #FFD700, #FFA500);
height: 335px; height: 335px;
width: 100%; width: 100%;
top: 0; top: 0;
@@ -7,7 +7,7 @@
z-index: 0; z-index: 0;
} }
.header-bg2{ .header-bg2{
background: linear-gradient(to bottom, #03605c, #18ae4f); background: linear-gradient(to bottom, #FFD700, #FFA500);
height: 200px; height: 200px;
width: 100%; width: 100%;
top: 0; top: 0;