<!--pages/userCenter.axml-->
<view class="page-integral-mall" style="padding-bottom: 40rpx">
  <view class="empty-wrap" a:if="{{!integralCouponList.length}}">
    <view class="empty-info">
      <image class="empty-img" src="/assets/imgs/empty-coupon.png"></image>
      <view class="empty-text">没有任何卡劵</view>
    </view>
  </view>
  <view class="integral-vip-rules" a:if="{{integralCouponList.length}}" onTap="handleGoMemberRulesRules">会员规则</view>
  <view class="coupon-wrap" a:if="{{integralCouponList.length}}">
    <view class="coupon-list" a:for="{{integralCouponList}}" a:for-item="item" a:for-index="k" a:key="{{k}}" data-id="{{item.id}}" onTap="goCouponDetail">
      <view class="coupon-item">
        <view class="coupon-img">
          <image a:if="{{item.thumbnail}}" src="{{item.thumbnail}}"></image>
          <image a:else src="/assets/imgs/qr-code.png"></image>
        </view>
        <view class="coupon-info">
          <view class="coupon-time fs-24">{{item.point}}积分</view>
          <view class="coupon-name fs-28">{{item.title}}</view>
          <view class="coupon-desc fs-24">查看详情 >>></view>
        </view>
        <view class="coupon-code fs-24" data-id="{{item.id}}" data-point="{{item.point}}" catchTap="exchange">立即兑换</view>
      </view>
    </view>
  </view>
  <exchange-coupon-modal exchangeId="{{exchangeId}}" exchangePoint="{{exchangePoint}}" isExchange="{{isExchange}}" />
  <!--<no-more wx:if="{{noMore}}"/>-->
</view>