-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpages.json
executable file
·58 lines (57 loc) · 1.68 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
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
// "navigationBarTitleText": "出入库管家"
// "app-plus": {
// "titleNView": false
// } // 隐藏导航栏
}
}, {
"path": "pages/main/main",
"style": {
}
}, {
"path": "pages/admin/admin",
"style": {}
}
,{
"path" : "pages/admin/user",
"style": {
}
}
],
"globalStyle": {
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"navigationBarTextStyle": "white",
"navigationStyle": "custom" //忽略状态栏和导航栏
},
"easycom": { //easycom组件模式(无需手动引入,开发工具自带智能感知)
"autoscan": true,
"custom": {
"tui-(.*)": "@/components/ThorUI-uni-components/thorui/tui-$1/tui-$1.vue"
}
},
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "首页", //模式名称
"path": "pages/index/index", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
},{
"name": "管理员界面", //模式名称
"path": "pages/admin/admin", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
}, {
"name": "普通用户界", //模式名称
"path": "pages/main/main", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
},{
"name": "用户管理页",
"path": "pages/admin/user",
"query": ""
}]
}
}