newLayout.vue
688 Bytes
<template>
<div>
<!--布局容器-->
<el-container class="home_container">
<!--顶部栏-->
<el-header class="home_header">
<span class="home_title">
</span>
</el-header>
<el-container >
<!--左侧侧边栏-->
<el-aside class="home_aside" width="180px">
</el-aside>
<!--主要区域容器-->
<el-main class="home_main">
主要区域容器
</el-main>
</el-container>
</el-container>
</div>
</template>
<script>
</script>
<style>
.home_container {
height: 100%;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
}
</style>