<!--packageD/mycomponent/coupon_store_item/coupon_store_item.wxml-->
<!-- <block wx:if="{{datainfo.api_availability==1}}"> -->
	<view class="coupon_voucher">
		<view class="coupon_voucher_wrapper">
			<view class="coupon_voucher_left">
				<image src="../../../image/couponsbg_{{datainfo.type}}.png" class="bg_icon"></image>
				<view class="wrapper">
					<block wx:if="{{datainfo.coupon_method==1}}">
						<view class="discount" style="font-size:{{datainfo.deduct.length >=6?'40rpx':'52rpx'}}">{{language['money']}}{{datainfo.deduct}}</view>
						<view class="limit">满{{datainfo.enough}}立减</view>
					</block>
					<block wx:else>
						<view class="discount">{{datainfo.discount}}折</view>
						<view class="limit">满{{datainfo.enough}}立享</view>
					</block>
				</view>
			</view>
			<view class="coupon_voucher_right">
				<view class="c1">
					<view class="label baground_{{datainfo.type}}" >{{datainfo.coupon_type_name}}</view>
					<view class="title">{{datainfo.name}}</view>
				</view>
				<view class="c2">
					<view class="time">已领人数：{{datainfo.has_many_member_coupon_count}}人</view>
					<view class="time" wx:if="{{datainfo.api_remaining !=-1}}">可领张数：{{datainfo.api_remaining}}张</view>
					<view class="time" wx:if="{{datainfo.api_remaining ==-1}}">可领张数：多张</view>
				</view>
				<block wx:if="{{datainfo.api_availability==1}}">
					<view class="c3" wx:if="{{datainfo.isIntegralExchange}}">
						<view class="describe">{{datainfo.exchange_coupon_integral?datainfo.exchange_coupon_integral:0}}{{integralname}}</view>
						<view class="btn baground_{{datainfo.type}}" data-item="{{datainfo}}" catchtap="showIntegralExchange" data-index="{{ind}}">去兑换</view>
					</view>
					<view wx:else class="c3"  data-item="{{datainfo}}" catchtap="claim" data-index="{{ind}}">
						<view class="btn baground_{{datainfo.type}}">立即领取</view>
					</view>
				</block>
				<view class="status" wx:if="{{datainfo.api_availability==2}}" data-item="{{datainfo}}" catchtap="claim" data-index="{{ind}}">
					<view class="wrapper">已领取</view>
				</view>
				<view class="status" wx:if="{{datainfo.api_availability==3}}">
					<view class="wrapper">已抢光</view>
				</view>
			</view>
		</view>
	</view>
<!-- </block> -->
