-
Notifications
You must be signed in to change notification settings - Fork 1
/
pages.json
87 lines (87 loc) · 2.1 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
{
"pages": [ //pages数组中第一项表示应用启动页,
{
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "登录"
}
},
{
"path": "pages/main/index",
"style": {
"navigationBarTitleText": "主页"
}
},{
"path": "pages/admin/company",
"style": {
"navigationBarTitleText": "企业管理"
}
},{
"path": "pages/admin/vehicle",
"style": {
"navigationBarTitleText": "车辆管理"
}
},{
"path": "pages/admin/driver",
"style": {
"navigationBarTitleText": "驾驶员管理"
}
},
{
"path": "pages/reg/reg",
"style": {
"navigationBarTitleText": "注册"
}
}, {
"path": "pages/pwd/pwd",
"style": {
"navigationBarTitleText": "找回密码"
}
}, {
"path": "pages/user/user",
"style": {
"navigationBarTitleText": "我的"
}
}
],
"tabBar": {
"color": "#7a7e83",
"selectedColor": "#0faeff",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/main/index",
"text": "首页",
"iconPath": "static/img/home.png",
"selectedIconPath": "static/img/homeHL.png"
}, {
"pagePath": "pages/user/user",
"text": "我的",
"iconPath": "static/img/user.png",
"selectedIconPath": "static/img/userHL.png"
}]
},
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#0faeff",
"backgroundColor": "#fbf9fe",
"usingComponents": {
"van-search": "/wxcomponents/vant-weapp/search/index",
"van-field": "/wxcomponents/vant-weapp/field/index",
"van-cell-group": "/wxcomponents/vant-weapp/cell-group/index",
"van-button": "/wxcomponents/vant-weapp/button/index",
"van-cell": "/wxcomponents/vant-weapp/cell/index",
"van-grid": "/wxcomponents/vant-weapp/grid/index",
"van-grid-item": "/wxcomponents/vant-weapp/grid-item/index",
"van-popup": "/wxcomponents/vant-weapp/popup/index",
"van-image": "/wxcomponents/vant-weapp/image/index"
}
},
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "test",
"path": "pages/admin/driver"
}
]
}
}