| 123456789101112131415161718192021222324252627282930 |
- <view class="tabs">
- <view style="flex: 1;width: 0;">
- <van-tabs swipe-threshold='{{threshold}}' active="{{ active }}" tab-active-class='tab-active-class' color='#3874F6' bind:change="onChange">
- <van-tab wx:for="{{tabs}}" wx:key="title" title="{{language[item.title]||item.title}}" />
- </van-tabs>
- </view>
- <view class="right">
- <view class="option" hover-class="navigator-hover" bind:tap="clickSearch">
- <text class="iconfont icon-a-sousuolansousuo" />
- </view>
- <view class="option" hover-class="navigator-hover" bind:tap="clickFiltration">
- <text class="iconfont icon-shaixuan_xianxing" />
- </view>
- </view>
- </view>
- <van-transition show="{{ startUsing }}" custom-class="block">
- <van-search custom-class='Yl_search' value="{{ condition }}" bindfocus='onFocus' bind:blur='onBlur' shape="round" placeholder="{{language['关键字']||'请输入搜索关键词'}}" bind:search='startSearch' bind:clear='endSearch' />
- <view class="Yl_history" wx:if="{{record}}">
- <view class="label" wx:if="{{showHistory && history.length}}">
- <text>{{language['最近搜索记录']||'最近搜索记录'}}</text>
- </view>
- <view class="content" wx:if="{{showHistory}}">
- <van-tag wx:for="{{history}}" style="margin-left: 6rpx;" wx:key="item" size="medium" round data-name="{{item}}" catch:close="delteTag" catchtap="clickTag">
- {{language[item]||item}}
- </van-tag>
- </view>
- </view>
- </van-transition>
|