<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" bindtap="hidePopup" />
		<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">
    <view class="order-input weui-flex weui-progress">
      <input class="order-name border_box" placeholder="  请输入商品名称" value="{{productName}}"  bindblur="onTapConfirm"/>
      <text class="order-search" bindtap="search">搜索</text>
    </view>

		<view class="coupon-list">
      <relate-order-item wx:if="{{proList && proList.length > 0}}" bind:_selectCoupon="_selectCoupon" selectShow="{{show}}" proList="{{proList}}" />
		</view>

		<view class="empty-coupon" wx:if="{{!proList || proList.length < 1}}">
			暂无订单
		</view>
	</view>

	<view class="post-notes fixed-bottom0" bindtap="confirm">确认添加</view>
</view>

