diff --git a/common/request.js b/common/request.js index 7b99414..1e9fce5 100644 --- a/common/request.js +++ b/common/request.js @@ -1,14 +1,24 @@ import store from "@/store" export function host(host='default',suffix='/plant_manage'){ - return( - process.env.NODE_ENV === 'development'?{ - default:`http://xvff42.natappfree.cc${suffix}` //陈 - // default:`http://6h8nxd.natappfree.cc${suffix}` //马 + var url=process.env.NODE_ENV === 'development'?{ + default:`http://2uktvr.natappfree.cc` //陈 + // default:`http://6h8nxd.natappfree.cc` //马 }:{ - default:`http://qv6mj8.natappfree.cc${suffix}` + default:`http://qv6mj8.natappfree.cc` } - )[host] + return ({ + default:`${url.default}${suffix}`, + imgUrl:`${url.default}/plant_manage/sys/common/static` + })[host] + // return( + // process.env.NODE_ENV === 'development'?{ + // default:`http://10.0.0.217${suffix}` //陈 + // // default:`http://6h8nxd.natappfree.cc${suffix}` //马 + // }:{ + // default:`http://qv6mj8.natappfree.cc${suffix}` + // } + // )[host] } diff --git a/pages/massif/mana/index.vue b/pages/massif/mana/index.vue index d6e1110..0485452 100644 --- a/pages/massif/mana/index.vue +++ b/pages/massif/mana/index.vue @@ -27,13 +27,13 @@ - + - + @@ -53,7 +53,6 @@ export default { {name:"采收记录",}, ], plotId:"", - plantId:"", } }, onLoad(options){ diff --git a/pages/massif/mana/plantPlan.vue b/pages/massif/mana/plantPlan.vue index 82c2563..5462c6a 100644 --- a/pages/massif/mana/plantPlan.vue +++ b/pages/massif/mana/plantPlan.vue @@ -1,124 +1,137 @@ \ No newline at end of file diff --git a/uni_modules/d-picker/changelog.md b/uni_modules/d-picker/changelog.md new file mode 100644 index 0000000..e69de29 diff --git a/uni_modules/d-picker/components/d-picker/d-picker.vue b/uni_modules/d-picker/components/d-picker/d-picker.vue new file mode 100644 index 0000000..4de6d36 --- /dev/null +++ b/uni_modules/d-picker/components/d-picker/d-picker.vue @@ -0,0 +1,106 @@ + + + diff --git a/uni_modules/d-picker/package.json b/uni_modules/d-picker/package.json new file mode 100644 index 0000000..e40c6ef --- /dev/null +++ b/uni_modules/d-picker/package.json @@ -0,0 +1,81 @@ +{ + "id": "d-picker", + "displayName": "d-picker", + "version": "1.0.0", + "description": "d-picker", + "keywords": [ + "d-picker" +], + "repository": "", + "engines": { + "HBuilderX": "^3.1.0" + }, + "dcloudext": { + "type": "component-vue", + "sale": { + "regular": { + "price": "0.00" + }, + "sourcecode": { + "price": "0.00" + } + }, + "contact": { + "qq": "" + }, + "declaration": { + "ads": "", + "data": "", + "permissions": "" + }, + "npmurl": "" + }, + "uni_modules": { + "dependencies": [], + "encrypt": [], + "platforms": { + "cloud": { + "tcb": "u", + "aliyun": "u" + }, + "client": { + "Vue": { + "vue2": "u", + "vue3": "u" + }, + "App": { + "app-vue": "u", + "app-nvue": "u" + }, + "H5-mobile": { + "Safari": "u", + "Android Browser": "u", + "微信浏览器(Android)": "u", + "QQ浏览器(Android)": "u" + }, + "H5-pc": { + "Chrome": "u", + "IE": "u", + "Edge": "u", + "Firefox": "u", + "Safari": "u" + }, + "小程序": { + "微信": "u", + "阿里": "u", + "百度": "u", + "字节跳动": "u", + "QQ": "u", + "钉钉": "u", + "快手": "u", + "飞书": "u", + "京东": "u" + }, + "快应用": { + "华为": "u", + "联盟": "u" + } + } + } + } +} \ No newline at end of file diff --git a/uni_modules/d-picker/readme.md b/uni_modules/d-picker/readme.md new file mode 100644 index 0000000..48f3e97 --- /dev/null +++ b/uni_modules/d-picker/readme.md @@ -0,0 +1 @@ +# d-picker \ No newline at end of file