| | |
| | | > |
| | | </view> |
| | | <view class="filter-wrap"> |
| | | <template |
| | | is="picker-selector" |
| | | data="{{key: 'scene', value: sceneText}}" |
| | | /> |
| | | <template |
| | | is="picker-selector" |
| | | data="{{key: 'district', value: districtText}}" |
| | | /> |
| | | <template is="picker-selector" data="{{key: 'scene', value: sceneText}}" /> |
| | | <template is="picker-selector" data="{{key: 'district', value: districtText}}" /> |
| | | <template is="picker-selector" data="{{key: 'town', value: townText}}" /> |
| | | </view> |
| | | <t-search |
| | | placeholder="{{placeholder}}" |
| | | model:value="{{searchValue}}" |
| | | bind:submit="_startLoad" |
| | | bind:clear="_startLoad" |
| | | > |
| | | </t-search> |
| | | <view class="filter-wrap"> |
| | | <t-search |
| | | style="flex: 1" |
| | | placeholder="{{placeholder}}" |
| | | model:value="{{searchValue}}" |
| | | bind:submit="_startLoad" |
| | | bind:clear="_startLoad" |
| | | > |
| | | </t-search> |
| | | <t-checkbox |
| | | t-class="t-class-checkbox" |
| | | placement="right" |
| | | borderless |
| | | icon="rectangle" |
| | | block="{{true}}" |
| | | label="全选" |
| | | checked="{{checkAll}}" |
| | | bind:change="onCheckAll" |
| | | /> |
| | | </view> |
| | | </view> |
| | | <view class="page-container"> |
| | | <scroll-view |
| | | style="height: 70vh" |
| | | scroll-y="{{true}}" |
| | | bindscrolltolower="_loadMore" |
| | | > |
| | | <t-checkbox |
| | | wx:for="{{list}}" |
| | | wx:key="index" |
| | | t-class-label="t-class-checkbox-label" |
| | | label="{{item.realname}}" |
| | | data-index="{{index}}" |
| | | checked="{{item.checked}}" |
| | | bind:change="onCheckBoxChange" |
| | | /> |
| | | <load-more |
| | | list-is-empty="{{!list.length}}" |
| | | status="{{loadStatus}}" |
| | | bind:retry="_startLoad" |
| | | /> |
| | | <scroll-view style="height: 70vh" scroll-y="{{true}}" bindscrolltolower="_loadMore"> |
| | | <block wx:if="{{list.length > 0}}"> |
| | | <t-checkbox |
| | | wx:for="{{list}}" |
| | | wx:key="index" |
| | | t-class-label="t-class-checkbox-label" |
| | | label="{{item.realname}}" |
| | | data-index="{{index}}" |
| | | checked="{{item.checked}}" |
| | | bind:change="onCheckBoxChange" |
| | | /> |
| | | </block> |
| | | <t-empty-page wx:else description="无相关记录" /> |
| | | <load-more list-is-empty="{{!list.length}}" status="{{loadStatus}}" bind:retry="_startLoad" /> |
| | | </scroll-view> |
| | | </view> |
| | | <!-- <view class="footer"> |