sectionRanking.axml 2.6 KB

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