<app-layout vue-id="83003130-1" class="data-v-2a6c5195" bind:__l="__l" vue-slots="{{['default']}}"><view class="search data-v-2a6c5195"><view class="search-input dir-left-nowrap cross-center main-center data-v-2a6c5195"><input class="input data-v-2a6c5195" type="text" focus="{{true}}" data-event-opts="{{[['confirm',[['search',['$event']]]],['input',[['__set_model',['','keyword','$event',[]]]]]]}}" value="{{keyword}}" bindconfirm="__e" bindinput="__e"/><text data-event-opts="{{[['tap',[['search',['$event']]]]]}}" class="search-text data-v-2a6c5195" bindtap="__e">搜索</text><block wx:if="{{keyword.length>0}}"><image class="delete data-v-2a6c5195" src="/static/image/icon/delete-yuan.png" data-event-opts="{{[['tap',[['deleteKeyword',['$event']]]]]}}" bindtap="__e"></image></block></view><block wx:if="{{!isSearch&&historyList.length>0}}"><view class="history data-v-2a6c5195"><view class="dir-left-nowrap cross-center title data-v-2a6c5195"><view class="box-grow-1 data-v-2a6c5195">历史搜索</view><image class="box-grow-0 data-v-2a6c5195" src="/static/image/icon/delete.png" data-event-opts="{{[['tap',[['deleteHistory',['$event']]]]]}}" bindtap="__e"></image></view><view class="dir-left-wrap history-list data-v-2a6c5195"><block wx:for="{{historyList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['historyClick',['$0'],[[['historyList','',index,'keyword']]]]]]]}}" class="box-grow-0 cross-center item data-v-2a6c5195" bindtap="__e">{{item.keyword+''}}</view></block></view></view></block><view class="list data-v-2a6c5195"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['navigator',['/plugins/pick/detail/detail?goods_id='+item.id]]]]]}}" class="item dir-left-nowrap data-v-2a6c5195" bindtap="__e"><block wx:if="{{item.goods_stock==0}}"><view class="out-dialog data-v-2a6c5195"><image src="{{appSetting.is_use_stock=='1'?appImg.plugins_out:appSetting.sell_out_pic}}" class="data-v-2a6c5195"></image></view></block><image class="image data-v-2a6c5195" src="{{item.cover_pic}}"></image><view class="content dir-top-nowrap main-between data-v-2a6c5195"><text class="name t-omit-two data-v-2a6c5195">{{item.name}}</text><view class="information dir-left-nowrap main-between cross-bottom data-v-2a6c5195"><view class="num data-v-2a6c5195"><view class="value data-v-2a6c5195"><text class="price data-v-2a6c5195" style="{{'color:'+(getTheme.color)+';'}}">{{"￥"+item.price}}</text><text class="original_price data-v-2a6c5195">{{"￥"+item.original_price}}</text></view><text class="sales data-v-2a6c5195">{{item.sales}}</text></view><view class="data-v-2a6c5195"><view class="go-button data-v-2a6c5195" style="{{'background-color:'+(getTheme.background)+';'}}">去凑单</view></view></view></view></view></block><block wx:if="{{isSearch}}"><view class="goods-list data-v-2a6c5195"><block wx:if="{{list.length<=0}}"><view class="main-center no-result data-v-2a6c5195"><view class="dir-left-nowrap cross-center data-v-2a6c5195"><image class="box-grow-0 empty data-v-2a6c5195" src="/static/image/icon/empty.png"></image><view class="box-grow-1 data-v-2a6c5195"><view class="data-v-2a6c5195">抱歉，没有相关商品</view></view></view></view></block></view></block></view></view></app-layout>