list.wxml
1.9 KB
<view><u-sticky vue-id="8e0fffdc-1" bgColor="#fff" bind:__l="__l" vue-slots="{{['default']}}"><u-navbar vue-id="{{('8e0fffdc-2')+','+('8e0fffdc-1')}}" placeholder="{{true}}" autoBack="{{true}}" data-event-opts="{{[['^rightClick',[['rightClick']]]]}}" bind:rightClick="__e" bind:__l="__l" vue-slots="{{['center']}}"><view class="topSearchBox" slot="center"><u-search vue-id="{{('8e0fffdc-3')+','+('8e0fffdc-2')}}" placeholder="请输入商家名称" clearabled="{{true}}" showAction="{{false}}" value="{{searchValue}}" data-event-opts="{{[['^search',[['getList']]],['^input',[['__set_model',['','searchValue','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" bind:__l="__l"></u-search></view></u-navbar><u-tabs vue-id="{{('8e0fffdc-4')+','+('8e0fffdc-1')}}" list="{{list1}}" lineWidth="{{40}}" lineColor="#6E16FF" inactiveStyle="{{inactiveStyle}}" activeStyle="{{activeStyle}}" scrollable="{{false}}" bind:__l="__l"></u-tabs></u-sticky><block wx:if="{{searchState==1}}"><view class="mainBox"><custom-waterfalls-flow vue-id="8e0fffdc-5" value="{{list}}" imageKey="image" seat="{{2}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item" slot="slot{{index}}"><view class="title flexC">{{item.title}}</view><view class="flexJ"><view class="flexA headerBox"><image src="/static/headImg.jpg" mode="scaleToFill"></image><view>桥志三</view></view><view class="flexA"><u-rate bind:input="__e" vue-id="{{('8e0fffdc-6-'+index)+','+('8e0fffdc-5')}}" activeIcon="heart-fill" inactiveIcon="heart" count="{{count}}" value="{{value}}" data-event-opts="{{[['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:__l="__l"></u-rate><view class="numText">{{item.id}}</view></view></view></view></block></custom-waterfalls-flow></view></block><block wx:if="{{searchState==0}}"><view style="margin-top:300rpx;"><u-empty vue-id="8e0fffdc-7" bind:__l="__l"></u-empty></view></block></view>