2023-10-17 11:00:41 +08:00
|
|
|
|
{
|
2023-12-20 18:13:01 +08:00
|
|
|
|
"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",
|
2023-12-13 15:57:20 +08:00
|
|
|
|
|
2023-12-20 18:13:01 +08:00
|
|
|
|
"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": "栏舍监控",
|
|
|
|
|
"enablePullDownRefresh": false,
|
|
|
|
|
"navigationBarBackgroundColor": "#feb048",
|
|
|
|
|
"navigationBarTextStyle": "white"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"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
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-11-21 18:54:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-12-20 18:13:01 +08:00
|
|
|
|
],
|
|
|
|
|
"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"
|
|
|
|
|
},
|
2023-12-13 15:57:20 +08:00
|
|
|
|
|
2023-12-20 18:13:01 +08:00
|
|
|
|
{
|
|
|
|
|
"pagePath": "pages/index/personal",
|
|
|
|
|
"text": "我的",
|
|
|
|
|
"iconPath": "static/main/index/wd.png",
|
|
|
|
|
"selectedIconPath": "static/main/index/wddj.png"
|
|
|
|
|
}
|
2023-10-17 16:02:55 +08:00
|
|
|
|
|
2023-12-20 18:13:01 +08:00
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"uniIdRouter": {}
|
2023-10-17 16:02:55 +08:00
|
|
|
|
}
|