B_ranking.axml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <view>
  2. <view class="flex-box flex-v-ce tab">
  3. <view class="flex-1" catchTap="selectTissue">
  4. <text class="{{showTissue? 'activeView blue':''}}">{{TissueVal}}</text>
  5. </view>
  6. <view class="flex-1" catchTap="selectIsPx">
  7. <text a:if="{{isPx}}">降序</text>
  8. <text a:else>升序</text>
  9. </view>
  10. </view>
  11. <view class="fontColorF" style="font-szie:20rpx;padding:10rpx 28rpx;">排名包含初始分和工龄分</view>
  12. <view class="main scroll">
  13. <scroll-view class="scroll" scroll-y="{{true}}" a:if="{{list.length>0}}" onScrollToLower="onScrollToLower">
  14. <view a:for="{{list}}" catchTap="openDetail" data-item="{{item}}" class="flex-box flex-v-ce item border-bottom">
  15. <view a:if="{{index==0}}" class="index">
  16. <image mode="scaleToFill" src="../../../image/1.png"></image>
  17. </view>
  18. <view a:elif="{{index==1}}" class="index">
  19. <image mode="scaleToFill" src="../../../image/2.png"></image>
  20. </view>
  21. <view a:elif="{{index==2}}" class="index">
  22. <image mode="scaleToFill" src="../../../image/3.png"></image>
  23. </view>
  24. <view a:else class="index">{{index}}</view>
  25. <view class="flex-1 flex-box flex-v-ce">
  26. <img-box name="{{item.employee_name}}" imgUrl="{{item.employee_img_url}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
  27. <view class="name">{{item.employee_name}}</view>
  28. </view>
  29. <view class="blue" style="margin-right:28rpx;">{{item.point}}</view>
  30. </view>
  31. </scroll-view>
  32. <no-data a:if="{{list.length==0}}"></no-data>
  33. </view>
  34. <select-section a:if="{{showTissue==true}}" isShow="{{showTissue}}" onClose="onClose" onConfirm="onConfirmTissue"></select-section>
  35. </view>