statistics_B.axml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <view>
  2. <view class="head flex-box flex-center-center">
  3. <view class="flex-1">
  4. <view>{{data_b.month_point}}</view>
  5. <view>本月B分</view>
  6. </view>
  7. <view class="flex-1">
  8. <view>{{data_b.year_point}}</view>
  9. <view>本年B分</view>
  10. </view>
  11. <view class="flex-1">
  12. <view>{{data_b.total_point}}</view>
  13. <view>统计B分</view>
  14. </view>
  15. </view>
  16. <view class="headed margin-bottom">
  17. <view class="top">
  18. <view class="dates" style="padding:10rpx 0" catchTap="openDate">
  19. <image mode="scaleToFill" src="../../../image/date.png"/>
  20. <text>{{date}}</text>
  21. </view>
  22. </view>
  23. <view class="headed-box">
  24. <view class="title" style="padding-bottom:0rpx">近半年的B分</view>
  25. <view class="f2-chart">
  26. <f2 onInit="onInitChart"></f2>
  27. </view>
  28. </view>
  29. </view>
  30. <view class="main margin-bottom">
  31. <view class="title">积分构成</view>
  32. <view class="f2-chart" a:if="{{pieData.length>0}}">
  33. <f2 onInit="onInitChart2"></f2>
  34. </view>
  35. <no-data a:if="{{pieData.length==0}}" content="无数据" />
  36. </view>
  37. <view class="main margin-bottom">
  38. <view class="flex-box">
  39. <view class="title flex-1">奖分最多</view>
  40. <view class="gengduo">更多<image mode="scaleToFill" src="../../../image/right.png"/></view>
  41. </view>
  42. <view>
  43. <view class="flex-box list" a:for="{{data_good}}">
  44. <view class="text flex-1" a:if="{{item.remark.customize}}">{{item.remark.customize}}</view>
  45. <view class="text flex-1" a:else>{{item.remark.rule}}</view>
  46. <view class="num red" a:if="{{item.point>0}}">+{{item.point}}</view>
  47. <view class="num green" a:else>{{item.point}}</view>
  48. </view>
  49. <no-data a:if="{{data_good.length==0}}" content="无数据" />
  50. </view>
  51. </view>
  52. <view class="main">
  53. <view class="flex-box">
  54. <view class="title flex-1">扣分最多</view>
  55. <view class="gengduo">更多<image mode="scaleToFill" src="../../../image/right.png"/></view>
  56. </view>
  57. <view>
  58. <view class="flex-box list" a:for="{{data_bad}}">
  59. <view class="text flex-1" a:if="{{item.remark.customize}}">{{item.remark.customize}}</view>
  60. <view class="text flex-1" a:else>{{item.remark.rule}}</view>
  61. <view class="num red" a:if="{{item.point>0}}">+{{item.point}}</view>
  62. <view class="num green" a:else>{{item.point}}</view>
  63. </view>
  64. <no-data a:if="{{data_bad.length==0}}" content="无数据" />
  65. </view>
  66. </view>
  67. </view>