浏览代码

核销记录图片分类

kk.shi 3 年之前
父节点
当前提交
993560d89f
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      pages/welfareMall/writeOff/writeOff.wxml

+ 3 - 1
pages/welfareMall/writeOff/writeOff.wxml

@@ -31,7 +31,9 @@
     <view class="content-line line-top"></view>
     <view class="content-middle flex-row">
       <view class="middle-it flex-row">
-        <image class="middle-img" src="{{item.fullCoverImage}}" mode="aspectFit" />
+        <!-- <image class="middle-img" src="{{item.fullCoverImage}}" mode="aspectFit" /> -->
+        <image class="middle-img" wx:if="{{item.couponType == 'C'}}" src="https://dy.shpr.top/welfareGo/writeOff-cash-substitute.png" mode="aspectFit" />
+        <image class="middle-img" wx:if="{{item.couponType == 'D'}}" src="https://dy.shpr.top/welfareGo/writeOff-discount.png" mode="aspectFit" />
         <view class="middle-text over-ellipsis">{{item.couponTitle}}</view>
       </view>
       <!-- <view class="middle-num flex-column">