<!-- 搜索 -->
<form bindsubmit="searchForm" class="search">
	<view class="searchCont">
		<image src="/static/icon/secrch_icon.png"></image>
		<input class="search-navigator" name="search" placeholder="请输入门店名称" value="{{searchText}}"></input>
		<button class="search-btn" form-type="submit">搜索</button>
	</view>
</form>

<!-- 筛选 -->
<view class="screen">
	<view class="screenLabel">
		<picker bindchange="regi" data-type="area" value="{{areaIndex}}" range="{{areas}}" range-key="name" name="district_id">
			<view class="nowrap picker">
				{{areas[areaIndex].name}}
			</view>
			<image class="screenLabel-arrow" src="/static/icon/arrow_down.png"></image>
		</picker>
	</view>
	<view class="screenLabel">
		<picker bindchange="regi" data-type="city" value="{{cityIndex}}" range="{{cityList}}" range-key="name" name="district_id">
			<view class="nowrap picker">
				{{cityList[cityIndex].name}}
			</view>
			<image class="screenLabel-arrow" src="/static/icon/arrow_down.png"></image>
		</picker>
	</view>
	<view class="screenLabel">
		<picker bindchange="regi" data-type="regi" value="{{regiIndex}}" range="{{regiList}}" range-key="name" name="district_id">
			<view class="nowrap picker">
				{{regiList[regiIndex].name}}
			</view>
			<image class="screenLabel-arrow" src="/static/icon/arrow_down.png"></image>
		</picker>
	</view>
</view>

<!-- 门店列表 -->
<view class="storeList" wx:if="{{stores != ''}}">
	<view class="detailsStore-list" wx:for="{{stores}}" wx:key="stores" bindtap="detailsTap" data-id="{{item.store_id}}">
		<image src="{{item.cover}}" class="detailsStore-logo"></image>
		<view class="detailsStore-cont">
			<view class="nowrap detailsStore-name">{{item.title}}</view>
			<view class="detailsStore-place">
				<text class="nowrap">{{item.address}}</text>
				{{item.km}}
			</view>
		</view>
	</view>
	<view class="pagesLoding" wx:if="{{lodingStats}}">
		<block wx:if="{{page.has_more}}">
			<image class="pagesLoding-icon" src="/static/icon/refresh_loding.gif" mode="widthFix"></image>加载中...
		</block>
		<block wx:else>
			没有更多了~
		</block>
	</view>
</view>

<!-- 优惠券为空 -->
<view class="pack-center pages-hint" wx:else>
	<image src="/static/img/null_icon.png"></image>
	<view>暂无商家</view>
</view>