-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpages.json
More file actions
62 lines (60 loc) · 1.49 KB
/
pages.json
File metadata and controls
62 lines (60 loc) · 1.49 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
{
"easycom": {
"autoscan": true,
"custom": {
"^uni-(.*)": "@/components/uni-$1.vue", // 匹配components目录内的vue文件
"^vue-file-(.*)": "packageName/path/to/vue-file-$1.vue", // 匹配node_modules内的vue文件
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
}
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/login",
"style": {}
}, {
"path": "pages/login-form",
"style": {}
},{
"path": "pages/home",
"style": {}
}, {
"path": "pages/my",
"style": {}
}, {
"path": "pages/device",
"style": {}
}, {
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
],
"tabBar": {
"color": "#808080",
"selectedColor": "#00c2c4",
"list": [{
"pagePath": "pages/home",
"text": "首页",
"iconPath": "static/tab_button_home_nor.png",
"selectedIconPath": "static/tab_button_home_sel.png"
}, {
"pagePath": "pages/device",
"text": "设备",
"iconPath": "static/tab_button_car_nor.png",
"selectedIconPath": "static/tab_button_car_sel.png"
}, {
"pagePath": "pages/my",
"text": "我的",
"iconPath": "static/tab_button_mine_nor.png",
"selectedIconPath": "static/tab_button_mine_sel.png"
}]
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "临e家",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
}