Commit 5d5a78a5b8ca3e7d06507adf733dc61a4fa890fb

Authored by 王强
1 parent 3e836e82

旗舰店(优选库——商城)店铺列表头图添加默认图片~

src/pages/mall2/mall2.vue
... ... @@ -44,7 +44,8 @@
44 44  
45 45 <!-- 头图 -->
46 46 <div class="header-img-box">
47   - <img v-lazy="items.img + SIGN.BIG" class="header-img" />
  47 + <img :src="items.img + SIGN.BIG" class="header-img" v-if="items.img" />
  48 + <img src="static/img/header_img_default.png" class="header-img" v-else />
48 49 </div>
49 50  
50 51 <!-- 商品列表 -->
... ... @@ -56,7 +57,7 @@
56 57 pid="3">
57 58 </goods-item-2>
58 59 </div>
59   - </div>
  60 + </div>
60 61 </van-list>
61 62 </div>
62 63 </div>
... ...
static/img/header_img_default.png 0 → 100644

108 KB