<template>
  <div class="wrapper">
    <v-head></v-head>

    <div class="content-box">
      <div class="content">
        <transition name="move" mode="out-in">
          <keep-alive>
            <router-view></router-view>
          </keep-alive>
        </transition>
      </div>
    </div>
  </div>
</template>

<script>
import vHead from "./Header.vue";

export default {
  data() {
    return {};
  },
  components: {
    vHead,
  },
  created() {},
};
</script>
<style lang="less">
.content-box {
  position: absolute;
  left: 0px;
  right: 0;
  top: 70px;
  bottom: 0;
  //padding-bottom: 30px;
  -webkit-transition: left 0.3s ease-in-out;
  transition: left 0.3s ease-in-out;
  background: @background-color-base;
  .content {
    width: 100%;
    height: 100%;
    //padding: 10px;
    overflow-y: auto;
    box-sizing: border-box;
  }
}
</style>
