<template>
  <div id="index">
    <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 :info="info"></banner>
      </el-col>
      <el-col :span="24" class="newsNotice">
        <div class="w_1200">
          <el-col :span="16" class="news">
            <news :imglist="imglist"></news>
          </el-col>
          <el-col :span="7" class="notice">
            <notice :noticeList="noticeList"></notice>
          </el-col>
        </div>
      </el-col>
      <el-col :span="24" class="caleRecruit">
        <div class="w_1200">
          <el-col :span="8" class="calendar">
            <calendar></calendar>
          </el-col>
          <el-col :span="16" class="recruitRight">
            <el-col :span="24" class="recruit">
              <recruit :recruitList="recruitList"></recruit>
            </el-col>
            <el-col :span="24" class="company">
              <company :companyList="companyList"></company>
            </el-col>
          </el-col>
        </div>
      </el-col>
      <el-col :span="24" class="login">
        <div class="w_1200">
          <login></login>
        </div>
      </el-col>
      <el-col :span="24" class="naitve">
        <div class="w_1200">
          <naitve :nativeList="nativeList"></naitve>
        </div>
      </el-col>
      <el-col :span="24" class="contact">
        <contact :info="info"></contact>
      </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/menuInfo.vue';
import banner from '@/layout/index/banner.vue';
import news from '@/layout/index/news.vue';
import notice from '@/layout/index/notice.vue';
import calendar from '@/layout/index/calendar.vue';
import recruit from '@/layout/index/recruit.vue';
import company from '@/layout/index/company.vue';
import login from '@/layout/index/login.vue';
import naitve from '@/layout/index/naitve.vue';
import contact from '@/layout/index/contact.vue';
import foot from '@/layout/index/foot.vue';

export default {
  name: 'index',
  props: {
    info: null, //头部信息
    Color: null, //头部电话字体颜色
    backColor: null, //导航菜单背景颜色
    imglist: null, //新闻信息
    noticeList: null, //通知公告
    recruitList: null, //最新招聘信息
    companyList: null, //招聘企业
    nativeList: null, //信息网导航
  },
  components: {
    top, //头部
    menuInfo, //导航
    banner, //banner
    news, //新聞
    notice, //通告
    calendar, //日历
    recruit, //招聘信息
    company, //企业
    login, //登录
    naitve, //导航
    contact, //联系我们
    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;
}
.banner {
  height: 450px;
  overflow: hidden;
}
.newsNotice {
  height: 303px;
  margin: 35px 0 0 0;
  overflow: hidden;
}
.news {
  height: 303px;
  overflow: hidden;
}
.notice {
  float: right;
  width: 380px;
  height: 303px;
  overflow: hidden;
}
.caleRecruit {
  height: 476px;
  margin: 35px 0 0 0;
  overflow: hidden;
}
.calendar {
  width: 369px;
  height: 476px;
  overflow: hidden;
}
.recruitRight {
  float: right;
  height: 476px;
  overflow: hidden;
}
.recruit {
  height: 303px;
  overflow: hidden;
}
.company {
  height: 173px;
  overflow: hidden;
}
.login {
  height: 50px;
  margin: 15px 0 0 0;
  overflow: hidden;
}
.naitve {
  height: 255px;
  margin: 30px 0 0 0;
  overflow: hidden;
}
.contact {
  height: 265px;
  margin: 30px 0 0 0;
  background-color: #d5e2f8;
  overflow: hidden;
}
.foot {
  height: 133px;
  overflow: hidden;
}
</style>
