-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpages.json
104 lines (104 loc) · 2.26 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/home/home",
"style": {
"app-plus": {
"titleNView": false //禁用原生导航栏
}
}
},
{
"path": "pages/movies/movies",
"style": {
"app-plus": {
"titleNView": false
}
}
},
{
"path": "pages/dynamic/dynamic",
"style": {
"app-plus": {
"titleNView": false
}
}
},
{
"path": "pages/my/my",
"style": {
"app-plus": {
"titleNView": false
}
}
}, {
"path": "pages/search/search",
"style": {
"navigationBarTitleText": " ",
"navigationBarBackgroundColor": "white"
}
}, {
"path": "pages/login/login",
"style": {
"app-plus": {
"titleNView": false
}
}
}, {
"path": "pages/comment/comment",
"style": {
"navigationBarTitleText": "你喜欢的电影类型",
"navigationBarBackgroundColor": "white"
}
}
,{
"path" : "pages/detail/detail",
"style" : {
"app-plus": {
"titleNView": false
}
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "轻影",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"color": "#999999",
"selectedColor": "#333333",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/home/home",
"iconPath": "static/home.png",
"selectedIconPath": "static/home_selected.png",
"text": "首页"
}, {
"pagePath": "pages/movies/movies",
"iconPath": "static/movies.png",
"selectedIconPath": "static/movies_selected.png",
"text": "电影"
}, {
"pagePath": "pages/dynamic/dynamic",
"iconPath": "static/dynamic.png",
"selectedIconPath": "static/dynamic_selected.png",
"text": "动态"
}, {
"pagePath": "pages/my/my",
"iconPath": "static/my.png",
"selectedIconPath": "static/my_selected.png",
"text": "我的"
}]
},
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
}]
}
}