<!--pages/integralMallDetail/integralMallDetail.wxml-->
<view class='page-integral-detail'>
	<view class='coupon-wrap'>
		<view class='coupon-list'>

			<view class='coupon-img'>
				<image wx:if="{{integralMallDetail.thumbnail}}" src='{{integralMallDetail.thumbnail}}' />
				<image wx:else src='/assets/imgs/qr-code.png' />
			</view>
			<view class='coupon-info'>
				<view class='coupon-name fs-28'>{{integralMallDetail.point}}积分</view>
				<view class='coupon-desc fs-28'>{{integralMallDetail.couponName}}</view>
			</view>
			<view class='coupon-code fs-24' bindtap='exchange'>立即兑换</view>
		</view>
		<view class='integral-detail'>
			<view class='integral-list' wx:for="{{integralMallDetail.desc}}" wx:key="{{index}}">
				<text class='integral-title'>{{item.label}}</text>
				<text class='integral-desc wpl'>{{item.value}}</text>
			</view>
		</view>
		<!-- <view class='integral-detail' wx:if="{{integralMallDetail.desc}}">
			<image src='{{integralMallDetail.desc}}' mode="widthFix" style="width: 100%;"></image>
		 <button type='primary' class="redeem-now" bindtap='exchange'>立即兑换</button>
		</view> -->
	</view>
</view>
<view class="position-bottom">
	<button type='primary' class="redeem-now" bindtap='exchange'>立即兑换</button>
</view>
<exchange-coupon-modal exchangeId="{{integralMallDetail.id}}" exchangePoint="{{integralMallDetail.point}}" isExchange='{{isExchange}}' />
<!--goHome-->
<go-home/>

