stat_age_chart.vue 801 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template>
  2. <view class="page-box-bg-fff m-t20 r-30 p-b30">
  3. <view class="p-lr30 p-t30">
  4. <StatisticsTitle :is_right="false" is_age :genre="0" :leftText="'年龄分部'" :rightText="'同比环比'"
  5. @onHandle="onHandle">
  6. </StatisticsTitle>
  7. </view>
  8. <MixtureChart></MixtureChart>
  9. </view>
  10. </template>
  11. <script>
  12. import MixtureChart from "@/common/chart/mixture_chart.vue";
  13. import StatisticsTitle from "./statistics_title.vue";
  14. export default {
  15. name: 'stat-age-chart',
  16. components: {
  17. MixtureChart,
  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>