prize_buckle.axml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 style="font-size:32rpx;position: relative;" class="{{showDate? 'activeView':''}}">{{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. <text class="flex-1"></text>
  15. <text class="blue" catchTap="open2">奖扣明细<text style="font-size:0.24rem;position: relative;right:-10rpx;top:-4rpx">〉</text></text>
  16. </view>
  17. <view class="flex-box flex-v-ce target_items">
  18. <view class="flex-1">
  19. <view class="num">{{userData.task.reward.point}}</view>
  20. <view class="jiangfen">奖分</view>
  21. <view class="target">目标{{userData.task.reward.target}}</view>
  22. </view>
  23. <view class="flex-1">
  24. <view class="num">{{userData.task.deduction.point}}</view>
  25. <view class="jiangfen">扣分</view>
  26. <view class="target">目标{{userData.task.deduction.target}}</view>
  27. </view>
  28. <view class="flex-1">
  29. <view class="num">{{userData.ratio.ratio}}</view>
  30. <view class="jiangfen">奖扣比例</view>
  31. <view class="target">目标{{userData.ratio.target_ratio}}</view>
  32. </view>
  33. <view class="flex-1">
  34. <view class="num">{{userData.task.exec.count}}</view>
  35. <view class="jiangfen">奖扣人次</view>
  36. <view class="target">目标{{userData.task.exec.target}}</view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="headed-box margin-bottom">
  41. <view class="flex-box flex-v-ce">
  42. <view class="title flex-1" style="padding-bottom:0rpx">月奖扣执行情况</view>
  43. <view class="fontColorD text1">奖分</view>
  44. <view class="fontColorD text2">扣分</view>
  45. </view>
  46. <view class="f2-chart">
  47. <f2 onInit="onInitChart"></f2>
  48. </view>
  49. </view>
  50. <view class="headed-box margin-bottom">
  51. <view class="flex-box flex-v-ce">
  52. <view class="title flex-1" style="padding-bottom:0rpx">月奖扣人次</view>
  53. <view class="fontColorD text1">奖分人次</view>
  54. <view class="fontColorD text2">扣分人次</view>
  55. </view>
  56. <view class="f2-chart">
  57. <f2 onInit="onInitChart2" a:if="{{showtu}}"></f2>
  58. </view>
  59. </view>
  60. </view>
  61. </view>