list.wxml 2.1 KB

1
  1. <app-layout vue-id="e284a67e-1" class="data-v-4bdfa623" bind:__l="__l" vue-slots="{{['default']}}"><view class="list-head data-v-4bdfa623"><view class="dir-left-nowrap cross-center mch-list-input data-v-4bdfa623"><view class="box-grow-1 box dir-left main-center cross-center data-v-4bdfa623"><block wx:if="{{toSearch}}"><view class="search-content data-v-4bdfa623"><input class="input data-v-4bdfa623" confirm-type="search" focus="{{getFocus}}" data-event-opts="{{[['input',[['bindInput',['$event']]]],['confirm',[['bindConfirm',['$event']]]],['blur',[['beSearch',['$event']]]]]}}" value="{{keyword}}" bindinput="__e" bindconfirm="__e" bindblur="__e"/><block wx:if="{{keyword.length}}"><view data-event-opts="{{[['tap',[['cancelPrint',['$event']]]]]}}" class="main-center cross-center close-word data-v-4bdfa623" bindtap="__e"><icon class="icon-close data-v-4bdfa623"></icon></view></block></view></block><block wx:else><view data-event-opts="{{[['tap',[['beSearch',['$event']]]]]}}" class="main-center search-content cross-center data-v-4bdfa623" bindtap="__e"><icon class="icon-search data-v-4bdfa623"></icon><text class="search-text data-v-4bdfa623">搜索</text></view></block></view><view data-event-opts="{{[['tap',[['changeCat',['$event']]]]]}}" class="cross-center data-v-4bdfa623" bindtap="__e"><icon class="icon-cats data-v-4bdfa623"></icon></view></view><block wx:if="{{catModel}}"><view class="list-cat-model dir-left-wrap cross-center data-v-4bdfa623"><block wx:for="{{cat_list}}" wx:for-item="v" wx:for-index="k" wx:key="k"><view class="data-v-4bdfa623"><view data-event-opts="{{[['tap',[['cat',['$0'],[[['cat_list','',k,'id']]]]]]]}}" bindtap="__e" class="data-v-4bdfa623"><view class="cat-name data-v-4bdfa623">{{v.name}}</view></view></view></block></view></block></view><view class="gap data-v-4bdfa623"></view><app-good-shop-recommendation vue-id="{{('e284a67e-2')+','+('e284a67e-1')}}" list="{{list}}" show-goods="{{true}}" class="data-v-4bdfa623" bind:__l="__l"></app-good-shop-recommendation><block wx:if="{{!list||list.length===0}}"><view class="no-content data-v-4bdfa623">暂无店铺记录</view></block></app-layout>