ViewChart.vue 1014 Bytes
<template>
  <div class="view-chart flex">
    <div class="line-chart"></div>
    <div class="pie-chart">
      <Age></Age>
      <Price></Price>
      <BuyCar></BuyCar>
      <Mileage></Mileage>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
import * as echarts from 'echarts'
import datas from '../utils/data'
import Age from '../views/user/age.vue'
import Price from '../views/user/price'
import BuyCar from '../views/user/buyCar'
import Mileage from '../views/user/mileage'
export default {
  name: 'ViewChart',
  components: {
    Age,
    Price,
    BuyCar,
    Mileage
  },
  data() {
    return {}
  },
  mounted() {},
  methods: {}
}
</script>

<style scoped lang="scss">
.view-chart {
  height: 19.51vh;
  margin: 0.98vh 0;
  .line-chart {
    width: 26.25vw;
    height: 100%;
    background: #0b0e31;
    margin-right: 0.56vw;
  }
  .pie-chart {
    width: 23.28vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
</style>