<template>
  <div id="tongzhi">
    <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">
          <ul>
            <li class="zixunList" v-for="(item, index) in tongzhiList" :key="index">
              <el-link :underline="false">
                <span class="title textOver">{{ item.title }}</span>
                <span class="date textOver">{{ item.date }}</span>
              </el-link>
            </li>
          </ul>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

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

<style lang="less" scoped>
ul {
  padding: 0;
  margin: 0;
}
li {
  padding: 0;
  margin: 0;
  color: #999;
}
.info {
  width: 100%;
  height: 350px;
  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 {
  padding: 0 0 0 20px;
  height: 270px;
  overflow: hidden;
}
.zixunList {
  padding: 0 0 3px 0;
}
.zixunList .title {
  font-size: 14px;
  color: #60626e;
  display: inline-block;
  width: 230px;
  margin: 0 20px 0 0;
}
.zixunList .date {
  font-size: 14px;
  color: #abaab8;
  float: right;
  max-width: 90px;
}
.zixunList:hover .date {
  color: #215299;
}
.zixunList:hover .title {
  color: #215299;
}
</style>
