<view>
  <view class="flex-box flex-v-ce tab margin-bottom">
    <view class="flex-1">
      <picker onChange="bingMinute" value="{{minuteIndex}}" range="{{minuteArray}}" range-key="name">
        <text>{{minuteArray[minuteIndex].name}}</text>
      </picker>
    </view>
    <view class="flex-1" catchTap="selectDate">
      <text class="{{showDate? 'activeView':''}}" catchTap="selectDate">{{selectDateVal}}</text>
    </view>
    <view class="flex-1">
      <picker a:if="{{tisrrArr.length>0}}" onChange="bingMinute2" value="{{TisrrIndex}}" range="{{tisrrArr}}" range-key="name">
        <text>{{tisrrArr[TisrrIndex].name}}</text>
      </picker>
      <text class="fontColorT" a:else>无考勤组</text>
    </view>
  </view>
  <view class="main scroll">
    <scroll-view scroll-y="{{true}}" class="scroll" a:if="{{list.length>0}}"  onScrollToLower="onScrollToLower" >
      <view class="flex-box flex-v-ce item border-bottom" data-item="{{item}}"  onTap="openDetail" a:for="{{list}}">
        <view class="index" a:if="{{index==0}}">
          <image mode="scaleToFill" src="../../../image/1.png"/>
        </view>
        <view class="index" a:elif="{{index==1}}">
          <image mode="scaleToFill" src="../../../image/2.png"/>
        </view>
        <view class="index" a:elif="{{index==2}}">
          <image mode="scaleToFill" src="../../../image/3.png"/>
        </view>
        <view class="index" a:else>{{(index+1)}}</view>
        <view class="flex-1 flex-box flex-v-ce">
          <img-box name="{{item.name}}" imgUrl="{{item.img_url}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
          <view class="users">
            <view class="name">{{item.name}}</view>
            <view class="num">{{item.dept_name}}</view>
          </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-date notDate="{{false}}" defaultDate="{{defaultDate}}" isShow="{{showDate}}" a:if="{{showDate==true}}" onClose="onClose" onConfirm="onConfirmDate"></select-date>
</view>