1 |
- <app-layout vue-id="e528d7a2-1" class="data-v-4ec36286" bind:__l="__l" vue-slots="{{['default']}}"><view class="top data-v-4ec36286"><view class="dir-left-nowrap box data-v-4ec36286"><input class="box-grow-1 input data-v-4ec36286" type="text" placeholder="请输入内容搜索" confirm-type="搜索" data-event-opts="{{[['confirm',[['searchList',['$event']]]],['input',[['__set_model',['','keyword','$event',[]]]]]]}}" value="{{keyword}}" bindconfirm="__e" bindinput="__e"/><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="close-tip data-v-4ec36286" bindtap="__e"><block wx:if="{{keyword}}"><image class="search-close data-v-4ec36286" src="/static/image/icon/delete-yuan.png"></image></block></view><view data-event-opts="{{[['tap',[['searchList',['$event']]]]]}}" class="box-grow-0 cross-center data-v-4ec36286" bindtap="__e">搜索</view></view></view><view hidden="{{!(isSearch)}}" class="hot data-v-4ec36286"><view class="history data-v-4ec36286"><view class="dir-left-nowrap cross-center title data-v-4ec36286"><view class="box-grow-1 data-v-4ec36286">历史搜索</view><image class="box-grow-0 data-v-4ec36286" src="/static/image/icon/delete.png" data-event-opts="{{[['tap',[['deleteHistory',['$event']]]]]}}" bindtap="__e"></image></view><view class="dir-left-wrap list data-v-4ec36286"><view class="dir-left-wrap data-v-4ec36286"><block wx:for="{{historyList}}" wx:for-item="line" wx:for-index="index" wx:key="index"><view class="dir-left-wrap box-grow-0 data-v-4ec36286"><view data-event-opts="{{[['tap',[['historyClick',['$0'],[[['historyList','',index,'keyword']]]]]]]}}" class="box-grow-0 cross-center item data-v-4ec36286" bindtap="__e"><view class="t-omit data-v-4ec36286" style="max-width:650rpx;">{{line.keyword}}</view></view></view></block></view></view></view></view><block wx:if="{{!isSearch}}"><scroll-view class="auto-tab data-v-4ec36286" scroll-x="{{true}}" scroll-into-view="{{'type'+(tabCurrentIndex>=2?tabCurrentIndex-2:0)}}"><block wx:for="{{typeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="auto-item data-v-4ec36286"><view class="{{['auto-tab-item','cross-center','data-v-4ec36286',tabCurrentIndex==index?'current-type':'']}}" style="{{'color:'+(tabCurrentIndex==index?getTheme.color:'')+';'}}" id="{{'type'+index}}" data-event-opts="{{[['tap',[['tabClick',[index]]]]]}}" bindtap="__e">{{item.name+''}}</view></view></block></scroll-view><view class="empty data-v-4ec36286"></view><view style="margin-top:100rpx;" class="data-v-4ec36286"><app-special-topic-list vue-id="{{('e528d7a2-2')+','+('e528d7a2-1')}}" cat-show="{{false}}" topic-list="{{list}}" class="data-v-4ec36286" bind:__l="__l"></app-special-topic-list></view></block></app-layout>
|