-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpages.json
40 lines (39 loc) · 968 Bytes
/
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
{
"pages": [{
"path": "pages/cover/cover",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "天气可视化",
"enablePullDownRefresh": true,
"backgroundColorBottom":"#f5f5f5"
}
},
{
"path": "pages/city/city",
"style": {
"navigationBarTitleText": "选择城市"
}
}
],
"globalStyle": {
"navigationBarTitleText": "天气可视化",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#7dbbfa",
"backgroundColor": "#FFFFFF",
"backgroundColorBottom":"#f5f5f5"
},
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项) 表示第一项
"list": [{
"name": "debug", //模式名称
"path": "pages/index/index" //启动页面,必选
// "query": //启动参数,在页面的onLoad函数里面得到。
}]
}
}