<template>
  <div id="app">
    <TheHeader></TheHeader>
    <the-menu></the-menu>
    <router-view/>
  </div>
</template>

<script>
import TheHeader from '@/components/TheHeader.vue';
import TheMenu from '@/components/TheMenu.vue';

export default {
  name: 'App',

  components: {
    TheHeader,
    TheMenu
  }
}
</script>

<style lang="scss">
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100vw;
  height: 100vh;
}
ul,li {
  list-style: none;
}
#app {
  width: 100vw;
  height: 100%;
  min-width: 1200px;
  font-family: "SourceHanSansSC-regular", "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #fff;
  font-size: px2rem(16);
  background: url(./assets/image/newbg.png) no-repeat;
  background-size: cover;

  position: relative;
  display: flex;
  flex-flow: column;
}
.the-loading {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
}
</style>
