<!--pages/userCenter.wxml-->
<view class='page-integral-mall' style="padding-bottom: 40rpx">
	<view class='integral-vip-rules' wx:if="{{integralCouponList.length}}" bindtap="handleGoMemberRulesRules">会员规则</view>
	<view class='coupon-wrap' wx:if="{{integralCouponList.length}}">
		<view
		 class='coupon-list'
		 wx:for="{{integralCouponList}}"
		 wx:for-item="item"
		 wx:for-index="k"
		 wx:key="{{k}}"
		 data-id="{{item.id}}"
		 bindtap="goCouponDetail"
		>
			<view class="coupon-item">
				<view class='coupon-img'>
					<image wx:if="{{item.thumbnail}}" src='{{item.thumbnail}}' />
					<image wx:else src='/assets/imgs/qr-code.png' />
				</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>
	<view class='empty-wrap' wx:if="{{!integralCouponList.length}}">
		<view class='empty-info'>
			<image class='empty-img' src='/assets/imgs/empty-coupon.png' />
			<view class='empty-text'>没有任何卡劵</view>
		</view>
	</view>
	<exchange-coupon-modal exchangeId="{{exchangeId}}" exchangePoint="{{exchangePoint}}" isExchange='{{isExchange}}' />
	<!--<no-more wx:if="{{noMore}}"/>-->
	<!--goHome-->
	<go-home/>
</view>

