riku
2026-04-02 3282e95db0207ee133d1e98d9771dec9d83b0fc4
pages/usercenter/notice/publish/components/user-list/index.wxml
@@ -21,44 +21,46 @@
      >
    </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">