<template>
  <div id="default-layout">
    <!-- <router-view /> -->
    <div class="layout_background">
      <div class="left-panel"></div>
      <div class="right-panel"></div>
    </div>
    <div class="layout_content">
      <Header />
      <router-view />
    </div>
  </div>
</template>

<script>
import Header from './modules/Header.vue'
export default {
  name: 'DefaultLayout',
  provide() {
    return {
      namespace: 'bei-data-v'
    }
  },
  components: {
    Header
  }
}
</script>

<style lang="less">
#default-layout {
  width: 100vw;
  height: 100vh;
  background-color: #011142;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  .layout_content {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
  }
  .layout_background {
    display: flex;
    justify-content: space-between;
    align-items: center;
    .left-panel {
      background: url('@/assets/images/left.png') no-repeat;
      background-size: 100% 100%;
      height: 100vh;
      width: 612px;
    }
    .right-panel {
      background: url('@/assets/images/right.png') no-repeat;
      background-size: 100% 100%;
      height: 100vh;
      width: 612px;
    }
  }
}
</style>
