<view class="pageBg data-v-61e87a46"><view class="top data-v-61e87a46"><view class="head data-v-61e87a46"><view class="search data-v-61e87a46"><image class="search_icon data-v-61e87a46" src="http://139.9.103.171:1888/img/image/search_icon.png"></image><input class="search_input data-v-61e87a46" placeholder="商品名称" placeholder-style="color:#ccc;" data-event-opts="{{[['input',[['inputSearch',['$event']]]],['blur',[['searchBlur',['$event']]]]]}}" value="{{searchValue}}" bindinput="__e" bindblur="__e"/><block wx:if="{{searchValue}}"><image class="search-close data-v-61e87a46" src="http://139.9.103.171:1888/img/image/close2.png" mode="widthFix" data-event-opts="{{[['tap',[['tapClearInput',['$event']]]]]}}" bindtap="__e"></image></block><view data-event-opts="{{[['tap',[['tapSearch',['']]]]]}}" class="search_text data-v-61e87a46" bindtap="__e">搜索</view></view></view><block wx:if="{{!showHistory}}"><view class="condition data-v-61e87a46"><view data-event-opts="{{[['tap',[['tapActive',[0]]]]]}}" class="{{['item data-v-61e87a46',(curActive==0)?'active':'']}}" bindtap="__e"><view class="data-v-61e87a46">默认</view></view><view data-event-opts="{{[['tap',[['tapActive',[1]]]]]}}" class="{{['item data-v-61e87a46',(curActive==1)?'active':'']}}" bindtap="__e"><view class="data-v-61e87a46">销量</view><block wx:if="{{curActive!=1}}"><image src="http://139.9.103.171:1888/img/image/sort_arrow_icon.png" class="data-v-61e87a46"></image></block><block wx:else><block class="data-v-61e87a46"><block wx:if="{{typeList[curActive].v==1}}"><image src="http://139.9.103.171:1888/img/image/sort_down_arrow.png" class="data-v-61e87a46"></image></block><block wx:else><image src="http://139.9.103.171:1888/img/image/sort_up_arrow.png" class="data-v-61e87a46"></image></block></block></block></view><view data-event-opts="{{[['tap',[['tapActive',[2]]]]]}}" class="{{['item data-v-61e87a46',(curActive==2)?'active':'']}}" bindtap="__e"><view class="data-v-61e87a46">价格</view><block wx:if="{{curActive!=2}}"><image src="http://139.9.103.171:1888/img/image/sort_arrow_icon.png" class="data-v-61e87a46"></image></block><block wx:else><block class="data-v-61e87a46"><block wx:if="{{typeList[curActive].v==1}}"><image src="http://139.9.103.171:1888/img/image/sort_down_arrow.png" class="data-v-61e87a46"></image></block><block wx:else><image src="http://139.9.103.171:1888/img/image/sort_up_arrow.png" class="data-v-61e87a46"></image></block></block></block></view></view></block></view><block wx:if="{{showHistory&&history.length>0}}"><view class="pre_tip_keyword data-v-61e87a46"><view class="top_height data-v-61e87a46"></view><view class="item_wrap data-v-61e87a46"><view class="item_type data-v-61e87a46">历史搜索</view><view class="item_value_box data-v-61e87a46"><block wx:for="{{history}}" wx:for-item="item" wx:for-index="idx" wx:key="idx"><view data-event-opts="{{[['tap',[['tapSearch',['$0'],[[['history','',idx]]]]]]]}}" class="item_value data-v-61e87a46" bindtap="__e">{{item.keyword}}</view></block></view></view></view></block><block wx:if="{{!showHistory}}"><view class="search_results data-v-61e87a46"><view class="top_height data-v-61e87a46"></view><block wx:if="{{emptyType==0}}"><view class="goods_list_result data-v-61e87a46"><dt-goods-list-h vue-id="3417e0ff-1" dataList="{{dataList}}" share="{{true}}" class="data-v-61e87a46" bind:__l="__l"></dt-goods-list-h></view></block><block wx:if="{{isNoMore}}"><dt-no-more vue-id="3417e0ff-2" class="data-v-61e87a46" bind:__l="__l"></dt-no-more></block><dt-empty vue-id="3417e0ff-3" type="{{emptyType}}" class="data-v-61e87a46" bind:__l="__l"></dt-empty></view></block></view>