<template>
  <div id="list">
    <el-row>
      <el-col :span="24" class="top">
        <div class="w_1200">
          <top :info="info" :Color="Color"></top>
        </div>
      </el-col>
      <el-col :span="24" class="menu">
        <menuInfo :backColor="backColor"></menuInfo>
      </el-col>
      <el-col :span="24" class="main">
        <div class="w_1200">
          <el-col :span="5" class="mainNav">
            <listLeft :Color="Color"></listLeft>
          </el-col>
          <el-col :span="18" class="mainList">
            <listRight :rightList="rightList" :Color="Color"></listRight>
          </el-col>
        </div>
      </el-col>
      <el-col :span="24" class="foot">
        <foot :info="info"></foot>
      </el-col>
    </el-row>
  </div>
</template>

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

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