diff --git a/pages/baseMana/formReacord.vue b/pages/baseMana/formReacord.vue index 211a04b..763d5a4 100644 --- a/pages/baseMana/formReacord.vue +++ b/pages/baseMana/formReacord.vue @@ -2,6 +2,36 @@ .container{ height:100%; background:#f6f6f6; + &>.d-search{ + &/deep/ .want_search{ + .title{ + color:#999; + font-size:24rpx; + font-weight: normal; + } + .content{ + display:flex; + flex-wrap: wrap; + margin:14rpx -20rpx -20rpx 0; + text{ + height:48rpx; + line-height: 48rpx; + border-radius: 30rpx; + width:calc(100%/5 - 20rpx); + text-align: center; + font-size:24rpx; + margin:0 20rpx 20rpx 0; + transition: all 0.3s; + color:#999; + background:#EEEEEE; + &.active{ + color:#fff; + background:#10C176; + } + } + } + } + } .date-range{ flex-shrink: 0; @@ -122,7 +152,12 @@ \ No newline at end of file diff --git a/pages/home/newsDetail.vue b/pages/home/newsDetail.vue new file mode 100644 index 0000000..adaea01 --- /dev/null +++ b/pages/home/newsDetail.vue @@ -0,0 +1,88 @@ + + + \ No newline at end of file diff --git a/pages/massif/add_farming.vue b/pages/massif/add_farming.vue index 99924c0..3943dd2 100644 --- a/pages/massif/add_farming.vue +++ b/pages/massif/add_farming.vue @@ -208,7 +208,7 @@ 操作 病虫害记录 - 过程:{{formData.farmPests.growthProcessLabel}},病虫害部位:{{formData.farmPests.pestSite}},症状:{{formData.farmPests.symptomLabel}}({{formData.farmPests.pestName}}) + 过程:{{formData.farmPests.growthProcessLabel}},病虫害部位:{{formData.farmPests.pestSite}},症状:{{formData.farmPests.symptomLabel}}({{formData.farmPests.pestName.map(v=>v.name).join(',')}}) @@ -355,7 +355,8 @@ export default { method:"post", body:{ ...this.formData, - images: this.fields.images.value + images: this.fields.images.value, + farmPests: Object.assign(this.formData.farmPests||{},{pestName:this.formData.farmPests?.pestName?.map?.(v=>v.id).join(",")||''}) } }) if(res.statu){ diff --git a/pages/massif/mana/farmRecord.vue b/pages/massif/mana/farmRecord.vue index bcfb4c3..2e3baa1 100644 --- a/pages/massif/mana/farmRecord.vue +++ b/pages/massif/mana/farmRecord.vue @@ -138,10 +138,10 @@ +添加农事 - +