Newer
Older
CloudBrainNew / src / views / cityManage / components / truck / truck.vue
StephanieGitHub on 4 Feb 2021 1 KB first commit
<!--
 * @Description: 渣土车管理
 * @Author: 王晓颖
 * @Date: 2020-12-02 11:12:53
 -->
<template>
  <chart-layout title="渣土车管理" @click="getData">
    <div class="block-container">
      <div class="block" style="width:40%">
        <truck-count/>
      </div>
      <div class="block" style="width:60%">
        <truck-case-detail/>
      </div>
      <div class="block" style="width:100%">
        <truck-line/>
      </div>
    </div>
    <corner1 slot="corner"/>
  </chart-layout>
</template>

<script>

import TruckCount from './components/truckCount'
import TruckCaseDetail from './components/truckCaseDetail'
import TruckLine from './components/truckLine'
export default {
  name: 'Truck',
  components: {TruckLine, TruckCaseDetail, TruckCount},
  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;
    flex-wrap: wrap;
    padding: 0.02rem;
    padding-right:0.1rem;
    .block{
      height:50%;
      box-sizing: border-box;
    }
  }
</style>