<template>
  <div id="home">
    <el-container class="main">
      <el-header>
        <header-1></header-1>
      </el-header>
      <el-container class="two">
        <el-aside width="300px">
          <sidebar-1></sidebar-1>
        </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 header1 from './homeParts2/header-1.vue';
import sidebar1 from './homeParts2/sidebar-1.vue';
</script>

<style lang="scss" scoped>
.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>
