<template>
  <div class="app-container">
    <HeaderNav />
    <div class="body">
      <router-view></router-view>
    </div>
  </div>
</template>
<script lang="ts">
  import { defineComponent } from "vue";
  import HeaderNav from "./HeaderNav.vue";

  export default defineComponent({
    components: {
      HeaderNav,
    },
  });
</script>
<style lang="less" scoped>
  .app-container {
    // display: flex;
    // flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .body {
    width: 100%;
    height: calc(100% - 60px);
    display: inline-block;
    position: relative;
  }
</style>
