<view class="modal-container{{show ? ' active' : ''}}" bindtap="hidePopup" />
<view class="modal-content{{show ? ' active' : ''}}">
	<view class="modal-header">
		<image src="/assets/imgs/7_1_0/arrow-right.png" class="modal-to-back" mode="widthFix" />
		<text class="modal-title">选择优惠券</text>
		<image
		 class="modal-close"
		 mode="widthFix"
		 src="/assets/imgs/7_1_0/close.png"
		 bindtap="hidePopup"
		/>
	</view>

	<view class="modal-info" wx:if="{{newConponOrderList.length}}">
		<block wx:for="{{newConponOrderList}}" wx:key="{{index}}" wx:for-item="item">
			<block wx:for="{{item.couponDTOS}}" wx:key="{{index}}" wx:for-item="coupon">
				<view
				 class="coupon-list"
				 data-id="{{coupon.id}}"
				 data-index="{{index}}"
				 data-type="{{coupon.type}}"
				 data-amount="{{coupon.faceAmount}}"
				 bindtap="selectCoupon"
				>
					<image
					 wx:if="{{false}}"
					 class="coupon-bg"
					 src="/assets/imgs/7_1_0/coupon-bg.png"
					 mode="widthFix"
					/>
					<image class="coupon-bg" src="/assets/imgs/7_1_0/disabled-coupon.png" mode="widthFix" />
					<view class="coupon-info">
						<view class="left-price">
							<image class="left-price-coupon-bg" src="{{coupon.takeCouponBgimg}}" />
						</view>
						<view class="right-info"> 
							<view class="coupon-title">{{coupon.title}}</view>
							<view wx:for="{{coupon.newNotice}}" wx:key="{{index}}" wx:for-item="notice">
								<text class='coupon-time'>{{notice.label}}</text>
								<text class='coupon-desc wpl'>{{notice.value}}</text>
							</view>
						</view>
					
						<view class="select-radio">
							<icon size="16" type="{{coupon.checked ? 'success' : 'circle'}}" color="{{checkedColor}}" />
						</view>
					</view>
				</view>
			</block>
		</block>
	</view>

	<view wx:else class="empty-coupon">
		暂无可用优惠券
	</view>
</view>

