pages.json
3.6 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
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path" : "pages/realName/realName",
"style" :
{
"navigationBarTitleText" : "实名页面",
"navigationStyle": "custom"
}
},
{
"path" : "pages/login/login",
"style" :
{
"navigationBarTitleText" : "登录页面",
"navigationStyle": "custom"
}
},
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "客户首页",
"navigationStyle": "custom",
"enablePullDownRefresh": true
}
},
{
"path" : "pages/my/my",
"style" :
{
"navigationBarTitleText" : "客户信息",
"navigationStyle": "custom"
}
},
{
"path" : "pages/carDetail/carDetail",
"style" :
{
"navigationBarTitleText" : "车辆信息",
"navigationBarBackgroundColor": "#FFFFFF",
"navigationStyle": "custom"
}
},
{
"path" : "pages/privacy/privacy",
"style" :
{
"navigationBarTitleText" : "隐私政策"
}
},
{
"path" : "pages/companyHome/companyHome",
"style" :
{
"navigationBarTitleText" : "公司员工首页",
"navigationStyle": "custom",
"enablePullDownRefresh": true
}
},
{
"path" : "pages/companyMy/companyMy",
"style" :
{
"navigationBarTitleText" : "公司员工信息",
"navigationStyle": "custom"
}
},
{
"path" : "pages/ownerDetail/ownerDetail",
"style" :
{
"navigationBarTitleText" : "车主信息",
"navigationStyle": "custom"
}
},
{
"path" : "pages/societyHome/societyHome",
"style" :
{
"navigationBarTitleText" : "协会员工首页",
"navigationStyle": "custom",
"enablePullDownRefresh": true
}
},
{
"path" : "pages/societyMy/societyMy",
"style" :
{
"navigationBarTitleText" : "协会员工信息",
"navigationStyle": "custom"
}
},
{
"path" : "pages/employeeRealName/employeeRealName",
"style" :
{
"navigationBarTitleText" : "员工实名页面",
"navigationStyle": "custom"
}
},
{
"path" : "pages/societyOrder/societyOrder",
"style" :
{
"navigationBarTitleText" : "协会保单页",
"navigationStyle": "custom",
"enablePullDownRefresh": true
}
}
],
// 底部导航管理
"tabBar": {
"color": "#707070",
"selectedColor": "#3680FE",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "static/tabbarIcon/car.png",
"selectedIconPath": "static/tabbarIcon/car-active.png",
"text": "车辆管理"
},
{
"pagePath": "pages/my/my",
"iconPath": "static/tabbarIcon/my.png",
"selectedIconPath": "static/tabbarIcon/my-active.png",
"text": "我的"
}]
},
"easycom": {
"autoscan": true,
// 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175
"custom": {
"^u--(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
"^up-(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
"^u-([^-].*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue"
}
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {},
"condition" : { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [
{
"name": "test", //模式名称
"path": "pages/login/login", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
}
]
}
}