<template>
  <div id="list">
    <el-row>
      <el-col :sapn="24" class="top">
        <div class="w_1200">
          <top :info="info"></top>
        </div>
      </el-col>
      <el-col :sapn="24" class="banner">
        <banner :info="info"></banner>
      </el-col>
      <el-col :span="24" class="menu">
        <menuInfo :menuList="menuList" :backColor="backColor"></menuInfo>
      </el-col>
      <el-col :span="24" class="main">
        <div class="w_1200">
          <el-col :span="5" class="mainNav">
            <listLeft :sideMenu="sideMenu" :Color="Color"></listLeft>
          </el-col>
          <el-col :span="18" class="mainList">
            <listRight :rightList="rightList" :Color="Color" v-on="$listeners" v-bind="$attrs"></listRight>
          </el-col>
        </div>
      </el-col>
      <el-col :span="24" class="foot">
        <down :info="info" :backColor="backColor"></down>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import top from '@/layout/index/top.vue';
import banner from '@/layout/index/banner.vue';
import menuInfo from '@/layout/index/menuInfo.vue';
import listLeft from '@/layout/list/listLeft.vue';
import listRight from '@/layout/list/listRight.vue';
import down from '@/layout/index/down.vue';
export default {
  name: 'list',
  props: {
    info: null, //头部信息
    Color: null, //头部电话字体颜色
    backColor: null, //导航菜单背景颜色
    rightList: null, //列表信息
    menuList: null, //菜单列表
    sideMenu: null, //侧菜单内容
  },
  components: {
    top, //头部
    banner,
    menuInfo, //导航
    listLeft, //二级左侧导航
    listRight, //二级右侧列表
    down, //底部信息
  },
  data: () => ({}),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.w_1200 {
  width: 1200px;
  margin: 0 auto;
}
.top {
  height: 40px;
  overflow: hidden;
  background-color: #f5f5f54f;
}
.banner {
  height: 300px;
  overflow: hidden;
}
.menu {
  height: 50px;
  overflow: hidden;
}
.main {
  height: 1060px;
  margin: 50px 0 0 0;
  overflow: hidden;
}
.mainList {
  width: 746px;
  margin: 0 0 0 20px;
}
.foot {
  min-height: 133px;
  background-color: #0457c7;
}
</style>
