Browse Source

兼容多种列表图情况

feature/feature-compatible
nesxy 6 years ago
parent
commit
6a7eca4a68
1 changed files with 2 additions and 2 deletions
  1. 4
      src/view/home.vue

4
src/view/home.vue

@ -68,8 +68,8 @@
<a :href="'/mall/web/vgoods/detail/' + item1.goodsNo">
<div class="left">
<a :href="'/mall/web/vgoods/detail/' + item1.goodsNo">
<img v-if="item1.goodsTitleImg" :src=" imghost + item1.goodsTitleImg" />
<img v-else-if="item1.showImg" :src=" imghost + item1.showImg" />
<img v-if="item1.goodsTitleImg!=''" :src=" imghost + item1.goodsTitleImg" />
<img v-else-if="item1.showImg!=''" :src=" imghost + item1.showImg" />
<img v-else :src=" imghost + item1.bannerImgs" />
</a>
</div>

Loading…
Cancel
Save