-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathpages.json
120 lines (117 loc) · 2.95 KB
/
pages.json
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
{
"pages": [
{
"path": "pages/home/home",
"style": {
"navigationBarTitleText": "首页"
}
},
{
"path": "pages/home/webView",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "default"
}
},
{
"path": "pages/user/bindPhone",
"style": {
"navigationBarTitleText": "绑定手机号"
}
},
{
"path": "pages/user/forget",
"style": {
"navigationBarTitleText": "忘记密码"
}
},
{
"path": "pages/user/protocol",
"style": {
"navigationBarTitleText": "协议"
}
},
{
"path": "pages/user/register",
"style": {
"navigationBarTitleText": "注册"
}
},
{
"path": "pages/user/login",
"style": {
"navigationBarTitleText": "登录"
}
},
{
"path" : "pages/my/my",
"style" :
{
"navigationBarTitleText": "我的",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/shopCar/shopCar",
"style" :
{
"navigationBarTitleText": "购物车",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/order/order",
"style" :
{
"navigationBarTitleText": "订单",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#FFFFFF",
"navigationStyle": "custom"
},
"tabBar": {
"color": "#444444",
"selectedColor": "#FF80AB",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/home/home",
"iconPath": "static/icon/tab/icon_home.png",
"selectedIconPath": "static/icon/tab/icon_home_c.png",
"text": "首页"
},
{
"pagePath": "pages/shopCar/shopCar",
"iconPath": "static/icon/tab/icon_wode.png",
"selectedIconPath": "static/icon/tab/icon_wode_c.png",
"text": "购物车"
},
{
"pagePath": "pages/order/order",
"iconPath": "static/icon/tab/icon_xiaoxi.png",
"selectedIconPath": "static/icon/tab/icon_xiaoxi_c.png",
"text": "订单"
},
{
"pagePath": "pages/my/my",
"iconPath": "static/icon/tab/icon_xiaoxi.png",
"selectedIconPath": "static/icon/tab/icon_xiaoxi_c.png",
"text": "我的"
}
]
},
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
}]
}
}