<!-- * @Description: 规划用地 * @Author: 王晓颖 * @Date: 2020-12-01 15:29:42 --> <template> <chart-layout title="固定资产" @click="getData"> <div class="block-container"> <div class="block" style="width:20%;height: 100%"> <assets-total/> </div> <div class="block" style="width:40%;height: 100%"> <assets-pie/> </div> <div class="block" style="width:40%;height: 100%"> <assets-bar/> </div> </div> <!--</div>--> <corner1 slot="corner"/> </chart-layout> </template> <script> import AssetsBar from './components/assetsBar' import AssetsTotal from './components/AssetsTotal' import AssetsPie from './components/assetsPie' export default { name: 'Assets', components: {AssetsPie, AssetsTotal, AssetsBar }, 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>