<view class="content data-v-aa2ac7e4"><view class="search-box data-v-aa2ac7e4"><view class="input-box data-v-aa2ac7e4"><input type="text" adjust-position="true" placeholder="{{defaultKeyword}}" placeholder-class="search_text" data-key="false" confirm-type="search" data-event-opts="{{[['confirm',[['doSearch',['$event']]]],['input',[['__set_model',['','keyword','$event',[]]],['onclear',['$event']]]]]}}" value="{{keyword}}" bindconfirm="__e" bindinput="__e" class="data-v-aa2ac7e4"/><block wx:if="{{shows==true}}"><image src="/static/images/search/close.png" mode="{{true}}" data-event-opts="{{[['tap',[['clears',['$event']]]]]}}" bindtap="__e" class="data-v-aa2ac7e4"></image></block></view><view class="search-btn data-v-aa2ac7e4" style="{{('background:'+colors)}}" data-key="false" data-event-opts="{{[['tap',[['doSearch',['$event']]]]]}}" bindtap="__e">搜索</view></view><view class="search-keyword data-v-aa2ac7e4"><block wx:if="{{isShowKeywordList}}"><scroll-view class="keyword-list-box data-v-aa2ac7e4" scroll-y="{{true}}"><block wx:for="{{keywordList}}" wx:for-item="row" wx:for-index="index" wx:key="index"><view class="data-v-aa2ac7e4"><view class="keyword-entry data-v-aa2ac7e4" hover-class="keyword-entry-tap"><view data-event-opts="{{[['tap',[['jumpData',['$0'],[[['keywordList','',index,'goods_id']]]]]]]}}" class="keyword-text data-v-aa2ac7e4" bindtap="__e"><text style="font-size:24rpx;" class="data-v-aa2ac7e4">{{row.goods_name}}</text></view></view></view></block></scroll-view></block><block wx:if="{{!isShowKeywordList}}"><scroll-view class="keyword-box data-v-aa2ac7e4" scroll-y="{{true}}"><block wx:if="{{oldKeywordList.length>0}}"><view class="keyword-block data-v-aa2ac7e4"><view class="keyword-list-header data-v-aa2ac7e4"><view class="data-v-aa2ac7e4">历史搜索</view><view class="data-v-aa2ac7e4"><image src="/static/images/search/delete.png" data-event-opts="{{[['tap',[['oldDelete',['$event']]]]]}}" bindtap="__e" class="data-v-aa2ac7e4"></image></view></view><view class="keyword data-v-aa2ac7e4"><block wx:for="{{oldKeywordList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['ondoSearch',['$0'],[[['oldKeywordList','',index]]]]]]]}}" bindtap="__e" class="data-v-aa2ac7e4">{{item}}</view></block></view></view></block></scroll-view></block></view></view>