Newer
Older
CloudBrainNew / src / views / cityConstruction / components / projects / projectInvestment.vue
wangxitong on 29 Apr 2021 1 KB 0429 submit
<!--
 * @Description: 项目投资
 * @Author: 王晓颖
 * @Date: 2020-12-01 15:29:42
 -->
<template>
  <chart-layout title="投资金额" @click="getData">
    <div class="block-container">
      <div class="block">
          <investment-total/>
      </div>
      <div class="block" style="flex:1">
          <investment-pie/>
      </div>
      <div class="block" style="flex:1">
        <investment-rank/>
      </div>
    </div>
    <corner1 slot="corner"/>
  </chart-layout>
</template>

<script>
import InvestmentRank from './components/investmentRank'
import InvestmentPie from './components/investmentPie'
import InvestmentTotal from './components/investmentTotal'
export default {
  name: 'ProjectInvestment',
  components: {InvestmentTotal, InvestmentPie, InvestmentRank},
  methods: {
    getData () {
      // this.$refs.ecardEarth.getData()
      // this.$refs.payCount.getData()
      // this.$refs.annoucementPie.getData()
      // this.$refs.bookingBar.getData()
    }
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
  .block-container{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0.04rem;
    .block{
      height:100%;
      box-sizing: border-box;
    }
  }
</style>