|
|
@ -6,7 +6,9 @@ |
|
|
<view class="bg-white"> |
|
|
<view class="bg-white"> |
|
|
<free-input value="{{form.name}}" placeholder="请输入关键字" extreaWord="搜索" bind:focus="onFocusChange" bind:blur="onBlurChange" focus="{{focus}}" close="{{true}}" bind:extrea="onSearchList"></free-input> |
|
|
<free-input value="{{form.name}}" placeholder="请输入关键字" extreaWord="搜索" bind:focus="onFocusChange" bind:blur="onBlurChange" focus="{{focus}}" close="{{true}}" bind:extrea="onSearchList"></free-input> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="bg-white" style="height:90rpx;border-bottom:2rpx solid #f3f3f3" wx:if="{{!focus || rearchStringList.length == 0}}"> |
|
|
|
|
|
<wux-tabi tab-data="{{tabList}}" tab-index="{{tabIndex}}" line-height="{{3}}" scroll="{{false}}" bind:change="onTabChange"></wux-tabi> |
|
|
|
|
|
</view> |
|
|
<view class="bg-white" wx:if="{{focus}}"> |
|
|
<view class="bg-white" wx:if="{{focus}}"> |
|
|
<view class="cu-form-group" style="min-height:80rpx" wx:if="{{rearchStringList.length}}"> |
|
|
<view class="cu-form-group" style="min-height:80rpx" wx:if="{{rearchStringList.length}}"> |
|
|
<view class="action" style="color:black">搜索历史</view> |
|
|
<view class="action" style="color:black">搜索历史</view> |
|
|
@ -19,9 +21,6 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view wx:else> |
|
|
<view wx:else> |
|
|
<view class="bg-white" style="height:90rpx;border-bottom:2rpx solid #f3f3f3"> |
|
|
|
|
|
<wux-tabi tab-data="{{tabList}}" tab-index="{{tabIndex}}" line-height="{{3}}" scroll="{{false}}" bind:change="onTabChange"></wux-tabi> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="flex flex-column flex-center" wx:if="{{loading}}" style="height:{{height -90}}rpx"> |
|
|
<view class="flex flex-column flex-center" wx:if="{{loading}}" style="height:{{height -90}}rpx"> |
|
|
<view class="load-spinner text-gray" /> |
|
|
<view class="load-spinner text-gray" /> |
|
|
<view class="text-empty" style="margin-top:48rpx">加载中...</view> |
|
|
<view class="text-empty" style="margin-top:48rpx">加载中...</view> |
|
|
|