104 lines
2.7 KiB
JSON
104 lines
2.7 KiB
JSON
{
|
||
"pages": [
|
||
{ //首页
|
||
"path": "pages/index/index",
|
||
"style": {
|
||
"navigationBarTitleText": "首页",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{ //线路
|
||
"path": "pages/line/line",
|
||
"style": {
|
||
"navigationBarTitleText": "线路",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{ //GPS
|
||
"path": "pages/gps/gps",
|
||
"style": {
|
||
"navigationBarTitleText": "GPS",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{ //货物物流
|
||
"path" : "pages/cargo/cargo",
|
||
"style" : {
|
||
"navigationBarTitleText": "货物",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{ //登录
|
||
"path" : "pages/login/login",
|
||
"style" : {
|
||
"navigationBarTitleText": "登录",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
}
|
||
],
|
||
"subPackages": [
|
||
{ //A包
|
||
"root": "pagesA",
|
||
"pages": [
|
||
{ //新闻资讯列表
|
||
"path" : "news/news",
|
||
"style" : {
|
||
"navigationBarTitleText": "新闻资讯",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{ //新闻资讯详情
|
||
"path" : "news/detail",
|
||
"style" : {
|
||
"navigationBarTitleText": "新闻资讯",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{ //视频
|
||
"path":"video/video",
|
||
"style" : {
|
||
"navigationBarTitleText": "视频",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{ //视频播放
|
||
"path":"video/playVideo",
|
||
"style" : {
|
||
"navigationBarTitleText": "视频播放",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"preloadRule": {
|
||
"pages/index/index": {
|
||
"network": "all",
|
||
"packages": ["pagesA"]
|
||
}
|
||
},
|
||
"globalStyle": {
|
||
"navigationBarTextStyle": "white",
|
||
"navigationBarBackgroundColor": "#FFFFFF", //导航栏背景色
|
||
"navigationStyle": "custom", //禁用原生导航栏,微信小程序可用
|
||
"backgroundColor":"#FFFFFF",//下拉显示出来的窗口的背景色
|
||
"backgroundTextStyle":"light",//下拉 loading 的样式,仅支持 dark / light
|
||
"transparentTitle":"none",//导航栏整体(前景、背景)透明设置。支持 always 一直透明 / auto 滑动自适应 / none 不透明
|
||
"app-plus": {
|
||
"titleNView": false, //禁用原生导航栏,APP和H5可用
|
||
"bounce": "none",
|
||
"scrollIndicator": "none"
|
||
}
|
||
},
|
||
"condition" : { //模式配置,仅开发期间生效
|
||
"current": 0, //当前激活的模式(list 的索引项)
|
||
"list": [
|
||
{
|
||
"name": "", //模式名称
|
||
"path": "", //启动页面,必选
|
||
"query": "" //启动参数,在页面的onLoad函数里面得到
|
||
}
|
||
]
|
||
}
|
||
}
|