<template>
  <div class="home">
    <el-container>
      <el-aside width="180">
        <my-slide></my-slide>
      </el-aside>

      <el-container>
        <el-header>
          <my-header></my-header>
        </el-header>

        <el-main>
          <bread></bread>
          <content-main></content-main>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
//这里可以导入其他文件（比如：组件，工具js，第三方插件js，json文件，图片文件等等）
//例如：import 《组件名称》 from '《组件路径》';
import myHeader from "@/components/layout/header";
import mySlide from "@/components/layout/slide";
import contentMain from "@/components/layout/contentMain";
import bread from "@/components/layout/bread";
// import slide from "@/router/slidePath.js";

export default {
  //import引入的组件需要注入到对象中才能使用
  components: {
    myHeader,
    mySlide,
    contentMain,
    bread
  },

  data() {
    return {};
  },
  computed: {},
  mounted() {},
  methods: {}
};
</script>
<style lang="less" scoped>
.home {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}
.el-aside {
  background-color: #061f3e;
}
/deep/.el-container {
  height: 100%;
  width: 100%;
}
.el-main {
  overflow: hidden;
  padding: 0;
}
.el-header {
  padding: 0;
}
.contentMain {
  padding: 10px;
  margin-top: 10px;
  background: #f0f0f0;
}
</style>
