<template>
  <div class="dashboard-editor-container">

    <!--顶部统计-->
    <el-row>
      <top-statistics ref="topStatistics"/>
    </el-row>

    <!--访问量(PV)统计-->
    <el-row class="visits-top">
      <page-view ref="pageView"/>
    </el-row>

  </div>
</template>

<script>
import TopStatistics from '@/views/business/home/topStatistics.vue'
import PageView from '@/views/business/home/pageView.vue'

export default {
  name: 'Index',
  components: {
    TopStatistics,
    PageView
  },
  data() {
    return {
      data: null
    }
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
.dashboard-editor-container {
  padding: 10px;
  background-color: rgb(240, 242, 245);
  position: relative;

  .chart-wrapper {
    background: #fff;
    padding: 16px 16px 0;
    margin-bottom: 10px;
  }
  .visits-top {
    background:#fff;
    padding:16px 16px 0;
    margin-bottom:10px;
    margin: 0px 5px;
    border-radius: 5px;
  }
}

@media (max-width: 1024px) {
  .chart-wrapper {
    padding: 8px;
  }
}
</style>
