-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpages.json
More file actions
103 lines (103 loc) · 2.29 KB
/
pages.json
File metadata and controls
103 lines (103 loc) · 2.29 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
{
//组件自动引入规则 https://uniapp.dcloud.net.cn/collocation/pages.html#easycom
"easycom": {
"autoscan": true,
"custom": {
"^x-(.*)": "@/components/x-$1/index.vue"
}
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
"enablePullDownRefresh": false
},
"pages": [
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "uni-app"
}
},
{
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom"
}
},
{
"path": "pages/404/404",
"style": {
"navigationBarTitleText": "404",
"navigationStyle": "custom"
}
},
{
"path": "pages/webview/webview",
"style": {
"navigationBarTitleText": ""
}
},
{
"path": "pages/demo/demo",
"style": {
"navigationBarTitleText": "扩展"
}
},
{
"path": "pages/demo/z-paging",
"style": {
"navigationBarTitleText": "z-paging"
}
}
],
"subPackages": [
{
"root": "pagesA",
"pages": [
{
"path": "test/test",
"style": {
"navigationBarTitleText": "分包A",
"enablePullDownRefresh": true
},
"needLogin": true
}
]
}
],
"preloadRule": {
"pages/index/index": {
"network": "wifi",
"packages": ["pagesA"]
},
"pagesA/test/test": {
"network": "all",
"packages": ["__APP__"]
}
},
"tabBar": {
"color": "#999999",
"selectedColor": "#5AC725",
"backgroundColor": "#F8F8F8",
"position": "bottom",
"borderStyle": "black",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "static/tabbar/index.png",
"selectedIconPath": "static/tabbar/index_HL.png",
"text": "首页"
},
{
"pagePath": "pages/demo/demo",
"iconPath": "static/tabbar/demo.png",
"selectedIconPath": "static/tabbar/demo_HL.png",
"text": "扩展功能"
}
]
}
}