ViewContentLeft.vue 1.67 KB
<template>
  <div class="left">
    <div class="top">
      <view-sub-title title="集团客户总览" />
      <view-tabs />
      <view-pie-group>
        <div slot="1"><Age></Age></div>
        <div slot="2"><BuyCar></BuyCar></div>
        <div slot="3"><Sex></Sex></div>
      </view-pie-group>
    </div>
    <div class="bottom">
      <view-sub-title title="销售数据总览" />
      <view-line-group height="14.9vh">
        <div slot="1"><Flow></Flow></div>
        <div slot="2"><Trend></Trend></div>
      </view-line-group>
      <view-pie-group>
        <div slot="1"><EnterCategory></EnterCategory></div>
        <div slot="2"><InfoFrom></InfoFrom></div>
        <div slot="3"><CustomerCategory></CustomerCategory></div>
      </view-pie-group>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
import Age from '../views/customer/age'
import BuyCar from '../views/customer/buyCar'
import Sex from '../views/customer/sex'
import Flow from '../views/salesData/flow'
import Trend from '../views/salesData/trend'
import CustomerCategory from '../views/salesData/customerCategory'
import InfoFrom from '../views/salesData/infoFrom'
import EnterCategory from '../views/salesData/enterCategory'
export default {
  name: 'ViewContentLeft',
  components: {
    Age,
    BuyCar,
    Sex,
    Flow,
    Trend,
    CustomerCategory,
    InfoFrom,
    EnterCategory
  },
  data () {
    return {
    }
  },
  mounted () {
  },
  methods: {
  }
}
</script>

<style scoped lang="scss">
.left {
  display: flex;
  flex-direction: column;
  .top {
    // height: 59%;
    height: 53.3vh;
  }
  .bottom {
    // height: calc(41% - 16px);
    height: 35.9vh;
    margin-top: auto;
  }
}
</style>