<view class="hospital-scroll-fetch" style="{{style}}">
  <view a:if="{{showRange}}">
    <picker onChange="pickerChange" range="{{range}}" value="{{value}}" range-key="name">
      <view class="scroll-fetch-picker">
        <text>{{fetchTitle}}</text>
        <text>{{range[value].name || '请选择'}}</text>
      </view>
    </picker>
  </view>
  <slot list="{{list}}" onFetchList="fetchList">
    <view></view>
  </slot>
  <view a:if="{{noData}}" style="margin-top: 300rpx;">
    <hj-empty onRefresh="fetchList" showRefresh="true"></hj-empty>
  </view>
  <view class="loading">
    <hj-loading a:if="{{loading}}"></hj-loading>
  </view>
</view>
