<template>
  <div id="index">
    <el-row>
      <el-col :sapn="24" class="top">
        <div class="w_1270">
          <top :info="info"></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">
          <help></help>
        </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 help from '@/layout/detail/help.vue';
import down from '@/layout/index/down.vue';
export default {
  name: 'index',
  props: {
    backColor: null, //背景颜色
    info: null, //站点信息
    menuList: null, //菜单
  },
  components: {
    top, //头部
    banner, //banner
    menuInfo, //菜单
    help, //帮助
    down, //底部
  },
  data: () => ({}),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.w_1270 {
  width: 1000px;
  margin: 0 auto;
}
.top {
  height: 40px;
  overflow: hidden;
  background-color: #f5f5f54f;
}
.banner {
  height: 300px;
  overflow: hidden;
}
.menu {
  height: 50px;
  overflow: hidden;
}
.main {
  min-height: 600px;
  padding: 50px 0;
  overflow: hidden;
  background: #f5f5f5;
}
.down {
  min-height: 135px;
  overflow: hidden;
}
</style>
