pages.json
2.7 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"easycom": {
"autoscan": true,
"custom": {
"^uv-(.*)": "@climblee/uv-ui/components/uv-$1/uv-$1.vue"
}
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "uni-app"
}
}, {
"path": "pages/shopping/shopping",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/bubbles/bubbles",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/mine/mine",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/mine/mine-popularityInfo/mine-popularityInfo",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/mine/mine-coupon/mine-coupon",
"style": {
"navigationBarTitleText": "我的卡券",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#fff"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {},
"tabBar": {
"color": "#858E97",
"selectedColor": "#004F90", //tab 上的文字选中时的颜色
"borderStyle": "white", //tabbar 上边框的颜色,可选值 black/white
"backgroundColor": "#ffffff", //tab的背景色
"list": [{
"pagePath": "pages/index/index", //页面路径,必须在pages中先定义
"iconPath": "static/images/tabbar/home.png", //未选中图片路径
"selectedIconPath": "static/images/tabbar/home-active.png", //选中时的图片路径
"text": "首页" //tab上按钮文字
},
{
"pagePath": "pages/shopping/shopping",
"iconPath": "static/images/tabbar/service.png", //未选中图片路径
"selectedIconPath": "static/images/tabbar/service-active.png", //选中时的图片路径
"text": "超级泡泡"
},
{
"pagePath": "pages/bubbles/bubbles", //页面路径,必须在pages中先定义
"iconPath": "static/images/tabbar/forum.png", //未选中图片路径
"selectedIconPath": "static/images/tabbar/forum-active.png", //选中时的图片路径
"text": "购物袋" //tab上按钮文字
},
{
"pagePath": "pages/mine/mine", //页面路径,必须在pages中先定义
"iconPath": "static/images/tabbar/mine.png", //未选中图片路径
"selectedIconPath": "static/images/tabbar/mine-active.png", //选中时的图片路径
"text": "我的" //tab上按钮文字
}
]
}
}