<template>
  <div id="detail">
    <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="banner">
        <banner></banner>
      </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">
            <detailInfo :detailInfo="detailInfo" :Color="Color"></detailInfo>
          </el-col>
        </div>
      </el-col>
      <el-col :span="24" class="foot">
        <foot :info="info" :backColor="backColor"></foot>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import top from '@/layout/index/top.vue';
import menuInfo from '@/layout/index/menuInfos.vue';
import banner from '@/layout/member/banner.vue';
import listLeft from '@/layout/list/listLeft.vue';
import detailInfo from '@/layout/detail/detail.vue';

import foot from '@/layout/index/foot.vue';
export default {
  name: 'detail',
  props: {
    info: null, //头部信息
    Color: null, //头部电话字体颜色
    backColor: null, //导航菜单背景颜色
    detailInfo: null, //详情信息
  },
  components: {
    top, //头部
    menuInfo, //导航
    banner, //banner,固定值在组件中
    listLeft, //二级左侧导航
    foot, //底部信息
    detailInfo, //詳情
  },
  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;
}
.banner {
  height: 450px;
  overflow: hidden;
}
.main {
  min-height: 1060px;
  margin: 50px 0 0 0;
  overflow: hidden;
}
.mainList {
  float: right;
  width: 930px;
}
.foot {
  height: 133px;
  overflow: hidden;
}
</style>
