<template>
    <el-container style="height:100%">
        <!--  自定义宽度 auto-->
  <el-aside width="auto">
      <common-aside></common-aside>  
      <!-- 在Aside引入CommonAside 组件 注意命名规范 这里要求小写 common-aside -->
  </el-aside>
  <el-container>
    <el-header>
        <common-header />
    
    </el-header>
    
    <el-main>
        <router-view></router-view>
</el-main>
  </el-container>
</el-container>
</template>
<script>
import CommonAside from '@/components/pclient/CommonAside.vue' //引入组件ConmmonAside
import CommonHeader from '@/components/pclient/CommonHeader.vue' 

export default {
    name:'Home_vue',
    components:{
        CommonAside,
        CommonHeader,
       
    },
    data(){
        return {}
    }
}
</script>
<style lang="less" scoped>
.el-header{
    background: black;

}
.el-main{
    padding-top: 0;
}
</style>
