ViewContentLeft.vue 1.73 KB
<template>
  <div class="left">
    <div class="top">
      <view-sub-title title="企业客户总览" />
      <view-tabs />
      <view-surface />
      <view-pie-group>
        <div slot="1"><Area :height="defaultHeight"></Area></div>
        <div slot="2"><Brand :height="defaultHeight"></Brand></div>
        <div slot="3"><Store :height="defaultHeight"></Store></div>
      </view-pie-group>
    </div>
    <div class="bottom">
      <view-sub-title title="SaaS订阅业务总览" />
      <OverSize></OverSize>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
import datas from '../utils/data'
import Area from '../views/customer/area'
import Store from '../views/customer/store'
import Brand from '../views/customer/brand'
import OverSize from '../views/saas/overview.vue'
import { clientMixin } from '../mixins/index'
export default {
  name: 'ViewContentLeft',
  mixins: [clientMixin],
  components: {
    Area,
    Store,
    Brand,
    OverSize
  },
  data() {
    return {
      defaultHeight: datas.DefaultData.defaultPieHeight
    }
  },
  created() {
    this.getClientData()
  },
  mounted() {},
  methods: {}
}
</script>

<style scoped lang="scss">
.left {
  display: flex;
  flex-direction: column;
  width: 43.89vw;
  overflow: hidden;

  .top {
    height: 50.49vh;
    width: 100%;
    background-image: url('../assets/images/bg-1.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .bottom {
    // height: calc(41% - 16px);
    height: 38.05vh;
    margin-top: auto;
    background-image: url('../assets/images/bg-2.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
}
</style>