Browse Source

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

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

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

- 在app.config.ts中新增gift根路由配置
-为gift路由添加index页面配置
- 调整routes数组格式以提高可读性
master
科技小王子 3 weeks ago
parent
commit
a6b274d78d
  1. 9
      src/app.config.ts
  2. 4
      src/pages/index/Header.scss

9
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",

4
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;

Loading…
Cancel
Save