<view class="microsearchindex">
	<view class="header">
		<view class="left" catchtap="goBack"></view>
		<view class="search">
			<view class="searchion">
				<icon class="iconfont iconfont icon-sousuo1"></icon>
			</view>
			<view class="textinp">
				<van-field value="{{ commodityTitle }}" placeholder="搜索帖子名称" bind:blur="commodityTitleInp" clearable="{{true}}" bind:clear="commodityTitleClear" />
			</view>
		</view>
		<view class="right" catchtap="goToSearch">搜索</view>
	</view>
	<view class="historical" wx:if="{{historydata&&historydata.length>0}}">
		<view class="top">
			<view class="left">历史记录</view>
			<view class="right" catchtap="clearHistory">
				<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/micro_communities/History_del@2x.png" mode='widthFix' />
			</view>
		</view>
		<view class="bottom">
			<view class="ul">
				<view class="li" wx:for="{{historydata}}" wx:key="index" catchtap="goHistoryBtn" data-val="{{item.title}}">{{item.title}}</view>
			</view>
		</view>
	</view>
</view>
