56 lines
1020 B
Vue
56 lines
1020 B
Vue
<script setup lang="ts">
|
|
</script>
|
|
|
|
<template>
|
|
<div class="homeLayout">
|
|
<HomeHeader class="homeHeader"/>
|
|
<div class="homeMain">
|
|
<main class="homeMainContent">
|
|
<slot name="default" class="homeMainContent"/>
|
|
</main>
|
|
</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: 1;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
display: flex;
|
|
|
|
& > * {
|
|
position: relative;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
& > .homeMainLeft {
|
|
flex: 1;
|
|
}
|
|
|
|
& > main.homeMainContent {
|
|
flex-shrink: 0;
|
|
width: var(--main-width-auto);
|
|
background-color: var(--bg-color-be);
|
|
}
|
|
|
|
& > .homeMainRight {
|
|
flex: 1;
|
|
|
|
}
|
|
}
|
|
}
|
|
</style>
|