sectionRanking.axml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <view>
  2. <view class="flex-box flex-v-ce tab">
  3. <view class="flex-1" catchTap="selectDate">
  4. <text class="{{showDate? 'activeView blue':''}}">{{selectDateVal}}</text>
  5. </view>
  6. <view class="flex-1" catchTap="selectTissue">
  7. <text class="{{showTissue? 'activeView blue':''}}">{{TissueVal}}</text>
  8. </view>
  9. <view class="flex-1" catchTap="selectRule">
  10. <text class="{{showRuleTwo? 'activeView blue':''}}">{{ruleVal}}</text>
  11. </view>
  12. <view class="flex-1" catchTap="selectSx">
  13. <text class="{{showx? 'activeView blue':''}}">{{sxVal}}</text>
  14. </view>
  15. </view>
  16. <view class="fontColorF" style="font-szie:20rpx;padding:10rpx 28rpx;">排名不包含初始分和工龄分</view>
  17. <view class="main scroll">
  18. <scroll-view class="scroll" scroll-y="{{true}}" a:if="{{list.length>0}}" onScrollToLower="onScrollToLower">
  19. <view a:for="{{list}}" catchTap="openDetail" data-item="{{item}}" class="flex-box flex-v-ce item border-bottom">
  20. <view a:if="{{index==0}}" class="index">
  21. <image mode="scaleToFill" src="../../../image/1.png"></image>
  22. </view>
  23. <view a:elif="{{index==1}}" class="index">
  24. <image mode="scaleToFill" src="../../../image/2.png"></image>
  25. </view>
  26. <view a:elif="{{index==2}}" class="index">
  27. <image mode="scaleToFill" src="../../../image/3.png"></image>
  28. </view>
  29. <view a:else class="index">{{index+1}}</view>
  30. <view class="flex-1 flex-box flex-v-ce">
  31. <img-box name="{{item.employee_name}}" imgUrl="{{item.employee_img_url}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
  32. <view class="name">{{item.employee_name}}</view>
  33. </view>
  34. <view class="blue" style="margin-right:28rpx;">{{item.point}}</view>
  35. </view>
  36. </scroll-view>
  37. <no-data a:if="{{list.length==0}}"></no-data>
  38. </view>
  39. <select-section a:if="{{showTissue==true}}" isShow="{{showTissue}}" onClose="onClose" onConfirm="onConfirmTissue"></select-section>
  40. <select-sx a:if="{{showSx==true}}" isShow="{{showSx}}" onClose="onClose" onConfirm="onConfirmSx"></select-sx>
  41. <select-date a:if="{{showDate==true}}" isShow="{{showDate}}" onClose="onClose" onConfirm="onConfirmDate"></select-date>
  42. <select-rule-two a:if="{{showRuleTwo==true}}" isShow="{{showRuleTwo}}" onClose="onClose" onConfirm="onConfirmRule"></select-rule-two>
  43. </view>