search.ttml 1.3 KB

1
  1. <view><fa-navbar vue-id="50c96cdf-1" title="搜索" bind:__l="__l"></fa-navbar><view class="u-p-20 u-bg-white"><u-search vue-id="50c96cdf-2" placeholder="请输入关键词搜索" focus="{{true}}" value="{{keyword}}" data-event-opts="{{[['^custom',[['search']]],['^input',[['__set_model',['','keyword','$event',[]]]]]]}}" bind:custom="__e" bind:input="__e" bind:__l="__l"></u-search></view><view class="u-bg-white u-border-bottom"><fa-orderby vue-id="50c96cdf-3" tabList="{{tabList}}" showField="title" activeColor="{{theme.bgColor}}" data-event-opts="{{[['^change',[['orderChange']]]]}}" bind:change="__e" bind:__l="__l"></fa-orderby></view><fa-article-item vue-id="50c96cdf-4" archivesList="{{pageList}}" bind:__l="__l"></fa-article-item><block tt:if="{{!pageList.length}}"><view class="u-p-60"><u-empty vue-id="50c96cdf-5" text="没有更多了" bind:__l="__l"></u-empty></view></block><block tt:if="{{pageList.length}}"><view class="u-p-30"><u-loadmore vue-id="50c96cdf-6" bg-color="#f4f6f8" status="{{status}}" bind:__l="__l"></u-loadmore></view></block><u-back-top vue-id="50c96cdf-7" scroll-top="{{scrollTop}}" icon-style="{{$root.a0}}" custom-style="{{({backgroundColor:lightColor})}}" bind:__l="__l"></u-back-top><fa-tabbar vue-id="50c96cdf-8" bind:__l="__l"></fa-tabbar></view>