367 lines
9.4 KiB
JSON
367 lines
9.4 KiB
JSON
{
|
||
"pages": [
|
||
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||
{
|
||
"path": "pages/index/index",
|
||
"style": {
|
||
"navigationBarTitleText": "汾西小流域面源污染监测",
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/loginindex",
|
||
"style": {
|
||
"navigationBarTitleText": "请登录",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/maps/index",
|
||
"style": {
|
||
"navigationBarTitleText": "站点地图",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/user/people",
|
||
"style": {
|
||
"navigationBarTitleText": "我的",
|
||
"navigationStyle": "custom"
|
||
}
|
||
}
|
||
],
|
||
"subPackages": [{
|
||
"root": "packDetail",
|
||
"pages": [
|
||
{
|
||
"path": "pages/login/login",
|
||
"style": {
|
||
"navigationBarTitleText": "登录",
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/waste/index",
|
||
"style": {
|
||
"navigationBarTitleText": "农业废弃物",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/waste/detail",
|
||
"style": {
|
||
"navigationBarTitleText": "农业废弃物详情",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/waste/add",
|
||
"style": {
|
||
"navigationBarTitleText": "新增农业废弃物",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/waste/edit",
|
||
"style": {
|
||
"navigationBarTitleText": "编辑农业废弃物",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/fwtz/index",
|
||
"style": {
|
||
"navigationBarTitleText": "粪污台账",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/fwtz/detail",
|
||
"style": {
|
||
"navigationBarTitleText": "粪污台账详情",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/fwtz/add",
|
||
"style": {
|
||
"navigationBarTitleText": "新增粪污台账",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/fwtz/edit",
|
||
"style": {
|
||
"navigationBarTitleText": "编辑粪污台账",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/Site/index",
|
||
"style": {
|
||
"navigationBarTitleText": "站点管理",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/Site/detail",
|
||
"style": {
|
||
"navigationBarTitleText": "站点管理",
|
||
"navigationStyle": "custom",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/Site/sjdetail",
|
||
"style": {
|
||
"navigationBarTitleText": "站点管理",
|
||
"navigationStyle": "custom",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/vidio/index",
|
||
"style": {
|
||
"navigationBarTitleText": "设备管理",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/vidio/soilindex",
|
||
"style": {
|
||
"navigationBarTitleText": "长期定位监测点位",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/vidio/detail",
|
||
"style": {
|
||
"navigationBarTitleText": "土壤监测",
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/operations/index",
|
||
"style": {
|
||
"navigationBarTitleText": "站点运维",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/operations/detail",
|
||
"style": {
|
||
"navigationBarTitleText": "站点运维详情",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/operations/add",
|
||
"style": {
|
||
"navigationBarTitleText": "新增站点运维",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/operations/edit",
|
||
"style": {
|
||
"navigationBarTitleText": "编辑站点运维",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/operations/list",
|
||
"style": {
|
||
"navigationBarTitleText": "选择人员",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/analysis/index",
|
||
"style": {
|
||
"navigationBarTitleText": "统计分析",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/userzl/index",
|
||
"style": {
|
||
"navigationBarTitleText": "个人资料",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/sjdyj/index",
|
||
"style": {
|
||
"navigationBarTitleText": "预警信息",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"root": "packDetail1",
|
||
"pages": [
|
||
{
|
||
"path": "pages/device/index",
|
||
"style": {
|
||
"navigationBarTitleText": "视频监控",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
// "usingComponents": {
|
||
// "home": "/wxcomponents/pages/home/home" // 这个路径就是引入进来的原生代码
|
||
// }
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/device/index1",
|
||
"style": {
|
||
"navigationBarTitleText": "视频监控",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
// "usingComponents": {
|
||
// "deviceScan": "/wxcomponents/experienceDevice/experienceDevice" // 这个路径就是引入进来的原生代码
|
||
// }
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/device/index2",
|
||
"style": {
|
||
"navigationBarTitleText": "视频监控",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
// "usingComponents": {
|
||
// "queryDevice": "/wxcomponents/pages/queryDevice/queryDevice" // 这个路径就是引入进来的原生代码
|
||
// }
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/device/index3",
|
||
"style": {
|
||
"navigationBarTitleText": "视频监控",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
// "usingComponents": {
|
||
// "index": "/wxcomponents/pages/index/index" // 这个路径就是引入进来的原生代码
|
||
// }
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/device/index4",
|
||
"style": {
|
||
"navigationBarTitleText": "视频监控",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
// "usingComponents": {
|
||
// "index": "/wxcomponents/pages/index/index" // 这个路径就是引入进来的原生代码
|
||
// }
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/device/playback",
|
||
"style": {
|
||
"navigationBarTitleText": "视频监控",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
// "usingComponents": {
|
||
// "index": "/wxcomponents/pages/index/index" // 这个路径就是引入进来的原生代码
|
||
// }
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/operations/list",
|
||
"style": {
|
||
"navigationBarTitleText": "选择人员",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/about/index",
|
||
"style": {
|
||
"navigationBarTitleText": "关于我们",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/changemm/index",
|
||
"style": {
|
||
"navigationBarTitleText": "修改密码",
|
||
"navigationStyle": "default",
|
||
"navigationBarBackgroundColor":"#0F6EFF"
|
||
}
|
||
}
|
||
]
|
||
}],
|
||
"tabBar": {
|
||
"color": "#93979F",
|
||
"selectedColor": "#333333",
|
||
"borderStyle": "white",
|
||
"backgroundColor": "#ffffff",
|
||
"iconWidth":"24px",
|
||
"list": [{
|
||
"pagePath": "pages/index/index",
|
||
"iconPath": "static/tab_home_home.png",
|
||
"selectedIconPath": "static/tab_home_home_sel.png",
|
||
"text": "首页"
|
||
}, {
|
||
"pagePath": "pages/maps/index",
|
||
"iconPath": "static/tab_home_zhandian.png",
|
||
"selectedIconPath": "static/tab_home_zhandian_sel.png",
|
||
"text": "站点地图"
|
||
},
|
||
{
|
||
"pagePath": "pages/user/people",
|
||
"iconPath": "static/tab_home_me.png",
|
||
"selectedIconPath": "static/tab_home_me_sel.png",
|
||
"text": "我的"
|
||
}
|
||
]
|
||
},
|
||
"globalStyle": {
|
||
"mp-alipay": {
|
||
/* 支付宝小程序特有相关 */
|
||
"transparentTitle": "always",
|
||
"allowsBounceVertical": "NO"
|
||
},
|
||
// "navigationBarTextStyle": "black",
|
||
"navigationBarBackgroundColor": "#FFFFFF"
|
||
},
|
||
// "usingComponts": true,
|
||
// "condition": { //模式配置,仅开发期间生效
|
||
// "current": 0, //当前激活的模式(list 的索引项)
|
||
// "list": [{
|
||
// "name": "表单", //模式名称
|
||
// "path": "pages/index/index", //启动页面
|
||
// "query": "" //启动参数
|
||
// }]
|
||
// },
|
||
"preloadRule": {
|
||
"pages/index/index": {
|
||
"network": "all",
|
||
"packages": ["packDetail"]
|
||
}
|
||
}
|
||
}
|