mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-02-18 06:53:50 +00:00
1 line
2.3 KiB
Plaintext
1 line
2.3 KiB
Plaintext
<view style="{{(colorStyle)}}"><view class="searchGood"><view class="search acea-row row-between-wrapper"><view class="input acea-row row-between-wrapper"><text class="iconfont icon-sousuo"></text><input type="text" focus="{{true}}" placeholder="点击搜索商品" placeholder-class="placeholder" data-event-opts="{{[['confirm',[['inputConfirm',['$event']]]],['input',[['__set_model',['','searchValue','$event',[]]],['setValue',['$event']]]]]}}" value="{{searchValue}}" bindconfirm="__e" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['searchBut',['$event']]]]]}}" class="bnt" bindtap="__e">搜索</view></view><block wx:if="{{history.length}}"><view class="title acea-row row-between-wrapper"><view>搜索历史</view><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="iconfont icon-shanchu" bindtap="__e"></view></view><view class="list acea-row"><block wx:for="{{history}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{item.keyword}}"><view data-event-opts="{{[['tap',[['setHotSearchValue',['$0'],[[['history','',index,'keyword']]]]]]]}}" class="item history-item line1" bindtap="__e">{{item.keyword}}</view></block></block></block></view></block><view class="title">热门搜索</view><view class="list acea-row"><block wx:for="{{hotSearchList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{item.val}}"><view data-event-opts="{{[['tap',[['setHotSearchValue',['$0'],[[['hotSearchList','',index,'val']]]]]]]}}" class="item line1" bindtap="__e">{{item.val}}</view></block></block></block></view><block wx:if="{{bastList.length}}"><view class="line"></view></block><block wx:if="{{bastList.length>0}}"><good-list vue-id="756b170e-1" bastList="{{bastList}}" bind:__l="__l"></good-list></block><block wx:if="{{bastList.length>0}}"><view class="loadingicon acea-row row-center-wrapper"><text class="loading iconfont icon-jiazai" hidden="{{loading==false}}"></text>{{loadTitle+''}}</view></block></view><view class="noCommodity"><block wx:if="{{bastList.length==0}}"><view class="pictrue"><image src="../../static/images/noSearch.png"></image></view></block><block wx:if="{{bastList.length==0&&page>1}}"><recommend vue-id="756b170e-2" hostProduct="{{hostProduct}}" bind:__l="__l"></recommend></block></view></view> |