1 |
- <view class="data-v-906defba"><view class="search data-v-906defba"><view class="search-input data-v-906defba"><text class="iconfont icon-iconfonticonfontsousuo1 data-v-906defba"></text><input maxlength="20" focus="{{true}}" type="text" value="{{searchText}}" confirm-type="search" placeholder="请输入商品关键词" data-event-opts="{{[['focus',[['onFocus',['$event']]]],['input',[['__set_model',['','searchText','$event',['trim']]],['onShowClose',['$event']]]],['confirm',[['searchStart']]],['blur',[['$forceUpdate']]]]}}" bindfocus="__e" bindinput="__e" bindconfirm="__e" bindblur="__e" class="data-v-906defba"/><block wx:if="{{isShowClose}}"><text data-event-opts="{{[['tap',[['delInputText']]]]}}" class="iconfont icon-shanchu1 data-v-906defba" bindtap="__e"></text></block></view><view data-event-opts="{{[['tap',[['searchStart']]]]}}" class="search-btn data-v-906defba" bindtap="__e">搜索</view></view><view class="search-container data-v-906defba"><block wx:if="{{isSearchHistory}}"><view class="{{['data-v-906defba','s-'+theme]}}"><view class="header data-v-906defba">搜索历史<text data-event-opts="{{[['tap',[['delhistory',['$event']]]]]}}" class="iconfont icon-shanchu data-v-906defba" bindtap="__e"></text></view><view class="list data-v-906defba"><block wx:for="{{serachRecordList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['keywordsClick',['$0'],[[['serachRecordList','',index,'searchWord']]]]]]]}}" bindtap="__e" class="data-v-906defba">{{item.searchWord}}</view></block></view></view></block></view></view>
|