riku
2026-01-16 1f9e43b7bbb848c7ee2aaa89ffece17002b2c915
pages/usercenter/notice/publish/components/user-list/index.wxml
@@ -21,30 +21,34 @@
      >
    </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>
    <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"
    >
    <scroll-view style="height: 70vh" scroll-y="{{true}}" bindscrolltolower="_loadMore">
      <block wx:if="{{list.length > 0}}">
      <t-checkbox
        wx:for="{{list}}"
        wx:key="index"
@@ -54,11 +58,9 @@
        checked="{{item.checked}}"
        bind:change="onCheckBoxChange"
      />
      <load-more
        list-is-empty="{{!list.length}}"
        status="{{loadStatus}}"
        bind:retry="_startLoad"
      />
      </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">