pages.json
1.49 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
54
55
56
57
58
59
60
{
"easycom": {
"^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "uni-app"
}
}, {
"path": "pages/tabbar/user",
"style": {
"navigationBarTitleText": "我的",
"navigationStyle": "custom"
}
}, {
"path": "pages/auth/login",
"style": {
"navigationBarTitleText": "登录",
"navigationStyle":"custom",
"app-plus": {
"animationType": "slide-in-bottom"
}
}
}, {
"path" : "pages/set/userInfo",
"style" : {
"navigationBarTitleText": "个人资料"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"color": "#666",
"selectedColor": "#FF5A5F",
"borderStyle": "black",
"list": [{
"text": "首页",
"pagePath": "pages/index/index",
"iconPath": "static/tarbar/index.png",
"selectedIconPath": "static/tarbar/index-active.png"
}, {
"text": "商品",
"pagePath": "pages/product/list",
"iconPath": "static/tarbar/product.png",
"selectedIconPath": "static/tarbar/product-active.png"
}, {
"text": "我的",
"pagePath": "pages/tabbar/user",
"iconPath": "static/tarbar/ucenter.png",
"selectedIconPath": "static/tarbar/ucenter-active.png"
}]
}
}