stat_age_chart.vue 810 B

123456789101112131415161718192021222324252627282930313233343536373839
  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="'同比环比'" @onHandle="onHandle">
  4. </StatisticsTitle>
  5. <view class="column-c m-30 r-30 p-l16">
  6. <PeakChart></PeakChart>
  7. </view>
  8. </view>
  9. </template>
  10. <script>
  11. import PeakChart from "@/common/chart/peak_chart.vue";
  12. import StatisticsTitle from "@/common/statistics/statistics_title.vue";
  13. export default {
  14. name: 'stat_age_chart',
  15. components: {
  16. PeakChart,
  17. StatisticsTitle
  18. },
  19. data() {
  20. return {
  21. list: [{
  22. name: '电力',
  23. color: '#2B7DFA'
  24. }, {
  25. name: '信息传媒',
  26. color: '#00BF8A'
  27. }, {
  28. name: '互联网',
  29. color: '#ED9A2C'
  30. }, ]
  31. };
  32. }
  33. }
  34. </script>
  35. <style lang="scss" scoped>
  36. </style>