stat_finance_chart.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <template>
  2. <view class="page-box-bg-fff m-t20 r-30 p-30">
  3. <!-- 模块title -->
  4. <StatisticsTitle :genre="0" :leftText="'财务汇总占比'" :rightText="'同比环比'" @onHandle="onHandle"></StatisticsTitle>
  5. <view class="content_chart row-justify-sb center">
  6. <view class="chart_item column-c sys-from-background-color m-r30 r-20 p-tb20">
  7. <CircleChart :bgColor="'#2B7DFA'"></CircleChart>
  8. <text class="size-24 sys-from-background-color m-t16">放款</text>
  9. </view>
  10. <view class="chart_item column-c sys-from-background-color r-20 p-tb20">
  11. <CircleChart :bgColor="'#ED9A2C'"></CircleChart>
  12. <text class="size-24 sys-from-background-color m-t16">回款</text>
  13. </view>
  14. </view>
  15. </view>
  16. </template>
  17. <script>
  18. import CircleChart from "@/common/chart/circle_chart.vue";
  19. import StatisticsTitle from "@/common/statistics/statistics_title.vue";
  20. export default {
  21. name: 'content_chart',
  22. components: {
  23. CircleChart,
  24. StatisticsTitle
  25. },
  26. data() {
  27. return {
  28. };
  29. },
  30. methods: {
  31. onHandle() {
  32. console.log(999);
  33. // 业务跳转
  34. }
  35. }
  36. }
  37. </script>
  38. <style lang="scss" scoped>
  39. .content_chart {
  40. text-align: center;
  41. .chart_item {
  42. width: 330rpx;
  43. .num {
  44. width: 140rpx;
  45. height: 50rpx;
  46. line-height: 50rpx;
  47. background: #F7F9FE;
  48. border-radius: 10rpx;
  49. }
  50. }
  51. }
  52. </style>