<view>
  <view class="flex-box flex-v-ce tab">
    <view class="flex-1" catchTap="selectDate">
       <text class="dateVal">{{month}}</text>
    </view>
    <view class="flex-1" catchTap="selectRule">
      <text class="{{showRuleTwo? 'activeView blue':''}}">{{ruleVal}}</text>
    </view>
    <view class="flex-1" catchTap="selectIsPx">
        <text a:if="{{isPx}}">降序</text>
        <text a:else>升序</text>
    </view>
  </view>
  <view class="fontColorF" style="font-szie:20rpx;padding:10rpx 28rpx;">排名包含初始分和工龄分</view>
  <view class="main">
    <scroll-view scroll-y="{{true}}">
      <view a:for="{{[1,2,3,4,4,6,5,5,5,5]}}" catchTap="openDetail" data-item="{{item}}" class="flex-box flex-v-ce item border-bottom">
        <view a:if="{{index==0}}" class="index">
          <image mode="scaleToFill" src="../../../image/activeSet.png"></image>
        </view>
        <view a:elif="{{index==1}}" class="index">
          <image mode="scaleToFill" src="../../../image/activeSet.png"></image>
        </view>
        <view a:elif="{{index==2}}" class="index">
          <image mode="scaleToFill" src="../../../image/activeSet.png"></image>
        </view>
        <view a:else class="index">{{index}}</view>
        <view class="flex-1 flex-box flex-v-ce">
          <img-box name="测试赛" height="70rpx" width="70rpx" fSize="24rpx"></img-box>
          <view class="users">
            <view class="name">武丈</view>
            <view class="num">管理15人</view>
          </view>
        </view>
        <view class="blue" style="margin-right:28rpx;">23</view>
      </view>
    </scroll-view>
  </view>
  <select-rule-two isShow="{{showRuleTwo}}" a:if="{{showRuleTwo==true}}" onClose="onClose" onConfirm="onConfirmRule"></select-rule-two>
</view>