491 lines
13 KiB
JSON
491 lines
13 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/massif",
|
||
|
||
"style": {
|
||
"navigationBarTitleText": "首页",
|
||
"navigationStyle": "custom",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
}, {
|
||
"path": "pages/index/index",
|
||
"style": {
|
||
"navigationStyle": "custom",
|
||
"enablePullDownRefresh": true
|
||
}
|
||
},
|
||
// 和撒旦发射点恢复健康快点发货速度较快live harvest
|
||
{
|
||
"path": "pages/landDetail/index",
|
||
"style": {
|
||
"navigationBarTitleText": "土地详情",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/landDetail/tudi",
|
||
"style": {
|
||
"navigationBarTitleText": "种植详情",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/husbandryForm/harvest",
|
||
"style": {
|
||
"navigationBarTitleText": "添加收获信息",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/husbandryForm/Pest",
|
||
"style": {
|
||
"navigationBarTitleText": "添加虫害防治信息",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/husbandryForm/irrigate",
|
||
"style": {
|
||
"navigationBarTitleText": "添加灌溉信息",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/husbandryForm/weeding",
|
||
"style": {
|
||
"navigationBarTitleText": "添加除草信息",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/husbandryForm/fertilize",
|
||
"style": {
|
||
"navigationBarTitleText": "添加施肥信息",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/husbandryForm/sow",
|
||
"style": {
|
||
"navigationBarTitleText": "添加种植信息",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"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/addPlant/addPlant",
|
||
"style": {
|
||
"navigationBarTitleText": "添加养殖基地信息",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/addPlant/select_address_n",
|
||
"style": {
|
||
"navigationBarTitleText": "选择位置",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/equipment/index",
|
||
"style": {
|
||
"navigationBarTitleText": "我的设备",
|
||
"enablePullDownRefresh": true,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/landDetail/results",
|
||
"style": {
|
||
"navigationBarTitleText": "溯源结果",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
}, {
|
||
"path": "pages/husbandryForm/detail",
|
||
"style": {
|
||
"navigationBarTitleText": "操作详情",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/updatePassword/updatePassword",
|
||
"style": {
|
||
"navigationBarTitleText": "密码修改",
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/index/personal",
|
||
"style": {
|
||
"navigationStyle": "custom"
|
||
}
|
||
}, {
|
||
"path": "pages/Login/login",
|
||
"style": {
|
||
"navigationStyle": "custom"
|
||
}
|
||
}, {
|
||
"path": "pages/Login/resgier",
|
||
"style": {
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/index/manager",
|
||
"style": {
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/plantAdmin/house",
|
||
"style": {
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/plantAdmin/addHouse",
|
||
"style": {
|
||
"navigationBarTitleText": "新增栏舍",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/plantAdmin/houseDetail",
|
||
"style": {
|
||
"navigationBarTitleText": "栏舍详情",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/plantAdmin/breedDetail",
|
||
"style": {
|
||
"navigationBarTitleText": "养殖详情",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/plantAdmin/addBreed",
|
||
"style": {
|
||
"navigationBarTitleText": "新增养殖",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/feed/feed",
|
||
"style": {
|
||
"navigationBarTitleText": "添加喂食记录",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/feed/water",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "添加喂水记录",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/feed/sterilize",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "添加消毒记录",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/feed/vaccine",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "添加疫苗记录",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/feed/expelling",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "添加驱虫记录",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/feedDetail/feedDetail",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "操作详情",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/feedDetail/expellingDetail",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "操作详情",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/feedDetail/sterilizeDetail",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "操作详情",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/feedDetail/vaccineDetail",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "操作详情",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/feedDetail/waterDetail",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "操作详情",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/plantAdmin/moreBreed",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "养殖列表",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/plantAdmin/moreFeed",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "喂养列表",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/record/record",
|
||
"style" :
|
||
{
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/jump/jump",
|
||
"style" :
|
||
{
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/jump/addJump",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "转栏登记",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/jump/jumpDetail",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "转栏详情",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/leave/leave",
|
||
"style" :
|
||
{
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/leave/addLeave",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "离栏登记",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/leave/leaveDetail",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "离栏详情",
|
||
"navigationBarBackgroundColor": "#feb048",
|
||
"navigationBarTextStyle": "white",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
}
|
||
|
||
|
||
|
||
],
|
||
"globalStyle": {
|
||
"navigationBarTextStyle": "white",
|
||
"navigationBarTitleText": "uni-app",
|
||
"navigationBarBackgroundColor": "#F8F8F8",
|
||
"backgroundColor": "#F8F8F8"
|
||
},
|
||
"tabBar": {
|
||
"color": "#999999",
|
||
"selectedColor": "#feb048",
|
||
"borderStyle": "white",
|
||
"backgroundColor": "#FFFFFF",
|
||
// "iconWidth": "40px",
|
||
"list": [{
|
||
"pagePath": "pages/index/massif",
|
||
"text": "首页",
|
||
"iconPath": "static/main/index/sy.png",
|
||
"selectedIconPath": "static/main/index/sydj.png"
|
||
},
|
||
{
|
||
"pagePath": "pages/index/manager",
|
||
"text": "管理",
|
||
"iconPath": "static/main/index/dk.png",
|
||
"selectedIconPath": "static/main/index/dkdj.png"
|
||
},
|
||
|
||
{
|
||
"pagePath": "pages/index/personal",
|
||
"text": "我的",
|
||
"iconPath": "static/main/index/wd.png",
|
||
"selectedIconPath": "static/main/index/wddj.png"
|
||
}
|
||
|
||
]
|
||
},
|
||
"uniIdRouter": {}
|
||
} |