forked from zhouwei1994/uni-app-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpages.json
84 lines (83 loc) · 1.75 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
{
"pages": [
{
"path": "pages/home/home",
"style": {
"navigationBarTitleText": "确报"
}
},
{
"path": "pages/service/service",
"style": {
"navigationBarTitleText": "自助服务"
}
},
{
"path": "pages/my/my",
"style": {
"navigationBarTitleText": "个人中心"
}
},
{
"path": "pages/user/bind",
"style": {
"navigationBarTitleText": "绑定"
}
},
{
"path": "pages/user/protocol",
"style": {
"navigationBarTitleText": "协议"
}
},
{
"path": "pages/home/webView",
"style": {
"navigationBarTitleText": ""
}
}
],
"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/service/service",
"iconPath": "static/icon/tab/icon_wode.png",
"selectedIconPath": "static/icon/tab/icon_wode_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函数里面得到
}
]
}
}