-
Notifications
You must be signed in to change notification settings - Fork 0
/
pages.json
75 lines (73 loc) · 1.62 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
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
// 页面级的配置文件会覆盖全局配置
"navigationBarTitleText": "首页"
}
},
{
"path":"pages/message/message",
"style":{
"navigationBarTitleText":"信息页"
}
},
{
"path":"pages/contact/contact"
},
{
"path":"pages/detail/detail"
}
,{
"path" : "pages/settings/settings",
"style" :
{
"navigationBarTitleText": "设置",
"enablePullDownRefresh": false
}
}
],
// 全局配置
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
"enablePullDownRefresh":true
},
"tabBar":{
"color":"#A0522D",
"selectedColor":"#4CD964",
"list":[
{
"text":"首页",
"pagePath":"pages/index/index",
"iconPath":"static/logo.png",
"selectedIconPath":"static/logo.png"
},
{
"text":"信息",
"pagePath":"pages/message/message",
"iconPath":"static/logo.png",
"selectedIconPath":"static/logo.png"
},
{
"text":"我们",
"pagePath":"pages/contact/contact",
"iconPath":"static/logo.png",
"selectedIconPath":"static/logo.png"
}
]
},
"condition":{
"current":0,
"list":[
{
"name":"详情页",
"path":"pages/detail/detail",
"query":"id=80"
}
]
}
}