<template>
  <div id="app">
    <div class="ec-header">
      <nav-header :logoImg="logoImg" :isLoadSysInfo="true" @logout="onLogout"></nav-header>
    </div>
    <div class="ec-main">
      <div class="ec-menu">
        <left-menu></left-menu>
      </div>
      <div class="ec-body"></div>
    </div>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";

@Component({
  components: {}
})
export default class App extends Vue {
  logoImg = require("@/assets/img/nav-header-logo.png");
  onLogout(event: any): void {
    console.log(event);
  }
}
</script>

<style lang="scss" scoped>
#app {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  .ec-header {
  }
  .ec-main {
    display: flex;
    justify-content: flex-start;
    height: calc(100vh - 60px);
    overflow-y: scroll;
    .ec-menu {
    }
  }
}
</style>
