<template>
  <div class="home">
    <!-- 顶部导航栏 -->
    <NavMenu />
    <div class="container">
      <RouterView />
    </div>
    <SideBar />
  </div>
</template>
<script setup lang="ts">
import NavMenu from '@/components/NavMenu.vue'
import SideBar from '@/components/SideBar.vue'
</script>
<style lang="scss" scoped>
.home {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.container {
  flex: 1;
  padding: 0 50px 10px 10px;
  background-color: #f6f6f6;
  overflow: hidden;
}
</style>
