<view class="couponList">
	<view class="searchcontent">
		<view class="serchbox">
			<view class="left">
				<view class="iconfont icon-sousuo1"></view>
			</view>
			<view class="right">
				<input type="text" value="{{name}}" placeholder="请输入优惠券名称搜索"  bindinput="searchbtn" bindconfirm="searchConfirm" />
			</view>
		</view>
	</view>
	<view class="list">
		<block wx:for="{{getListData}}"  wx:for-index="getLisidx" wx:for-item="getLisName" wx:key="{{getLisidx}}">
			<view class="li" wx:for="{{getLisName}}" wx:key="index">
				<view class="left">
					<view class="top">{{item.coupon_name}}</view>
					<view class="bottom">{{item.created_at}}</view>
				</view>
				<view class="right" data-id="{{item.id}}" catchtap="couponcodebtn">查看详情</view>
			</view>
		</block>
	</view>
</view>
