|
@@ -23,11 +23,14 @@
|
|
|
</view>
|
|
|
<view id="couponZD" class="luck-draw-theme" hidden="{{hidden1}}">
|
|
|
<!-- 折扣券 -->
|
|
|
- <view class="luck-draw-content" wx:for="{{goodsItemList}}" wx:key="index" data-id="{{item.id}}" wx:if="{{item.couponType == 'D' && item.goodsType == 1}}">
|
|
|
+ <view class="luck-draw-content" wx:for="{{goodsItemList}}" wx:key="index" data-id="{{item.id}}" >
|
|
|
<view class="luck-draw-words">
|
|
|
<view class="luck-draw-discount1">
|
|
|
- <view class="luck-draw-zkz4">{{item.formatDiscount ?item.formatDiscount:0}}</view>
|
|
|
- <view class="luck-draw-zkz5">折</view>
|
|
|
+ <view class="luck-draw-zkz4" wx:if="{{item.couponType == 'D'}}">{{item.formatDiscount ?item.formatDiscount:0}}</view>
|
|
|
+ <view class="luck-draw-zkz5" wx:if="{{item.couponType == 'D'}}">折</view>
|
|
|
+
|
|
|
+ <view class="luck-draw-djz4" wx:if="{{item.couponType == 'C'}}">¥</view>
|
|
|
+ <view class="luck-draw-djz5" wx:if="{{item.couponType == 'C'}}">{{item.formatReduceCost ?item.formatReduceCost:0}}</view>
|
|
|
</view>
|
|
|
<view class="luck-draw-discount2">
|
|
|
<view class="luck-draw-zkz1">{{item.goodsName}}</view>
|
|
@@ -40,8 +43,11 @@
|
|
|
<view class="luck-draw-zkz3">{{item.couponBeginTimestamp}}-{{item.couponEndTimestamp}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <image class="image_zk" src="/images/luck-draw/coupon1.png" />
|
|
|
- <image class="image_zk_un" src="/images/luck-draw/coupon_use_now.png" />
|
|
|
+ <image wx:if="{{item.couponType == 'D'}}" class="image_zk" src="/images/luck-draw/coupon1.png" />
|
|
|
+ <image wx:if="{{item.couponType == 'D'}}" class="image_zk_un" src="/images/luck-draw/coupon_use_now.png" />
|
|
|
+
|
|
|
+ <image wx:if="{{item.couponType == 'C'}}" class="image_zk" src="/images/luck-draw/cash_coupon.png" />
|
|
|
+ <image wx:if="{{item.couponType == 'C'}}" class="image_zk_un" src="/images/luck-draw/cc_use_now.png" />
|
|
|
<navigator class="_btn _exchange"
|
|
|
target = "miniProgram"
|
|
|
app-id="wxd92a2d29f8022f40"
|
|
@@ -49,7 +55,7 @@
|
|
|
open-type='navigate'>
|
|
|
</navigator>
|
|
|
</view>
|
|
|
- <!-- 代金券 -->
|
|
|
+ <!-- 代金券
|
|
|
<view class="luck-draw-content" wx:for="{{goodsItemList}}" wx:key="index" data-id="{{item.id}}" wx:if="{{item.couponType == 'C' && item.goodsType == 1}}">
|
|
|
<image class="image_zk" src="/images/luck-draw/cash_coupon.png" />
|
|
|
<image class="image_zk_un" src="/images/luck-draw/cc_use_now.png" />
|
|
@@ -75,7 +81,7 @@
|
|
|
<view class="luck-draw-zkz3">{{item.couponBeginTimestamp ?item.couponBeginTimestamp:0}}-{{item.couponEndTimestamp ?item.couponEndTimestamp:0}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
|
|
|
<view class="no_result" wx:if="{{noResult}}">———— 抱歉,您暂无可用优惠券 ————</view>
|
|
|
<view class="no_result" wx:if="{{noMore}}">———— 更多优惠券 | 敬请期待 ————</view>
|