prize_buckle.axml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <view>
  2. <view class="headed margin-bottom">
  3. <view class="top flex-box flex-center-center">
  4. <view class="date flex-box flex-v-ce" catchTap="openDate">
  5. <image mode="scaleToFill" src="../../../image/date2.png"></image>
  6. <view>{{date}}</view>
  7. </view>
  8. </view>
  9. <view class="headed-box margin-bottom" a:if="{{userData.task}}">
  10. <view class="flex-box flex-v-ce">
  11. <img-box name="{{userData.name}}" imgUrl="{{userData.img_url}}" height="70rpx" width="70rpx" fSize="24rpx"></img-box>
  12. <view class="name">{{userData.name}}</view>
  13. <text class="index" a:if="{{isDb}}">全部达标</text>
  14. </view>
  15. <view class="flex-box flex-v-ce target_items">
  16. <view class="flex-1">
  17. <view class="num">{{userData.task.reward.point}}</view>
  18. <view class="jiangfen">奖分</view>
  19. <view class="target">目标{{userData.task.reward.target_point}}</view>
  20. </view>
  21. <view class="flex-1">
  22. <view class="num">{{userData.task.deduction.point}}</view>
  23. <view class="jiangfen">扣分</view>
  24. <view class="target">目标{{userData.task.deduction.target_point}}</view>
  25. </view>
  26. <view class="flex-1">
  27. <view class="num">{{userData.ratio.ratio}}</view>
  28. <view class="jiangfen">奖扣比例</view>
  29. <view class="target">目标{{userData.ratio.target_ratio}}</view>
  30. </view>
  31. <view class="flex-1">
  32. <view class="num">{{userData.task.exec.count}}</view>
  33. <view class="jiangfen">奖扣人次</view>
  34. <view class="target">目标{{userData.task.exec.target_count}}</view>
  35. </view>
  36. </view>
  37. </view>
  38. <view class="headed-box margin-bottom">
  39. <view class="flex-box flex-v-ce">
  40. <view class="title flex-1" style="padding-bottom:0rpx">月奖扣执行情况</view>
  41. <view class="fontColorT text1">奖扣</view>
  42. <view class="fontColorT text2">扣分</view>
  43. </view>
  44. <view class="f2-chart">
  45. <f2 onInit="onInitChart"></f2>
  46. </view>
  47. </view>
  48. <view class="headed-box margin-bottom">
  49. <view class="flex-box flex-v-ce">
  50. <view class="title flex-1" style="padding-bottom:0rpx">月奖扣人次</view>
  51. <view class="fontColorT text1">奖扣</view>
  52. <view class="fontColorT text2">扣分</view>
  53. </view>
  54. <view class="f2-chart">
  55. <f2 onInit="onInitChart2"></f2>
  56. </view>
  57. </view>
  58. </view>
  59. </view>