小程序-搜索商品-历史记录 有并清除-根据销量-价格筛选过滤
搜索商品 <view class="container"> <view wx:if="{{$search$show==1}}" class="content"> <view class="search"> <view class="serch_content"> <i class="iconfont icon-search" /> <input type="text" name="search_input" bindinput="$search$searchInput" class="search_input" focus="true" value="{{$search$search_input_value}}" confirm-type="search" placeholder="搜索商品" /> <i wx:if="{{$search$search_input_value!=''}}" bindtap="$search$delText" class="iconfont icon-del" /> </view> <button class="btn btn_cancel" bindtap="$search$goBack" wx:if="{{$search$search_input_value==''}}" data-wpygoback-a="">取消</button>