task_rank.axml 3.0 KB

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