-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpages.json
127 lines (127 loc) · 2.58 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "首页"
}
},{
"path": "pages/login/index",
"style": {
"navigationBarTitleText": "登录"
}
},
{
"path": "pages/category/index",
"style": {
"navigationBarTitleText": "分类"
}
},
{
"path": "pages/car/index",
"style": {
"navigationBarTitleText": "购物车"
}
},
{
"path": "pages/my/index",
"style": {
"navigationBarTitleText": "我的"
}
},
{
"path": "pages/register/index",
"style": {
"navigationBarTitleText": "注册"
}
}
],
"subPackages": [{
"root": "pagesShop",
"pages": [{
"path": "details/index",
"style": {
"navigationBarTitleText": "详情"
}
}]
}, {
"root": "pagesUser",
"pages": [{
"path": "details/index",
"style": {
"navigationBarTitleText": "详情"
}
}]
},{
"root": "pagesExample",
"pages": [{
"path": "echarts",
"style": {
"navigationBarTitleText": "echarts"
}
},
{
"path": "ucharts",
"style": {
"navigationBarTitleText": "ucharts"
}
},
{
"path": "map",
"style": {
"navigationBarTitleText": "map"
}
}]
}
],
"tabBar": {
"color": "#707070",
"selectedColor": "#1296db",
"backgroundColor": "#ffffff",
"borderStyle": "white",
"height": "60px",
"list": [{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "static/img/tab-01.png",
"selectedIconPath": "static/img/tabSel-01.png"
},
{
"pagePath": "pages/category/index",
"text": "分类",
"iconPath": "static/img/tab-02.png",
"selectedIconPath": "static/img/tabSel-02.png"
},
{
"pagePath": "pages/car/index",
"text": "购物车",
"iconPath": "static/img/tab-03.png",
"selectedIconPath": "static/img/tabSel-03.png"
},
{
"pagePath": "pages/my/index",
"text": "我的",
"iconPath": "static/img/tab-04.png",
"selectedIconPath": "static/img/tabSel-04.png"
}
]
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {},
"easycom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
}]
}
}