|
@@ -26,22 +26,34 @@
|
|
|
<!-- 主要内容 -->
|
|
|
<view class="check-in-content flex-column">
|
|
|
<!-- 优惠券内容 -->
|
|
|
- <view class="coupon flex-row">
|
|
|
+ <view class="{{item.coupon.couponType == 'C'?'coupon flex-row':'coupon2 flex-row'}}" wx:for="{{couponList}}" wx:key="index" data-id="{{item.id}}">
|
|
|
<view class="coupon-left flex-row">
|
|
|
- <view class="coupon-left-symbol">¥</view>
|
|
|
- <view class="coupon-left-num">1.09</view>
|
|
|
+ <!-- 代金券 -->
|
|
|
+ <view class="coupon-left-symbol" wx:if="{{item.coupon.couponType == 'C'}}">¥</view>
|
|
|
+ <view class="coupon-left-num" wx:if="{{item.coupon.couponType == 'C'}}">{{item.coupon.formatReduceCost ?item.coupon.formatReduceCost:0}}</view>
|
|
|
+ <!-- 折扣券 -->
|
|
|
+ <view class="coupon-left-num" wx:if="{{item.coupon.couponType == 'D'}}">{{item.coupon.formatDiscount ?item.coupon.formatDiscount:0}}</view>
|
|
|
+ <view class="coupon-left-symbol" wx:if="{{tem.coupon.couponType == 'D'}}">折</view>
|
|
|
</view>
|
|
|
<view class="coupon-center flex-column">
|
|
|
- <view class="coupon-center-upper">圣诞活动代金券</view>
|
|
|
+ <view class="coupon-center-upper">{{item.coupon.couponTitle}}</view>
|
|
|
<view class="coupon-center-bm flex-row">
|
|
|
<view class="coupon-center-block1"></view>
|
|
|
- <view class="coupon-center-middle">满199使用</view>
|
|
|
+ <view class="coupon-center-middle" wx:if="{{item.coupon.formatLeastCost == '0'}}">无门槛</view>
|
|
|
+ <view class="coupon-center-middle" wx:if="{{item.coupon.formatLeastCost != '0'}}">满{{item.coupon.formatLeastCost}}使用</view>
|
|
|
<view class="coupon-center-block2"></view>
|
|
|
</view>
|
|
|
- <view class="coupon-center-lower">2021.10.10-2022.01.02</view>
|
|
|
+ <view class="coupon-center-lower">{{item.coupon.couponBeginTimestamp}}-{{item.coupon.couponEndTimestamp}}</view>
|
|
|
</view>
|
|
|
<view class="coupon-right">
|
|
|
- <view class="coupon-right-usenow"></view>
|
|
|
+ <view class="{{item.coupon.couponType == 'C'?'coupon-right-usenow flex-row':'coupon-right-usenow2 flex-row'}}">
|
|
|
+ <navigator class="btn_exchange"
|
|
|
+ target = "miniProgram"
|
|
|
+ app-id="wxd92a2d29f8022f40"
|
|
|
+ path="page/index/index"
|
|
|
+ open-type='navigate'>
|
|
|
+ </navigator>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 获得明细 -->
|