|
|
@ -231,7 +231,7 @@ |
|
|
|
</table> |
|
|
|
<view class="article"> |
|
|
|
<text class="plant-bijibenjilutongxunlu" @click="$u.route({url:'pages/massif/myPlant'})"/> |
|
|
|
<u-image mode="aspectFill" width="56rpx" height="46rpx" radius="8rpx" :src="`${host}/${massif.images[0]}`" @click="$u.route({url:'pages/massif/myPlant'})"> |
|
|
|
<u-image v-for="(v,k) in (massif.images||[])" :key="k" mode="aspectFill" width="56rpx" height="46rpx" radius="8rpx" :src="`${host}/${v}`" @click="$u.route({url:'pages/massif/myPlant'})"> |
|
|
|
<text slot="error" class="plant-xiaopangchetupianjiazaishibai"/> |
|
|
|
</u-image> |
|
|
|
|
|
|
@ -351,7 +351,10 @@ import request,{host} from '@/common/request' |
|
|
|
params:{plantBaseId: this.$store.state.baseInfo.id} |
|
|
|
}) |
|
|
|
if(res.statu){ |
|
|
|
this.massif=res.data |
|
|
|
this.massif={ |
|
|
|
...res.data, |
|
|
|
images:res.data.images.slice(0,3) |
|
|
|
} |
|
|
|
}else{ |
|
|
|
uni.showModal({ |
|
|
|
title:"提示", |
|
|
|