<script setup lang="ts">
import SystemAnnouncementDialog from '@/components/SystemAnnouncementDialog/index.vue';
import Header from '@/layouts/components/Header/index.vue';
</script>

<template>
  <el-container class="layout-container">
    <el-header class="layout-header">
      <Header />
    </el-header>
    <el-container class="layout-container-main">
      <router-view />
    </el-container>
  </el-container>

  <!-- 系统公告弹窗 -->
  <SystemAnnouncementDialog />
</template>

<style scoped>
.layout-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--color-gray-100);
  .layout-header {
    padding: 0;
    border-bottom: var(--header-border) ;
  }
    .layout-container-main {
      height: calc(100vh - var(--header-container-default-height));
      padding: 0;
    }
}
</style>
