<template>
  <div id="detail">
    <el-row>
      <el-col :span="24" class="top">
        <div class="w_1270">
          <top :info="info" :color="color"></top>
        </div>
      </el-col>
      <el-col :sapn="24" class="banner">
        <banner :info="info"></banner>
      </el-col>
      <el-col :sapn="24" class="menu">
        <menuInfo :menuList="menuList" :backColor="backColor"></menuInfo>
      </el-col>
      <el-col :sapn="24" class="main">
        <div class="w_1270">
          <contInfo :contInfos="contInfos" :bordColor="bordColor" :bordBottomColor="bordBottomColor" :color="color"></contInfo>
        </div>
      </el-col>
      <el-col :sapn="24" class="down">
        <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 contInfo from '@/layout/detail/contInfo.vue';
import down from '@/layout/index/down.vue';
export default {
  name: 'detail',
  props: {
    backColor: null, //背景颜色
    bordColor: null, //border颜色
    bordBottomColor: null, //border-bottom颜色
    color: null, //字体颜色
    menuList: null, //菜单
    info: null, //站点信息
    contInfos: null, //信息详细
  },
  components: {
    top, //头部
    banner,
    menuInfo, //菜单
    contInfo, //内容
    down, //底部
  },
  data: () => ({}),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.w_1270 {
  width: 1270px;
  margin: 0 auto;
}
.top {
  height: 40px;
  overflow: hidden;
  background-color: #f5f5f54f;
}
.banner {
  height: 300px;
  overflow: hidden;
}
.menu {
  height: 50px;
  overflow: hidden;
  border-bottom: 1px solid #ccc;
}
.main {
  min-height: 900px;
  background: #f6f6f6;
}
.down {
  min-height: 135px;
  overflow: hidden;
}
</style>
