浏览代码

推广素材

zhaoxiaohai 3 年之前
父节点
当前提交
ddda35973e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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}}