<template>
  <div id="login">
    <el-row>
      <el-col :span="24" class="top">
        <top></top>
      </el-col>
      <el-col :span="24" class="logo">
        <div class="w_1200">
          <logo :info="info"></logo>
        </div>
      </el-col>
      <el-col :span="24" class="menu">
        <div class="w_1200">
          <menuInfo></menuInfo>
        </div>
      </el-col>
      <el-col :span="24" class="main">
        <div class="w_1200">
          <mainInfo v-on="$listeners" :form="form" :forms="forms"></mainInfo>
        </div>
      </el-col>
      <el-col :span="24" class="foot">
        <div class="w_1200">
          <foot :info="info"></foot>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import top from '@/layout/index/top.vue';
import logo from '@/layout/index/logo.vue';
import menuInfo from '@/layout/index/menuInfo.vue';
import mainInfo from '@/layout/login/mainInfo.vue';
import foot from '@/layout/index/foot.vue';
export default {
  name: 'login',
  props: {
    info: null, //站点信息
    form: null,
    forms: null,
  },
  components: {
    top, //头部
    logo, //logo
    menuInfo, //导航
    foot, //底部
    mainInfo, //登陆
  },
  data: () => ({}),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.w_1200 {
  width: 1200px;
  margin: 0 auto;
}
.top {
  height: 40px;
  overflow: hidden;
  background-color: rgba(11, 58, 125, 0.8);
}
.logo {
  height: 200px;
  overflow: hidden;
}
.menu {
  height: 70px;
  overflow: hidden;
}

.main {
  height: 1800px;
  overflow: hidden;
  margin: 10px 0;
}
.foot {
  float: left;
  width: 100%;
  height: 120px;
  overflow: hidden;
}
</style>
