<template>
  <div id="gonggao">
    <el-row>
      <el-col :span="24" class="info">
        <el-col :span="24" class="topInfo">
          <el-col :span="20" class="left">{{ title }}</el-col>
          <el-col :span="4" class="more">
            <el-link :underline="false"><el-image :src="more"></el-image></el-link>
          </el-col>
        </el-col>
        <el-col :span="24" class="list">
          <el-col :span="9" class="listImg">
            <el-image style="width:270px;height:190px;" :src="listImg"></el-image>
          </el-col>
          <el-col :span="15" class="gonggaoList">
            <ul>
              <li v-for="(item, index) in gonggaoList" :key="index">
                <el-link :underline="false">
                  <span class="title textOver">{{ item.title }}</span>
                </el-link>
              </li>
            </ul>
          </el-col>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'gonggao',
  props: {
    gonggaoList: null,
  },
  components: {},
  data: () => ({
    more: require('@/assets/更多.png'),
    title: '通知公告',
    listImg: require('@/assets/tongji.png'),
  }),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
ul {
  padding: 0;
  margin: 0;
}
li {
  padding: 0;
  margin: 0;
  color: #999;
}
.info {
  width: 100%;
  height: 270px;
  overflow: hidden;
  padding: 20px;
  background-color: #fff;
}
.topInfo {
  height: 30px;
  line-height: 30px;
  margin: 0 0 10px 0;
}
.topInfo .left {
  font-size: 22px;
  color: #2c3350;
  font-weight: bold;
}
.topInfo .more {
  height: 30px;
  text-align: right;
  padding: 6px 0;
}
.list {
  height: 190px;
  overflow: hidden;
}
.list .listImg {
  width: 270px;
  height: 190px;
  overflow: hidden;
  margin: 0 10px 0 0;
}
.gonggaoList {
  padding: 0 0 0 20px;
  height: 190px;
  overflow: hidden;
}
.gonggaoList ul {
  padding: 0 0 0 20px;
}
.gonggaoList ul li {
  float: left;
  width: 100%;
  padding: 0 0 6px 0;
}
.gonggaoList ul li .title {
  font-size: 16px;
  color: #60626e;
  display: inline-block;
  width: 440px;
}
.gonggaoList ul li:hover .title {
  color: #215299;
}
</style>
