Ver Fonte

推广素材

zhaoxiaohai há 3 anos atrás
pai
commit
ddda35973e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      pages/promotional/modules/productList.wxml

+ 1 - 1
pages/promotional/modules/productList.wxml

@@ -2,7 +2,7 @@
 <My_card custom-class='product-list'>
     <view class="item" wx:for="{{list}}">
         <navigator url="#" data-item="{{item}}" bindtap="toDetail">
-            <van-image width="336rpx" height="240rpx" fit='cover' src="{{item.cover}}" lazy-load />
+            <van-image width="336rpx" height="240rpx" fit='cover' src="{{item.cover||'/static/image/video-cover.png'}}" lazy-load />
             <view class="details">
                 <view class="title line-1">
                     {{item.title}}