<view class="container"> <!-- 顶部切换标题 --> <switchTab arr="{{switchTitle}}"></switchTab> <!-- end --> <view class="quan-view"> <view class="quan-list"> <view class="quan-box"> <view class="{{index == 0 ? 'wrapper' : 'wrapper-ed'}}" wx:for="{{list}}" key='index'> <!-- 左侧box --> <view class="content"> <view class="{{index == 0 ? 'couponCount' : 'couponCount-ed'}}">火爆</view> <view class="oilline linwidth160 lineBt"></view> <view> <text class="moyfh">¥</text> <text class="moneyNum">20</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">20元报名优惠券</view> </view> <view class="oilline linwidth227 lineBt"></view> <view class=" {{index == 0 ?'moveCm btnbx':'moveCm-ed btnbx-ed' }}"> <view class="btnw {{index == 0?'btnBgActive':'btnBgGray' }}"> <view wx:if="{{index == 0}}" class="btnn" bindtap="submitCilck">立即领取</view> <view wx:if="{{index != 0}}" class="btnn-ed">已使用</view> </view> </view> </view> </view> </view> </view> </view> </view>