Browse Source

首页 修改种植计划图片为一个

master
邓宏 2 years ago
parent
commit
61d8f39064
  1. 12
      pages/home/index.vue

12
pages/home/index.vue

@ -231,15 +231,7 @@
</table> </table>
<view class="article"> <view class="article">
<text class="plant-bijibenjilutongxunlu" @click="$u.route({url:'pages/massif/myPlant'})"/> <text class="plant-bijibenjilutongxunlu" @click="$u.route({url:'pages/massif/myPlant'})"/>
<u-image <u-image mode="aspectFill" width="56rpx" height="46rpx" radius="8rpx" :src="`${host}/${massif.images[0]}`" @click="$u.route({url:'pages/massif/myPlant'})">
mode="aspectFill"
v-for="(v,k) in massif.images||[]" :key="k"
:title="`${host}/${massif.images[k]}`"
width="56rpx"
height="46rpx"
radius="8rpx"
:src="`${host}/${massif.images[k]}`"
@click="$u.route({url:'pages/massif/myPlant'})">
<text slot="error" class="plant-xiaopangchetupianjiazaishibai"/> <text slot="error" class="plant-xiaopangchetupianjiazaishibai"/>
</u-image> </u-image>
@ -308,7 +300,7 @@ import request,{host} from '@/common/request'
mapContext:null, mapContext:null,
show:false, show:false,
plantBase:[[]], plantBase:[[]],
massif:{}, massif:{images:[]},
baseInfo:{}, baseInfo:{},
baseIndex:"", baseIndex:"",
stockList:[], stockList:[],

Loading…
Cancel
Save