Newer
Older
CloudBrainNew / src / views / socialLive / components / community / goThrough.vue
StephanieGitHub on 4 Feb 2021 1 KB first commit
<!--
 * @Description:通行情况
 * @Author: 王晓颖
 * @Date: 2020-10-13 14:32:10
 -->
<template>
  <chart-layout title="通行" @click="getData">
    <div class="block-container">
      <div class="block" style="width:40%">
        <go-through-count/>
      </div>
      <div class="block" style="width:60%">
        <go-through-bar/>
      </div>
    </div>
    <corner1 slot="corner"/>
  </chart-layout>
</template>

<script>

import TroubleData from './components/troubleData'
import TroubleDetail from './components/troubleDetail'
import GoThroughCount from "./components/goThroughCount";
import GoThroughBar from "./components/goThroughBar";
export default {
  name: 'GoThrough',
  components: {GoThroughBar, GoThroughCount, TroubleDetail, TroubleData},
  methods: {
    getData () {
      // this.$refs.parkIncomeCount.getData()
      // this.$refs.parkIncomeLine.getData()
    }
  }
}
</script>

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

    }
  }
</style>