<!--pages/couponDetail/couponDetail.wxml-->
<view class='page-integral-detail'>
	<view class='coupon-wrap'>
		<view class='coupon-list'>
			<image class='coupon-bg' src='/assets/imgs/coupon-bg.png' />
			<view class='coupon-img'>
				<image wx:if="{{couponDetail.couponDetail.style.takeCouponBgimg}}" src='{{couponDetail.couponDetail.style.takeCouponBgimg}}' />
				<image wx:else src='/assets/imgs/qr-code.png' />
			</view>
			<view class='coupon-info'>
				<view class='coupon-name fs-28'>{{couponDetail.couponSetting.title}}</view>
				<view class='coupon-desc fs-28'>{{couponDetail.coupon.startTime}} 至 {{couponDetail.coupon.endTime}}</view>
			</view>
			<view class='coupon-code fs-24' bindtap="handelPresentCouponCode">出示券码</view>
		</view>
		<view class='integral-detail'>
			<!-- <view class='integral-list'>
        <text class='integral-title'>优惠详情</text>
        <text class='integral-desc'>{{couponDetail.couponSetting.notice}}</text>
      </view> -->
			<view class='integral-list' wx:for="{{couponDetail.couponSetting.notice}}" wx:key="{{index}}">
				<text class='integral-title'>{{item.label}}</text>
				<text class='integral-desc wpl'>{{item.value}}</text>
			</view>
		</view>
		<!--<button type='primary' class="redeem-now" bindtap="handelPresentCouponCode">出示券码</button>-->
	</view>
</view>
<!--goHome-->
<go-home/>
<view class="position-bottom">
	<button type='primary' class="redeem-now" bindtap='handelPresentCouponCode'>出示券码</button>
</view>

