1 |
- <app-layout vue-id="83003130-1" class="data-v-3fe9575b" bind:__l="__l" vue-slots="{{['default']}}"><view class="search data-v-3fe9575b"><view class="search-input dir-left-nowrap cross-center main-center data-v-3fe9575b"><input class="input data-v-3fe9575b" type="text" 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-3fe9575b" bindtap="__e">搜索</text><block wx:if="{{keyword.length>0}}"><image class="delete data-v-3fe9575b" 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-3fe9575b"><view class="dir-left-nowrap cross-center title data-v-3fe9575b"><view class="box-grow-1 data-v-3fe9575b">历史搜索</view><image class="box-grow-0 data-v-3fe9575b" 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-3fe9575b"><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-3fe9575b" bindtap="__e">{{item.keyword+''}}</view></block></view></view></block><view class="list data-v-3fe9575b"><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-3fe9575b" bindtap="__e"><image class="image data-v-3fe9575b" src="{{item.cover_pic}}"></image><view class="content dir-top-nowrap main-between data-v-3fe9575b"><text class="name t-omit-two data-v-3fe9575b">{{item.name}}</text><view class="information dir-left-nowrap main-between cross-bottom data-v-3fe9575b"><view class="num data-v-3fe9575b"><view class="value data-v-3fe9575b"><text class="price data-v-3fe9575b">{{"¥"+item.price}}</text><text class="original_price data-v-3fe9575b">{{"¥"+item.original_price}}</text></view><text class="sales data-v-3fe9575b">{{item.sales}}</text></view><view class="data-v-3fe9575b"><view class="go-button data-v-3fe9575b">去凑单</view></view></view></view></view></block><block wx:if="{{isSearch}}"><view class="goods-list data-v-3fe9575b"><block wx:if="{{list.length<=0}}"><view class="main-center no-result data-v-3fe9575b"><view class="dir-left-nowrap cross-center data-v-3fe9575b"><image class="box-grow-0 empty data-v-3fe9575b" src="/static/image/icon/empty.png"></image><view class="box-grow-1 data-v-3fe9575b"><view class="data-v-3fe9575b">抱歉,没有相关商品</view></view></view></view></block></view></block></view></view></app-layout>
|