12345678910111213141516171819202122232425262728 |
- <navbar parameter='{{parameter}}'></navbar>
- <view class='coupon-list' wx:if="{{couponsList.length}}">
- <view class='item acea-row row-center-wrapper' wx:for="{{couponsList}}" wx:key='index'>
- <view class='money {{item.is_use ? "moneyGray" : "" }}'>
- <view>¥<text class='num'>{{item.coupon_price}}</text></view>
- <view class="pic-num">满{{item.use_min_price}}元可用</view>
- </view>
- <view class='text'>
- <view class='condition line1'>
- <span class='line-title {{(item.is_use==true || item.is_use==2)?"gray":""}}' wx:if="{{item.type===0}}">通用劵</span>
- <span class='line-title {{(item.is_use==true || item.is_use==2)?"gray":""}}' wx:elif="{{item.type===1}}">品类券</span>
- <span class='line-title {{(item.is_use==true || item.is_use==2)?"gray":""}}' wx:else>商品券</span>
- <span>{{item.title}}</span>
- </view>
- <view class='data acea-row row-between-wrapper'>
- <view wx:if='{{item.end_time != 0}}'>{{ item.start_time ? item.start_time+'-':''}}{{ item.end_time }}</view>
- <view wx:else>不限时</view>
- <view class='bnt gray' wx:if="{{item.is_use==true}}">已领取</view>
- <view class='bnt gray' wx:elif="{{item.is_use==2}}">已领完</view>
- <view class='bnt bg-color' wx:else bindtap='getCoupon' data-id="{{item.id}}" data-index="{{index}}">立即领取</view>
- </view>
- </view>
- </view>
- </view>
- <view class='noCommodity' wx:elif="{{!couponsList.length && loading==true}}">
- <view class='pictrue'><image src='/images/noCoupon.png'></image></view>
- </view>
- <authorize bind:onLoadFun="onLoadFun"></authorize>
|