<!--packageE/community_buying/buying_order/buying_order.wxml-->


<van-tabs active="{{selected}}" scroll-top="{{scrollTop}}" sticky="{{true}}" custom-class="vant-nav" swipe-threshold="{{5}}" bind:click="swichTabTItem">

	<view class="search">
		<view class="searchBox">
			<van-field
			value="{{ keywords }}"
			placeholder="搜索订单"
			border="{{ false }}"
			bind:inp="inpbtn"
			clearable
			bind:clear="inpbtnclear"
			/>
			<view class="img-icon" catchtap="search">
				<view class="img-icon-btn"></view>
			</view>
		</view>
	</view>
	

<van-tab title="全部">
	<cOrderList bindConfrimOrderNotification="cofirmOrderAction" order-type="{{orderType}}" detail-url="{{detailUrl}}" datasource="{{orderList}}" status="{{0}}" bindstoprefresh="stopRefresh"></cOrderList>
</van-tab>
<van-tab title="待支付">
	<cOrderList bindConfrimOrderNotification="cofirmOrderAction" order-type="{{orderType}}" detail-url="{{detailUrl}}" datasource="{{waitPayList}}" status="{{0}}" bindstoprefresh="stopRefresh"></cOrderList>
</van-tab>
<van-tab title="待提货">
		
	<cOrderList bindConfrimOrderNotification="cofirmOrderAction" order-type="{{orderType}}" detail-url="{{detailUrl}}" datasource="{{waitSendList}}" status="{{2}}" bindstoprefresh="stopRefresh"></cOrderList>
		
</van-tab>
<van-tab title="已完成">
	
	<cOrderList bindConfrimOrderNotification="cofirmOrderAction" order-type="{{orderType}}" detail-url="{{detailUrl}}" datasource="{{waitReceiveList}}" status="{{3}}" bindstoprefresh="stopRefresh"></cOrderList>
	
</van-tab>

<van-tab title="已关闭">
	<cOrderList bindConfrimOrderNotification="cofirmOrderAction" order-type="{{orderType}}" detail-url="{{detailUrl}}" datasource="{{waitCompleteList}}" status="{{4}}" bindstoprefresh="stopRefresh"></cOrderList>
</van-tab>

</van-tabs>
<view class="contes" wx:if="{{selected==1&&isMultiplePay}}">
	<view class="button" catchtap="toMultiplePay">合并支付</view>
</view>
<shopfoot></shopfoot>


















