Newer
Older
CloudBrainNew / src / views / cityManage / components / service / service.vue
StephanieGitHub on 4 Feb 2021 1 KB first commit
<!--
 * @Description: 多元化解
 * @Author: 王晓颖
 * @Date: 2020-12-02 10:41:50
 -->
<template>
  <chart-layout title="社会心理服务" @click="getData">
    <div class="block-container">
      <div class="block" style="width:35%">
        <service-count/>
      </div>
      <div class="block" style="flex:1">
        <service-line/>
      </div>
    </div>
    <corner1 slot="corner"/>
  </chart-layout>
</template>

<script>

import ServiceLine from "./components/serviceLine";
import ServiceCount from "./components/serviceCount";
export default {
  name: 'service',
  components: {ServiceCount, ServiceLine},
  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.04rem;
    /*padding:0.1rem;*/
    .block{
      height:100%;
      box-sizing: border-box;
    }
  }
</style>