Newer
Older
CloudBrainNew / src / views / cityManage / components / mobileManage / mobileManage.vue
wangxitong on 29 Apr 2021 1 KB 0429 submit
<!--
 * @Description: 城管执法
 * @Author: 王晓颖
 * @Date: 2020-12-02 11:12:53
 -->
<template>
  <chart-layout title="城管执法" @click="getData">
    <div class="block-container">
      <div class="block" style="width:20%">
        <mobile-case-count/>
      </div>
      <div class="block" style="width:25%">
        <mobile-case-bar/>
      </div>
      <div class="block" style="width:20%">
        <mobile-case-pie/>
      </div>
      <div class="block" style="width:30%">
        <mobile-case-detail/>
      </div>
    </div>
    <corner1 slot="corner"/>
  </chart-layout>
</template>

<script>
import StaffCount from './components/staffCount'
import MobileCaseCount from './components/mobileCaseCount'
import MobileCaseBar from './components/mobileCaseBar'
import MobileCasePie from './components/mobileCasePie'
import MobileCaseDetail from './components/mobileCaseDetail'
export default {
  name: 'MobileManage',
  components: {MobileCaseDetail, MobileCasePie, MobileCaseBar, MobileCaseCount, StaffCount},
  methods: {
    getData () {
      // this.$refs.ecardEarth.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.02rem;
    padding-left:0.1rem;
    padding-right:0.1rem;
    /*padding:0.1rem;*/
    .block{
      height:100%;
      box-sizing: border-box;
    }
  }
</style>