<!--
 * @Author: aliyun0758874076 2300202994@qq.com
 * @Date: 2023-09-14 10:59:00
 * @LastEditors: aliyun0758874076 2300202994@qq.com
 * @LastEditTime: 2023-09-18 16:03:09
 * @FilePath: \jufeng-pc-settle\src\views\layout.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div class="layout">
    <v-header class="vHeader"></v-header>
    <keep-alive>
      <router-view class="centBox"></router-view>
    </keep-alive>
  </div>
</template>

<script>
  import VHeader from '@/components/base/v-header'
  export default {
    name: 'layout',
    components: {VHeader}
  }
</script>
<style lang="scss">
.layout {
  flex-direction: column;
  height: 100vh;
  display: flex;
  background-image: url("../assets/images/personal-bc.webp");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.vHeader {
  flex-shrink: 0;
}
.centBox {
  flex-grow: 1;
}
</style>
