图书馆小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1 lines
2.6 KiB

<view style="background-color:#fff;padding-bottom:5px;" class="data-v-4cedc0c6"><view class="my-search-container data-v-4cedc0c6"><view class="my-search-wrapper data-v-4cedc0c6"><picker class="picker-select data-v-4cedc0c6" mode="selector" range="{{rangeText}}" value="{{selectIndex}}" data-event-opts="{{[['change',[['onPickerChange',['$event']]]]]}}" bindchange="__e"><view class="picker-display data-v-4cedc0c6">{{''+(selectValueText||'请选择分类')+''}}<uni-icons style="margin-left:4px;" vue-id="50cad900-1" type="arrowdown" size="14" color="#999" class="data-v-4cedc0c6" bind:__l="__l"></uni-icons></view></picker><uni-search-bar class="my-search-bar data-v-4cedc0c6" vue-id="50cad900-2" cancelButton="none" bgColor="#f7f7f7" placeholder="请输入搜索内容" value="{{value}}" data-event-opts="{{[['^confirm',[['onSearch']]],['^focus',[['onFocus']]],['^blur',[['onBlur']]],['^clear',[['onClear']]],['^cancel',[['onCancel']]],['^input',[['__set_model',['','value','$event',[]]],['onInput']]]]}}" bind:confirm="__e" bind:focus="__e" bind:blur="__e" bind:clear="__e" bind:cancel="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['clearIcon']}}"><uni-icons vue-id="{{('50cad900-3')+','+('50cad900-2')}}" slot="clearIcon" type="clear" color="#999999" class="data-v-4cedc0c6" bind:__l="__l"></uni-icons></uni-search-bar></view><view data-event-opts="{{[['tap',[['onSearch',['$event']]]]]}}" class="search-btn-container data-v-4cedc0c6" bindtap="__e"><button class="search-btn data-v-4cedc0c6" type="primary">搜索</button></view><view class="filter-container data-v-4cedc0c6"><block wx:if="{{$root.g0>0}}"><view class="total-reslut data-v-4cedc0c6">{{'搜索到 '+total+" 条记录,共 "+totalPage+" 页,当前第 "+page+' 页'}}</view></block><view class="data-v-4cedc0c6">筛选</view></view></view><block wx:if="{{$root.g1>0}}"><view style="padding-top:154px;" class="data-v-4cedc0c6"><scroll-view style="height:calc(100vh - 80px);" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['onScrollLower',['$event']]]]]}}" bindscrolltolower="__e" class="data-v-4cedc0c6"><block wx:for="{{listData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><book-list-item class="hot-list-item data-v-4cedc0c6" vue-id="{{'50cad900-4-'+index}}" data="{{item}}" ranking="{{index+1}}" data-event-opts="{{[['^click',[['onItemClick',['$0'],[[['listData','',index]]]]]]]}}" bind:click="__e" bind:__l="__l"></book-list-item></block><block wx:if="{{total>$root.g2}}"><view class="load-more data-v-4cedc0c6"> 上拉加载更多... </view></block><block wx:if="{{$root.g3}}"><view class="load-more data-v-4cedc0c6"> 没有更多数据了 </view></block></scroll-view></view></block></view>