|
@@ -1,28 +1,14 @@
|
|
|
<!--pages/welfareMall/coupon/coupon.wxml-->
|
|
|
<!-- 内容 -->
|
|
|
- <navigator class="{{item.couponType == 'C'?'coupon-list2 flex-row':'coupon-list flex-row'}}" wx:for="{{couponList}}" wx:key="index" data-couponSn="{{item.couponSn}}" target="miniProgram" app-id="wxd92a2d29f8022f40" path="pages/index/index" open-type='navigate'>
|
|
|
- <view class="coupon-info flex-column">
|
|
|
- <viwe class="coupon-info-tittle">{{item.couponTitle}}</viwe>
|
|
|
- <view class="coupon-center-bm flex-row">
|
|
|
- <view class="coupon-center-block1"></view>
|
|
|
- <view class="coupon-center-middle" wx:if="{{item.formatLeastCost == '0'}}">无门槛</view>
|
|
|
- <view class="coupon-center-middle" wx:if="{{item.formatLeastCost != '0'}}">满{{item.formatLeastCost}}元使用</view>
|
|
|
- <view class="coupon-center-block2"></view>
|
|
|
- </view>
|
|
|
- <viwe class="coupon-info-date">{{item.couponBeginTimestamp}}-{{item.couponEndTimestamp}}</viwe>
|
|
|
- </view>
|
|
|
- <view class="coupon-numText flex-column">
|
|
|
- <view class="coupon-num flex-row">
|
|
|
- <!-- 折扣券 -->
|
|
|
- <view class="{{item.formatDiscount.length > 3 ?'coupon-num-numSmall':'coupon-num-num'}}" wx:if="{{item.couponType == 'D'}}">{{item.formatDiscount ?item.formatDiscount:0}}</view>
|
|
|
- <view class="{{item.formatDiscount.length > 3 ?'coupon-num-hanSmall':'coupon-num-han'}}" wx:if="{{item.couponType == 'D'}}">折</view>
|
|
|
- <!-- 代金券 -->
|
|
|
- <view class="{{item.formatReduceCost.length > 3 ?'coupon-num-hanSmall':'coupon-num-han'}}" wx:if="{{item.couponType == 'C'}}">¥</view>
|
|
|
- <view class="{{item.formatReduceCost.length > 3 ?'coupon-num-numSmall':'coupon-num-num'}}" wx:if="{{item.couponType == 'C'}}">{{item.formatReduceCost ?item.formatReduceCost:0}}</view>
|
|
|
- </view>
|
|
|
- <!-- <jumpmallapp>去使用</jumpmallapp> -->
|
|
|
- <view class="coupon-num-text">立即使用</view>
|
|
|
- </view>
|
|
|
- </navigator>
|
|
|
- <view class="no_result" wx:if="{{noResult}}">———— 抱歉,您暂可用优惠券 ————</view>
|
|
|
- <view class="no_result" wx:if="{{noMore}}">—— 人家也是有底线的 ——</view>
|
|
|
+ <page-wrap id="Page">
|
|
|
+ <view class="coupon-wrap-list">
|
|
|
+ <coupon-wrap wx:if="{{couponList.length>0}}"
|
|
|
+ coupon-list="{{couponList}}"
|
|
|
+ class="coupon_wrap"
|
|
|
+ coupon-item-ex-class="coupon-item-style"
|
|
|
+ coupon-circule-ex-class="coupon-circule-style"
|
|
|
+ />
|
|
|
+ </view>
|
|
|
+ <view class="no_result" wx:if="{{noResult}}">———— 抱歉,您暂可用优惠券 ————</view>
|
|
|
+ <view class="no_result" wx:if="{{noMore}}">—— 人家也是有底线的 ——</view>
|
|
|
+ </page-wrap>
|