36 lines
636 B
Vue
36 lines
636 B
Vue
<script setup lang="ts">
|
|
</script>
|
|
|
|
<template>
|
|
<div class="homeLayout">
|
|
<HomeHeader class="homeHeader"/>
|
|
<div class="homeMain">
|
|
<slot class="homeMainContent"/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.homeLayout{
|
|
position: relative;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.homeHeader{
|
|
flex-shrink: 0;
|
|
}
|
|
.homeMain{
|
|
flex: 10;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
& > .homeMainContent{
|
|
position: relative;
|
|
overflow-y: auto;
|
|
}
|
|
}
|
|
}
|
|
</style>
|