<!--pages/location/location.wxml-->
<view class="menu location-search" style="{{ 'background-color:'+(params.bgcolor?params.bgcolor:'')+';border-color:'+(params.bordercolor?params.bordercolor:'')+';'}}">
	<view class="location" style="{{'color:'+(params.color2?params.color2:'')+';'}}" catchtap='tolocation'>
		<view class="left">
			<icon class="iconfont icon-icon_location"></icon>
		</view>
		<view class="middle">
			<view class="span">{{address || '全国'}}</view>
		</view>
		<view class="right">
			<icon class="iconfont icon-member-bottom"></icon>
		</view>
	</view>
	<view catchtap="tosearch" class="search-form-box" style="{{'background-color:'+(params.bgcolor?params.bgcolor:'')+';color:'+(params.color?params.color:'')+';'}}">
		<view class="left">
			<icon class="iconfont icon-sousuo"></icon>
		</view>
		<view class="right">
			{{params.placeholder || '附近商家商品'}}
		</view>
	</view>
</view>
