<template>
  <div class="mainFrame">
    <el-container>
      <el-header>
        <navbar></navbar>
      </el-header>
      <el-container>
        <el-aside>
          <sidebar></sidebar>
        </el-aside>
        <el-container>
          <el-main>
           <router-view></router-view>
          </el-main>
        </el-container>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import navbar from '@/layout/Navbar'
import sidebar from '@/layout/sidebar/Sidebar'
export default {
  components: { navbar, sidebar },
  data() {
    return {}
  },
}
</script>

<style lang="less" scoped>
.mainFrame {
  width: 100%;
  height: 100%;
}

.el-container {
  height: 100%;
  overflow: hidden;
}
.el-header {
  left: 0px;
  top: 0px;
  height: 64px !important;
  line-height: 20px;
  background-image: url('@/assets/images/background@3x.png');
  text-align: center;
  box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.15);
}

.el-aside {
  left: 0px;
  top: 64px;
  color: rgba(16, 16, 16, 1);
  line-height: 20px;
  width: 200px !important;
<<<<<<< HEAD
  background-color: #266999;
=======
  background-color: #104986;
>>>>>>> 87c125fc7f035d7128e81117b725389fba30d67c
  color: rgba(16, 16, 16, 1);
  font-size: 14px;
  text-align: center;
  overflow-x: hidden;
}

.el-main {
  background-color: #E9EEF3;
  color: #333;
  height: 100%;
}
</style>