<template>
  <el-container class="layout">
    <el-aside width="auto" class="asside">
      <MenuBar></MenuBar>
    </el-aside>
    <el-container>
      <el-header class="header">
        <Header></Header>
      </el-header>
      <el-main class="main">
        <Tabs style="padding-top: 10px"></Tabs>
        <keep-alive>
          <router-view></router-view>
        </keep-alive>
      </el-main>
    </el-container>
  </el-container>
</template>
<script setup lang="ts">
import Header from '@/layout/header/Header.vue';
import MenuBar from '@/layout/menu/MenuBar.vue';
import Tabs from './tabs/Tabs.vue';
</script>
<style lang="scss" scoped>
.layout {
  height: 100%;
  .asside {
    background-color: #304156;
  }
  .header {
    height: 50px;
    border-bottom: 1px solid #e5e5e5;
    // background-color: blueviolet;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .main {
    padding-top: 0px;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}
</style>