-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpages.json
53 lines (53 loc) · 1.3 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
{
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
"pages": [
{
"path": "pages/main-pack/index/index",
"style": {
"navigationBarTitleText": "uni-app",
"navigationBarTextStyle": "black"
}
}
],
"subPackages": [
{
"root": "pages/sub-pack-a",
"pages": [
{
"path": "rich-text/index",
"style": {
"navigationBarTitleText": "文本",
"navigationBarTextStyle": "black"
}
},
{
"path": "web-view/index",
"style": {
"navigationBarTextStyle": "black"
}
}
]
}
],
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于小程序位置接口的效果展示"
}
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#f2f2f2",
"navigationStyle": "custom"
},
"condition": {
//模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
}]
}
}