<template>
  <div id="home-2">
    <el-container class="main">
      <el-header>
        <HomeHead></HomeHead>
      </el-header>
      <el-container class="two">
        <el-aside width="300px">
          <HomeLeft></HomeLeft>
        </el-aside>
        <el-main>
          <el-col :span="24" class="two_1">
            <router-view></router-view>
          </el-col>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup lang="ts">
import HomeLeft from './parts/left-1.vue';
import HomeHead from './parts/header-1.vue';
</script>

<style scoped lang="scss">
.main {
  display: flex;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  padding: 10px;
  // background-color: #fff2cc;
  .el-header {
    padding: 10px;
    margin: 0 0 10px 0;
    background-color: #e2f0d9;
    border-radius: 10px;
    border: 1px solid #727e96;
  }
  .two {
    .el-aside {
      background-color: #e2f0d9;
      border-radius: 10px;
      padding: 0.5vw;
      margin: 0 0.5vw 0 0;
      border: 1px solid #727e96;
    }
    .el-main {
      padding: 0;
      border-radius: 10px;
      background-color: #dae3f3;
      border: 1px solid #727e96;
      .two_1 {
        display: flex;
        height: 90vh;
        padding: 10px;
        flex-direction: column;
      }
    }
  }
}
</style>
