<template>
  <div class="home">
    <!-- 首页 -->
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import { format } from '@/filters/common'

export default {
  name: 'Dashboard',

  components: {
  },
  data() {
    return {

    }
  },
  computed: {
    ...mapGetters(['name'])
  },
  created() {

  },
  destroyed() {

  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
.home {
  width: 100%;
  height: 100%;
  background: rgb(240, 242, 245);
  position: relative;

  .nav {
    position: fixed;
    top: 230px;
    right: 5px;
    padding: 10px 0;
    text-align: center;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 0 9px 3px #ddd;
    border-radius: 8px;

    div {
      width: 100%;
      height: 40px;
      line-height: 40px;
      padding: 0 10px;
      cursor: pointer;
    }

    .active {
      background: #f2f2f2;
    }
  }

  .table_con {
    height: 580px;
  }

  .home_data {
    width: 95%;
    margin: 0 auto;

    .el-row {
      .el-col {
        border-radius: 4px;

        .grid-content {
          margin-top: 20px;
          background: #fff;
          border-radius: 4px;
          min-height: 36px;
          font-weight: bold;
          padding: 0 15px;
          display: flex;
          justify-content: space-between;
          align-items: center;

          .name {
            color: rgba(0, 0, 0, 0.45);
          }

          .num {
            margin-top: 15px;
            font-size: 22px;
          }

          .custom-class {
            width: 135px;
            height: 135px;
          }
        }
      }
    }
  }

  .echarts {
    .el-row {
      background: #fff;
      width: 95%;
      margin: 20px auto 0;
      padding: 15px;
      border-radius: 4px;

      &:last-child {
        margin-bottom: 0px;
      }
    }
  }
}
</style>
