Newer
Older
CloudBrainNew / src / views / industrialEconomy / components / structure / structure.vue
[wangxitong] on 4 Jun 2021 1 KB 0604 submit
<!--
 * @Description: 规划用地
 * @Author: 王晓颖
 * @Date: 2020-12-01 15:29:42
 -->
<template>
  <chart-layout title="产业结构" @click="getData">
    <div class="block-container">
      <div class="block" style="width:50%;height: 100%">
          <structure-count/>
      </div>
      <div class="block" style="width:50%;height: 100%">
          <structure-pie/>
      </div>
    </div>
    <!--</div>-->
    <corner1 slot="corner"/>
  </chart-layout>
</template>

<script>
import StructureCount from './components/StructureCount'
import StructurePie from './components/structurePie'
export default {
  name: 'Structure',
  components: {StructurePie, StructureCount },
  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;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 0.04rem;
    /*padding:0.1rem;*/
    .block{
      box-sizing: border-box;
    }
  }
</style>