pages.json
2.1 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
{
"easycom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "首页",
"navigationStyle": "custom"
}
},
{
"path": "pages/filtrate/performanceCalender",
"style": {
"navigationBarTitleText": "演出日历"
}
},
{
"path": "pages/optimization/dramaOptimization",
"style": {
"navigationBarTitleText": "大戏优选"
}
},
{
"path": "pages/my/my",
"style": {
"navigationBarTitleText": "我的"
}
}
],
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#FF324B", //tab 上的文字选中时的颜色
"borderStyle": "white", //tabbar 上边框的颜色,可选值 black/white
"backgroundColor": "#fff", //tab的背景色
"list": [{
"pagePath": "pages/index/index", //页面路径,必须在pages中先定义
"iconPath": "static/2-1筛选-分类/ic-tabbar-home-n@2x.png", //未选中图片路径
"selectedIconPath": "static/1-1首页/ic-tabbar-home-s@2x.png", //选中时的图片路径
"text": "首页" //tab上按钮文字
}, {
"pagePath": "pages/filtrate/performanceCalender",
"iconPath": "static/1-1首页/ic-tabbar-find-n@2x.png",
"selectedIconPath": "static/2-1筛选-分类/ic-tabbar-find-s@2x.png",
"text": "演出日历"
}, {
"pagePath": "pages/optimization/dramaOptimization",
"iconPath": "static/1-1首页/ic-tabbar-oder-n@2x.png",
"selectedIconPath": "static/3-1大戏优选/ic-tabbar-oder-s@2x.png",
"text": "大戏优选"
}, {
"pagePath": "pages/my/my",
"iconPath": "static/1-1首页/ic-tabbar-my-n@2x.png",
"selectedIconPath": "static/4-1我的/ic-tabbar-home-s@2x.png",
"text": "我的"
}]
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {}
}