pages.json
3.9 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"easycom": {
// 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175
"custom": {
"^u-(.*)": "uview-plus/components/u-$1/u-$1.vue"
}
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/index/search",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/index/shopDetaile",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/index/allComment",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/class/class",
"style": {
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#fff"
}
},
{
"path": "pages/class/classList",
"style": {
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#fff"
}
},
{
"path": "pages/pointsMall/pointsMall",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/pointsMall/pointsDetaile",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/shopCar/shopCar",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/shopCar/confirmOrder",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/mine/mine",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/mine/myOrder",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/mine/orderDetail",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/mine/recharge",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/mine/evaluate",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/mine/myAddress",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/mine/newAddress",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/mine/myPoints",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/login/login",
"style": {
"navigationStyle": "custom"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F6F8FA"
},
"uniIdRouter": {},
"tabBar": {
"color": "#000000",
"selectedColor": "#FB753C", //tab 上的文字选中时的颜色
"borderStyle": "white", //tabbar 上边框的颜色,可选值 black/white
"backgroundColor": "#fff", //tab的背景色
"list": [
{
"pagePath": "pages/index/index", //页面路径,必须在pages中先定义
"iconPath": "static/tabbarsIc/index.png", //未选中图片路径
"selectedIconPath": "static/tabbarsIc/indexCheck.png", //选中时的图片路径
"text": "首页" //tab上按钮文字
},
{
"pagePath": "pages/class/class", //页面路径,必须在pages中先定义
"iconPath": "static/tabbarsIc/class.png", //未选中图片路径
"selectedIconPath": "static/tabbarsIc/classCheck.png", //选中时的图片路径
"text": "分类" //tab上按钮文字
},
{
"pagePath": "pages/pointsMall/pointsMall", //页面路径,必须在pages中先定义
"iconPath": "static/tabbarsIc/pointsMallIc.png", //未选中图片路径
"selectedIconPath": "static/tabbarsIc/pointsMallIcCheck.png", //选中时的图片路径
"text": "积分商城" //tab上按钮文字
},
{
"pagePath": "pages/shopCar/shopCar", //页面路径,必须在pages中先定义
"iconPath": "static/tabbarsIc/shopCar.png", //未选中图片路径
"selectedIconPath": "static/tabbarsIc/shopCarCheck.png", //选中时的图片路径
"text": "购物车" //tab上按钮文字
},
{
"pagePath": "pages/mine/mine",
"iconPath": "static/tabbarsIc/mine.png",
"selectedIconPath": "static/tabbarsIc/mineCheck.png",
"text": "我的"
}
]
}
}