<!-- 优惠券二维码 -->
<view class='main-container'>
  <!-- 优惠券福利 -->
  <view class='coupons'>
    <view class='coupon-item' style='background-image:url(https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/coupon_bg.png)'>
      <view class='coupon-item-lf'>
        <image src="{{couponInfo.takeCouponBgimg}}" mode='aspectFit'></image>
      </view>
      <view class='coupon-item-rg'>
        <view class='coupon-title'>{{couponInfo.title}}</view>
        <view class='op' wx:if="{{couponInfo.startTime}}">
          有效期：{{couponInfo.startTime}}至{{couponInfo.endTime}}
        </view>
        <view class='op'>
          {{couponInfo.couponSetting.typeDesc}} <label>{{couponInfo.faceAmountDesc}}</label>
        </view>
      </view>
    </view>
  </view>
  <!--备注说明 -->
  <view class='coupon-remark' wx:if="{{couponInfo.notice.length > 0}}">
    <view class='remark-item'
    wx:for="{{couponInfo.notice}}"
    wx:for-index="idx"
    wx:for-item="item"
    wx:key="{{idx}}">
      <view class='lf-title'>{{item.label}}</view>
      <view class='rg-desc'>{{item.value}}</view>
    </view>
  </view>
</view>
<!-- 核销按钮 -->
<view class='off'>
  <view class='off-btn' bindtap='onTapSureWhiteOffCoupon'>确认核销</view>
</view>
<!-- 确认弹框 -->
<!-- <view class='comfirm' wx:if="{{showConfirm}}">
  <view class='confirm-body'>
    <view class='c-header'>核销确认</view>
    <view class='c-center'>您将核销该优惠券，是否继续？</view>
    <view class='c-bottom'>
      <view bindtap='onTapCancel'>取消</view>
      <view bindtap='onTapConfirmOff'>确认</view>
    </view>
  </view>
</view> -->