263 lines
6.5 KiB
JSON
263 lines
6.5 KiB
JSON
{
|
||
"easycom": {
|
||
// 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175
|
||
"custom": {
|
||
"^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
|
||
"^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
|
||
"^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
|
||
}
|
||
},
|
||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||
{
|
||
"path": "pages/index/index",
|
||
|
||
"style": {
|
||
"navigationBarTitleText": "地块",
|
||
"navigationStyle": "custom",
|
||
"enablePullDownRefresh": true,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "black"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/index/massif",
|
||
"style": {
|
||
"navigationStyle": "custom",
|
||
"enablePullDownRefresh": true
|
||
}
|
||
},
|
||
// 和撒旦发射点恢复健康快点发货速度较快live harvest
|
||
{
|
||
"path": "pages/landDetail/index",
|
||
"style": {
|
||
"navigationBarTitleText": "土地详情",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/landDetail/tudi",
|
||
"style": {
|
||
"navigationBarTitleText": "种植详情",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/husbandryForm/harvest",
|
||
"style": {
|
||
"navigationBarTitleText": "添加收获信息",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/husbandryForm/Pest",
|
||
"style": {
|
||
"navigationBarTitleText": "添加虫害防治信息",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/husbandryForm/irrigate",
|
||
"style": {
|
||
"navigationBarTitleText": "添加灌溉信息",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/husbandryForm/weeding",
|
||
"style": {
|
||
"navigationBarTitleText": "添加除草信息",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/husbandryForm/fertilize",
|
||
"style": {
|
||
"navigationBarTitleText": "添加施肥信息",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/husbandryForm/sow",
|
||
"style": {
|
||
"navigationBarTitleText": "添加种植信息",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/live/live",
|
||
"style": {
|
||
"navigationBarTitleText": "苗情监测",
|
||
// "navigationStyle": "custom",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white",
|
||
"app-plus": {
|
||
"subNVues": [{
|
||
"path": "pages/live/loading", //路径地址
|
||
"id": "subNvue", //唯一id,一个页面下最多三个最好,否则影响性能
|
||
// "type": "popup" 如果是弹窗可开启
|
||
//这个是初始样式,当然初始想隐藏的话,这个不重要
|
||
"style": {
|
||
"width": "100%",
|
||
"height": "100%",
|
||
"position": "absolute"
|
||
|
||
|
||
}
|
||
}]
|
||
}
|
||
|
||
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/live/liveIos",
|
||
"style": {
|
||
"navigationBarTitleText": "苗情监测",
|
||
// "navigationStyle": "custom",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white",
|
||
"app-plus": {
|
||
"subNVues": [{
|
||
"path": "pages/live/loading", //路径地址
|
||
"id": "subNvueIos", //唯一id,一个页面下最多三个最好,否则影响性能
|
||
// "type": "popup" 如果是弹窗可开启
|
||
//这个是初始样式,当然初始想隐藏的话,这个不重要
|
||
"style": {
|
||
"width": "100%",
|
||
"height": "100%",
|
||
"position": "absolute"
|
||
|
||
|
||
}
|
||
}]
|
||
}
|
||
|
||
|
||
}
|
||
},
|
||
|
||
{
|
||
"path": "pages/addLand/addLand",
|
||
"style": {
|
||
"navigationBarTitleText": "添加土地信息",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/addLand/select_address_n",
|
||
"style": {
|
||
"navigationBarTitleText": "选择位置",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/equipment/index",
|
||
"style": {
|
||
"navigationBarTitleText": "我的设备",
|
||
"enablePullDownRefresh": true,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/landDetail/results",
|
||
"style": {
|
||
"navigationBarTitleText": "溯源结果",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
}, {
|
||
"path": "pages/husbandryForm/detail",
|
||
"style": {
|
||
"navigationBarTitleText": "操作详情",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/updatePassword/updatePassword",
|
||
"style": {
|
||
"navigationBarTitleText": "密码修改",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#35D190",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/index/personal",
|
||
"style": {
|
||
"navigationStyle": "custom"
|
||
}
|
||
}, {
|
||
"path": "pages/Login/login",
|
||
"style": {
|
||
"navigationStyle": "custom"
|
||
}
|
||
}, {
|
||
"path": "pages/Login/resgier",
|
||
"style": {
|
||
"navigationStyle": "custom"
|
||
}
|
||
}
|
||
|
||
|
||
|
||
],
|
||
"globalStyle": {
|
||
"navigationBarTextStyle": "black",
|
||
"navigationBarTitleText": "uni-app",
|
||
"navigationBarBackgroundColor": "#F8F8F8",
|
||
"backgroundColor": "#F8F8F8"
|
||
},
|
||
"tabBar": {
|
||
"color": "#282828",
|
||
"selectedColor": "#0122C7",
|
||
"borderStyle": "white",
|
||
"backgroundColor": "#ffffff",
|
||
"list": [{
|
||
"pagePath": "pages/index/index",
|
||
"iconPath": "static/tabs-icon/sy.png",
|
||
"selectedIconPath": "static/tabs-icon/sydj.png"
|
||
},
|
||
{
|
||
"pagePath": "pages/index/massif",
|
||
"iconPath": "static/tabs-icon/dk.png",
|
||
"selectedIconPath": "static/tabs-icon/dkdj.png"
|
||
},
|
||
{
|
||
"pagePath": "pages/index/personal",
|
||
"iconPath": "static/tabs-icon/approval.png",
|
||
"selectedIconPath": "static/tabs-icon/approval-a.png"
|
||
}
|
||
|
||
]
|
||
},
|
||
|
||
|
||
|
||
"uniIdRouter": {}
|
||
} |