<view>
  <view class="flex-box flex-v-ce tab">
    <view class="flex-1" catchTap="selectTissue">
      <text class="{{showTissue? 'activeView blue':''}}">{{TissueVal}}</text>
    </view>
    <view class="flex-1" catchTap="selectIsPx">
      <text a:if="{{isPx}}">从高到低</text>
      <text a:else>从低到高</text>
    </view>
  </view>
  <view class="fontColorF" style="font-size:28rpx;padding:10rpx 28rpx;">排名包含初始分和工龄分</view>
  <view class="main scroll">
    <scroll-view lower-threshold="100" class="scroll" scroll-y="{{true}}" a:if="{{list.length>0}}" onScrollToLower="onScrollToLower">
      <view a:for="{{list}}" data-item="{{item}}" class="flex-box flex-v-ce item border-bottom">
        <view a:if="{{index==0}}" class="index">
          <image mode="scaleToFill" src="../../../image/1.png"></image>
        </view>
        <view a:elif="{{index==1}}" class="index">
          <image mode="scaleToFill" src="../../../image/2.png"></image>
        </view>
        <view a:elif="{{index==2}}" class="index">
          <image mode="scaleToFill" src="../../../image/3.png"></image>
        </view>
        <view a:else class="index">{{index+1}}</view>
        <view class="flex-1 flex-box flex-v-ce">
          <img-box name="{{item.employee_name}}" imgUrl="{{item.employee_img_url}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
          <view class="name">{{item.employee_name}}</view>
        </view>
        <view class="blue" style="margin-right:28rpx;">{{item.point}}</view>
      </view>
      <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
    </scroll-view>
    <no-data a:if="{{list.length==0}}"></no-data>
  </view>
  <select-section defaultSection="{{dept_id}}" a:if="{{showTissue==true}}" isShow="{{showTissue}}" onClose="onClose" onConfirm="onConfirmTissue"></select-section>
</view>