Files
Yi.Admin/Yi.Bbs.Vue3/src/layout/Index.vue

34 lines
560 B
Vue
Raw Normal View History

2023-12-14 10:15:23 +08:00
<template>
<div class="common-layout">
<el-container>
2023-12-14 16:25:38 +08:00
<el-header class="common-header">
2023-12-14 10:15:23 +08:00
<AppHeader />
</el-header>
<el-main>
2023-12-14 16:25:38 +08:00
<AppBody />
2023-12-14 10:15:23 +08:00
</el-main>
</el-container>
</div>
</template>
<script setup>
2023-12-14 16:25:38 +08:00
import AppHeader from "./AppHeader.vue";
import AppBody from "./AppBody.vue";
2023-12-14 10:15:23 +08:00
</script>
2023-12-14 16:25:38 +08:00
<style scoped lang="scss">
.common {
&-header {
width: 100%;
display: flex;
justify-content: center;
}
}
.el-main {
2023-12-14 10:15:23 +08:00
margin: 0;
2023-12-14 16:25:38 +08:00
padding: 0;
min-height: 10rem;
background-color: #f0f2f5;
2023-12-14 10:15:23 +08:00
}
2023-12-14 16:25:38 +08:00
</style>