<!--pages/search/search.wxml-->
<view class="searchWrap">
	<i class="iconfont icon-search"></i>
	<input bindinput="search" class="input shadow" placeholder="请输入客户姓名" placeholder-class="placeholderStyle"></input>
	<button bindtap="toFresh" class="btn">搜索</button>
</view>
<view class="list">
	<view bindtap="select" data-index="{{index}}" wx:for="{{list}}" wx:key="index" class="item">{{item.customerName}}</view>
	<loadmore loadmore="{{pages>0&&finish===false}}" finish="{{pages>0&&finish===true}}" nodata="{{pages===0}}"></loadmore>
</view>
<customer-bottom>
	<view class="btnGroup">
		<button bindtap="toBuyerAdd" class="btn">新增购方</button>
	</view>
</customer-bottom>