-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpages.json
84 lines (83 loc) · 1.92 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
{
"easycom": {
"autoscan": true,
"custom":{
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
}
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "uni-app"
}
}
,{
"path" : "pages/login/login",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
],
// "subPackages":[
// {
// "root":"分包地址",
// "pages":[
// {
// "path":"root下的页面地址",
// "style" :
// {
// "navigationBarTitleText": "",
// "enablePullDownRefresh": false
// }
// }
// ]
// }
// ],
// "preloadRule": {
// "pagesA/list/list": {
// "network": "all",
// "packages": ["__APP__"]
// },
// "pagesB/detail/detail": {
// "network": "all",
// "packages": ["pagesA"]
// }
// },
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#ff5500",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "static/logo.png",
"selectedIconPath": "static/logo.png",
"text": "首页"
},
{
"pagePath": "pages/login/login",
"iconPath": "static/logo.png",
"selectedIconPath": "static/logo.png",
"text": "登录"
}
]
// "midButton": {
// "width": "150rpx",
// "height": "150rpx",
// "text": "xxxx",
// "iconPath": "/static/logo.png",
// "iconWidth": "116rpx"
// //tabbar的list长度必须对称,比如2,4,图片一般找圆的
// }
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
}