npm<template>
  <div id="zhengwu">
    <el-col :span="24" class="zhengwu">
      <el-col :span="24" class="topTitle">{{ title }}</el-col>
      <el-col :span="24" class="list">
        <ul>
          <li v-for="(item, index) in zhengwu" :key="index">
            <el-link :underline="false" :href="item.url" target="_blank">
              <el-image class="image" :src="item.pic"></el-image>
              <el-col class="title">{{ item.title }}</el-col>
            </el-link>
          </li>
        </ul>
      </el-col>
    </el-col>
  </div>
</template>

<script>
export default {
  name: 'zhengwu',
  props: {
    zhengwu: null,
  },
  components: {},
  data: () => ({
    title: '政务公开',
  }),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
ul {
  padding: 0;
  margin: 0;
}
li {
  padding: 0;
  margin: 0;
  list-style: none;
}
.zhengwu {
  padding: 20px 20px 20px 20px;
  height: 320px;
}
.topTitle {
  font-size: 22px;
  color: #2c3350;
  font-weight: bold;
  margin: 0 0 10px 0;
}
.list ul li {
  float: left;
  border: 1px solid #dee9f9;
  width: 180px;
  height: 110px;
  margin: 0 10px 10px 0;
  text-align: center;
}
.list ul li:nth-child(4n) {
  margin: 0 0 10px 0;
}
.list ul li .image {
  margin: 20px 0 0 0;
}
.list ul li .title {
  font-size: 18px;
  color: #3981e5;
  margin: 10px 0;
}
.list ul li:hover {
  background-color: #dee9f9;
}
// .tubiao {
//   border: 1px solid #dee9f9;
//   width: 180px;
//   height: 110px;
//   margin: 0 10px 10px 0;
//   text-align: center;
// }
// .tubiao .pic_title {
//   display: block;
//   float: left;
//   width: 178px;
//   height: 30px;
//   font-size: 22px;
//   line-height: 30px;
//   text-align: center;
//   color: #3981e5;
//   font-size: 18px;
// }
// .tubiao .image {
//   margin: 20px 0 0 0;
// }
// .tubiao:hover {
//   background-color: #dee9f9;
//   color: #3981e5;
// }
</style>
