<template>
  <div id="home">
    <el-container class="main" :style="{ background: styleInfo.main_bg_color }">
      <el-aside class="one" :style="{ background: styleInfo.aside_bg_color, 'border-color': styleInfo.aside_border_color }">
        <HomeLeft></HomeLeft>
      </el-aside>
      <el-container class="two" :style="{ background: styleInfo.con_bg_color }">
        <el-header class="two_1">
          <HomeHead></HomeHead>
        </el-header>
        <el-main class="two_2" :style="{ background: styleInfo.conmain_bg_color, 'border-color': styleInfo.aside_border_color }">
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script setup lang="ts">
import { studio_style_Info } from '../../layout/site';
import HomeLeft from './homeParts1/left-1.vue';
import HomeHead from './homeParts1/header-1.vue';
let styleInfo = studio_style_Info;
</script>

<style scoped lang="scss">
.main {
  display: flex;
  width: 100vw;
  height: 100vh;
  .one {
    border-radius: 10px;
    margin: 0.5vw;
    padding: 0.5vw;
    border: 1px solid;
  }
  .two {
    min-width: 1200px;
    .two_2 {
      border-radius: 10px;
      margin: 0.5vw;
      padding: 0.5vw;
      border: 1px solid;
    }
  }
}
</style>
