|
@@ -19,32 +19,16 @@
|
|
|
<button class="luck-draw-cz" wx:if="{{!isLogin}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">请登录</button>
|
|
|
<!-- 优惠券内容 -->
|
|
|
<view hidden="{{hiddenCoupon}}">
|
|
|
- <view wx:for="{{couponList}}" wx:key="index" data-id="{{item.id}}">
|
|
|
- <navigator class="{{item.coupon.couponType == 'C'?'coupon-list2 flex-row':'coupon-list flex-row'}}" target="miniProgram" app-id="wxd92a2d29f8022f40" path="pages/index/index" extra-data="{foo: 'bar'}" open-type='navigate'>
|
|
|
- <view class="coupon-info flex-column">
|
|
|
- <viwe class="coupon-info-tittle">{{item.coupon.couponTitle}}</viwe>
|
|
|
- <view class="coupon-center-bm flex-row">
|
|
|
- <view class="coupon-center-block1"></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>
|
|
|
- <viwe class="coupon-info-date">{{item.coupon.couponBeginTimestamp}}-{{item.coupon.couponEndTimestamp}}</viwe>
|
|
|
- </view>
|
|
|
- <view class="coupon-numText flex-column">
|
|
|
- <view class="coupon-num flex-row">
|
|
|
- <!-- 折扣券 -->
|
|
|
- <view class="{{item.coupon.formatDiscount.length > 3 ?'coupon-num-numSmall':'coupon-num-num'}}" wx:if="{{item.coupon.couponType == 'D'}}">{{item.coupon.formatDiscount ?item.coupon.formatDiscount:0}}</view>
|
|
|
- <view class="{{item.coupon.formatDiscount.length > 3 ?'coupon-num-hanSmall':'coupon-num-han'}}" wx:if="{{item.coupon.couponType == 'D'}}">折</view>
|
|
|
- <!-- 代金券 -->
|
|
|
- <view class="{{item.coupon.formatReduceCost.length > 3 ?'coupon-num-hanSmall':'coupon-num-han'}}" wx:if="{{item.coupon.couponType == 'C'}}">¥</view>
|
|
|
- <view class="{{item.coupon.formatReduceCost.length > 3 ?'coupon-num-numSmall':'coupon-num-num'}}" wx:if="{{item.coupon.couponType == 'C'}}">{{item.coupon.formatReduceCost ?item.coupon.formatReduceCost:0}}</view>
|
|
|
- </view>
|
|
|
- <!-- <jumpmallapp>去使用</jumpmallapp> -->
|
|
|
- <view class="coupon-num-text">立即使用</view>
|
|
|
- </view>
|
|
|
- </navigator>
|
|
|
+
|
|
|
+ <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>
|
|
|
|
|
|
<!-- 获取明细 -->
|