<template>
  <div id="law">
    <el-row>
      <el-col :span="24">
        <el-col :span="24" class="top">
          <el-link :underline="false">
            <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>
        <ul>
           <li v-for="(item,index) in lawList" :key="index">
            <a href="#">
              <span class="dot"></span>
              <span>{{item.title}}</span>
              <span class="tt">{{item.time}}</span>
            </a>
          </li>
        </ul>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'law',
  props: {
    lawList: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;
}
ul {
  padding: 0;
  margin: 8px 20px;
}
li {
  padding: 5px 0;
  color: #95a3c0;
  list-style-type: none;
}
li a {
  font-size: 14px;
  color: #60626e;
}
.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px 6px 0;
  background-color: #95a3c0;
  border-radius: 90px;
}
.tt {
  color: #abaab8;
  float: right;
}
a > span {
  display: inline-block;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
</style>
