<!--我的卡券-->
<view class="coupon_outer">
  <view class="coupon_li" wx:if="{{couponList.length>0}}" wx:for="{{couponList}}" wx:for-index="index" wx:for-item="item">
  <block wx:if="{{item.isFree==false}}">
    <view class="coupon_type" wx:if="{{item.coupon.type.value=='D'}}">折</view>
    <view class="coupon_type" wx:if="{{item.coupon.type.value=='C'}}">元</view>
    <view class="coupon-title">
      <view class="coupon-price">{{item.coupon.discount?item.coupon.discount:'0'}}</view>
      <!-- <view class="coupon-title-type">大福系列</view> -->
    </view>
  </block>
  <block wx:else>
    <view class="coupon-title-free">
      <view>免</view>
      <view>费</view>
    </view>
  </block>
    <view class="coupon-li-line"></view>
    <view class="coupon-detail">
      <view class="coupon-detail-title">{{item.title}}</view>
      <view class="coupon-detail-date">{{item.beignTime}}-{{item.endTime}}</view>
    </view>
    <view class="use-button" bindtap="goUseCoupon">去使用</view>
  </view>
  <image class="no-data" wx:if="{{couponList.length<=0}}"  src="../../images/no_data.png"></image>
</view>