pages.json
1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/market/index"
// "style": {
// "navigationBarTitleText": "首页"
// }
},{
"path": "pages/market/newsDetails",
"style": {
"navigationBarTitleText": "资讯详情",
"navigationStyle": "custom"
}
}
],
"tabBar": {
"selectedColor": "#333333",
"color": "#bfbfbf",
"list": [
{
"pagePath": "pages/market/index",
"text": "首页",
"iconPath": "/static/images/tabbar/index.png",
"selectedIconPath": "/static/images/tabbar/index-active.png"
},
{
"pagePath": "pages/category/category",
"text": "分类",
"iconPath": "/static/images/tabbar/category.png",
"selectedIconPath": "/static/images/tabbar/category-active.png"
},
{
"pagePath": "pages/cart/cart",
"text": "购物车",
"iconPath": "/static/images/tabbar/cart.png",
"selectedIconPath": "/static/images/tabbar/cart-active.png"
},
{
"pagePath": "pages/user/user",
"text": "我的",
"iconPath": "/static/images/tabbar/user.png",
"selectedIconPath": "/static/images/tabbar/user-active.png"
}
]
},
"globalStyle": {
"navigationStyle": "custom",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "yudao-ui-app",
"navigationBarBackgroundColor": "#ffffff",
"backgroundColor": "#ffffff"
}
}