<template>
  <div id="notice">
    <el-row>
      <el-col :span="24" class="top">
        <!-- @click="$router.push({ path: `/info/list/${notice.column.id}` })" -->
        <el-link :underline="false" href="#/more">
          <el-col :span="21" class="title">媒体聚距</el-col>
          <el-col :span="3" class="more">
            <el-image style="width:25px;height:25px;padding: 20px 0 0 0;" :src="dian"></el-image>
          </el-col>
        </el-link>
      </el-col>
      <el-col :span="24" class="content">
        <!-- @click.native="$router.push({ path: `/info/detail?id=${item.id}` })" -->
        <el-col :span="24" class="list" v-for="(item, index) in meitiList" :key="index">
          <span class="dot"></span>
          <el-link :underline="false" href="#/detail">
            <span class="title">{{ item.title }}</span>
          </el-link>
          <span class="tt">{{ item.time }}</span>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'notice',
  props: {
    meitiList: null,
  },
  components: {},
  data: () => ({
    dian: require('../../../assets/dot.png'),
  }),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
a {
  text-decoration: none;
}
.top {
  height: 60px;
  line-height: 60px;
}
.top .el-link {
  width: 100%;
}
/deep/.top .el-link .el-link--inner {
  width: 100%;
}
.top .title {
  font-size: 22px;
  color: #2c3350;
  font-family: 微软雅黑;
  font-weight: bold;
  padding: 0 0 0 20px;
}
.top .more {
  text-align: center;
  height: 60px;
}
.list {
  padding: 9px;
}
.list .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #ccc;
  margin: 0 10px 3px 10px;
}
.list .title {
  display: inline-block;
  max-width: 256px;
  padding: 0 5px 0 0;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.list .tt {
  font-size: 16px;
  display: inline-block;
  max-width: 101px;
  color: #606266;
}
</style>
