<template>
  <div id="member">
    <el-row>
      <el-col class="top">
        <top :info="info"></top>
      </el-col>
      <el-col :sapn="24" class="menu">
        <menuInfos></menuInfos>
      </el-col>
      <el-col :span="24" class="main">
        <div class="w_1270">
          <el-col :span="24" class="main_1">
            <meesage :messageInfo="messageInfo"></meesage>
          </el-col>
          <el-col :span="24" class="main_2">
            <gaoceng :carouselList="carouselList" :newsList="newsList"></gaoceng>
          </el-col>
          <el-col :span="24" class="main_3">
            <dangjian :rencaiList="rencaiList" :dangjianList="dangjianList" :yaowenList="yaowenList"></dangjian>
          </el-col>
          <el-col :span="24" class="main_4">
            <xuexi :dangguiList="dangguiList" :zhishiList="zhishiList" :zhunti="zhunti"></xuexi>
          </el-col>
          <el-col :span="24" class="main_5">
            <photo :tujiList="tujiList"></photo>
          </el-col>
        </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/member/top.vue';
import menuInfos from '@/layout/index/menuInfos.vue';
import meesage from '@/layout/member/meesage.vue';
import gaoceng from '@/layout/member/gaoceng.vue';
import dangjian from '@/layout/member/dangjian.vue';
import xuexi from '@/layout/member/xuexi.vue';
import photo from '@/layout/member/photo.vue';
import down from '@/layout/index/down.vue';
export default {
  name: 'member',
  props: {
    backColor: null, //背景颜色
    info: null, //站点信息
    messageInfo: null, //最新消息
    carouselList: null, //轮播图
    newsList: null, //轮播图右侧新闻列表
    rencaiList: null, //人才建设
    dangjianList: null, //基层党建
    yaowenList: null, //党建要闻
    dangguiList: null, //党规党章
    zhishiList: null, //知识问答
    zhunti: null, //专题学习
    tujiList: null, //活动图集
  },
  components: {
    top, //头部信息
    menuInfos, //菜单
    meesage, //最新消息
    gaoceng, //高层声音
    dangjian, //基层党建
    xuexi, //学习园地
    photo, //活动图集
    down, //底部
  },
  data: () => ({}),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.w_1270 {
  width: 1270px;
  margin: 0 auto;
}
.top {
  height: 500px;
}
.menu {
  height: 50px;
  overflow: hidden;
  position: absolute;
  top: 450px;
}
.main {
  min-height: 500px;
  margin: 20px 0;
}
.main_1 {
  height: 170px;
  border: 1px solid #f3f3f3;
  border-radius: 10px;
  box-shadow: 0 0 5px #e9eef3;
}
.main_2 {
  height: 480px;
  overflow: hidden;
  margin: 30px 0 0 0;
}
.main_3 {
  height: 400px;
  overflow: hidden;
  margin: 30px 0 0 0;
}
.main_4 {
  height: 420px;
  overflow: hidden;
  margin: 30px 0 0 0;
}
.main_5 {
  height: 500px;
  overflow: hidden;
  margin: 30px 0 0 0;
}
.down {
  height: 135px;
  overflow: hidden;
}
</style>
