Browse Source

首页美食跳转外链

master
chenkainan 1 year ago
parent
commit
e7619caeb9
  1. 2
      pages/index/index.vue

2
pages/index/index.vue

@ -102,7 +102,7 @@
<view @click="gotoPath('/subPackages/food/foodList')">更多 ></view>
</view>
<view class="food-box box">
<view v-for="(item,index) in foodList" :key="index" class="food-item" :style="{backgroundImage: 'url('+showImg(item.goods.image)+')',backgroundSize: 'cover'}" @click="gotoFood(item)">
<view v-for="(item,index) in foodList" :key="index" class="food-item" :style="{backgroundImage: 'url('+showImg(item.goods.image)+')',backgroundSize: 'cover'}" @click="gotoFood(item.goods)">
<view class="recommend" v-if="item.goods.image_tag">{{item.goods.image_tag}}</view>
<view class="food-content">
<view class="food-price">{{item.goods.low_money / 100}}</view>

Loading…
Cancel
Save