<view class="searchcontent">
	<view class="soso uou">
		<view class="search">
			<view class="left">
				<view class="searchBox">
						<van-field value="{{ inputs }}" style="flex:1;" placeholder="搜索当前分类商品" border="{{ false }}" bind:inp="inpbtn" clearable bind:clear="inpbtnclear" />
					<!-- <input type="search" placeholder="搜索当前分类商品" value="{{inputs}}" bindinput="inpbtn" /> -->
					<view class="img-icon" catchtap='gotoSearch'>
						<view class="img-icon-btn"></view>
					</view>
				</view>
			</view>
			<view class="right">
				<view class="search_bth" catchtap="gotoSearch">
					<view class="span">搜索</view>
				</view>
			</view>
		</view>
	</view>
	<view class="box_content">
		<view class="left">
			<view class="sort_box">
				<view class="sort_a ul">
					<view class="li" bindtap="toggle" wx:if="{{!supplier}}" data-idx="{{1}}">
						<view class="left {{hascolor=='1'?'sel':''}}">
							评价
						</view>
						<view class="right">
							<text class="icon_up {{colorshow=='1_1'?'sel':''}}"></text>
							<text class="icon_down {{colorshow=='1_2'?'sel':''}}"></text>
						</view>
					</view>
				</view>
				<view class="sort_b ul">
					<view class="li" bindtap="toggle" data-idx="{{2}}">
						<view class="left {{hascolor=='2'?'sel':''}}">
							销量
						</view>
						<view class="right">
							<text class="icon_up {{colorshow=='2_1'?'sel':''}}"></text>
							<text class="icon_down {{colorshow=='2_2'?'sel':''}}"></text>
						</view>
					</view>
				</view>
				<view class="sort_c ul">
					<view class="li" bindtap="toggle" data-idx="{{3}}">
						<view class="left {{hascolor=='3'?'sel':''}}">
							价格
						</view>
						<view class="right">
							<text class="icon_up {{colorshow=='3_1'?'sel':''}}"></text>
							<text class="icon_down {{colorshow=='3_2'?'sel':''}}"></text>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="right">
			<view class="sort_icon"  catchtap="classifyBolbtn">
				<block wx:if="{{show}}">
					<icon class="iconfont icon-sort_a"></icon>
				</block>
				<block wx:if="{{!show}}">
					<icon class="iconfont icon-sort_b"></icon>
				</block>
			</view>
		</view>
	</view>
	<cGoodsList wx:if="{{datas.length>0}}" goods='{{datas}}' classifyBol="{{classifyBol}}" goods_template="{{goods_template}}" text='搜索结果' type="{{type}}"></cGoodsList>
</view>
<shopfoot></shopfoot>
