12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <view class="container">
- <!-- 顶部切换标题 -->
- <switchTab arr="{{switchTitle}}" bind:changeIndex="changeIndex"></switchTab>
- <!-- end -->
- <view class="quan-view">
- <view class="quan-list">
- <view class="quan-box">
- <view class="{{status == 0 ? 'wrapper' : 'wrapper-ed'}}" wx:for="{{list}}" wx:key='index'>
- <!-- 左侧box -->
- <view class="content">
- <view class="{{status == 0 ? 'couponCount' : 'couponCount-ed'}}">火爆</view>
- <view class="oilline linwidth160 lineBt"></view>
- <view wx:if="{{item.couponType == 1}}">
- <text class="moyfh">¥</text>
- <text class="moneyNum">{{item.couponAmount}}</text>
- </view>
- <view wx:if="{{item.couponType == 2}}">
- <text class="moneyNum zk-quan">{{item.couponAmount}} 折</text>
- </view>
- <view wx:if="{{item.couponType == 3}}">
- <text class="moneyNum">{{item.couponAmount}} 课时</text>
- </view>
- <view wx:if="{{item.couponType == 4}}">
- <text class="moneyNum">{{item.couponAmount}} 个</text>
- </view>
- <view class="oilline linwidth160 lineBt"></view>
- </view>
- <view class="split-line"></view>
- <!-- 右侧box -->
- <view class="tip">
- <view class="oilline linwidth227 lineBt "></view>
- <view class="vnameBx">
- <view class="couponmaes">{{item.itemName}}</view>
- <view class="couponmaes" wx:if="{{item.couponType == 1}}">抵扣券</view>
- <view class="couponmaes" wx:if="{{item.couponType == 2}}">折扣券</view>
- <view class="couponmaes" wx:if="{{item.couponType == 3}}">赠课券</view>
- <view class="couponmaes" wx:if="{{item.couponType == 4}}">礼品券</view>
- </view>
- <view class="oilline linwidth227 lineBt"></view>
- <view class="moveCm btnbx" wx:if="{{status == '0' && item.flag == 0}}">
- <view class="btnw btnBgActive" bindtap="submitCilck" data-index="{{index}}">
- <view class="btnn">立即领取</view>
- </view>
- </view>
- <view class="btnbx" wx:elif="{{status == '0' && item.flag!= 0}}">
- <view class="btnw btnBgActive">
- <view class="btnn-ed">已领取</view>
- </view>
- </view>
- <view class="moveCm-ed btnbx-ed" wx:elif="{{status != '0'}}">
- <view class="btnw btnBgGray">
- <view wx:if="{{item.couponStatus == 1}}" class="btnn-ed">可使用</view>
- <view wx:if="{{item.couponStatus == 2}}" class="btnn-ed">已使用</view>
- <view wx:if="{{item.couponStatus == 3}}" class="btnn-ed">已过期</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="loading">{{loading}}</view>
- </view>
|