<template>
  <div class="app-content display-flex">
    <left-menu/>
    <el-main class="main-content">
      <app-main />
    </el-main>
  </div>
</template>

<script>
import LeftMenu from './LeftMenu'
import AppMain from './AppMain'
import NavHeader from './NavHeader'

export default {
  components: {
    LeftMenu,
    AppMain,
    NavHeader
  }
}
</script>

<style lang="scss" scoped>
  .nav-header {
    padding: 0;
    height: 40px;
    background: $bc1;
  }
  .app-content {
    box-sizing: border-box;
    padding: 20px;
    overflow: auto;

    .main-content {
      padding: 0;
      flex: 1;
    }
  }
</style>
