stat_age_chart.vue 795 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template>
  2. <view class="page-box-bg-fff m-t20 r-30 p-30">
  3. <StatisticsTitle :is_right="false" is_age :genre="0" :leftText="'年龄分部'" :rightText="'同比环比'"
  4. @onHandle="onHandle">
  5. </StatisticsTitle>
  6. <view class="column-c m-30 r-30 p-l16">
  7. <PeakChart></PeakChart>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. import PeakChart from "@/common/chart/peak_chart.vue";
  13. import StatisticsTitle from "./statistics_title.vue";
  14. export default {
  15. name: 'stat_age_chart',
  16. components: {
  17. PeakChart,
  18. StatisticsTitle
  19. },
  20. data() {
  21. return {
  22. list: [{
  23. name: '电力',
  24. color: '#2B7DFA'
  25. }, {
  26. name: '信息传媒',
  27. color: '#00BF8A'
  28. }, {
  29. name: '互联网',
  30. color: '#ED9A2C'
  31. }, ]
  32. };
  33. }
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. </style>