<template>
  <div id="changyong">
    <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>
        <el-col :span="24" class="list">
          <ul>
            <li v-for="(item, index) in changyongList" :key="index">
              <el-link :underline="false" :href="item.url">
                <el-image style="width:349px;height:100px;" :src="item.pic"></el-image>
              </el-link>
            </li>
          </ul>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'changyong',
  props: {
    changyongList: 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;
}
.info {
  width: 100%;
  height: 390px;
  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: 330px;
  overflow: hidden;
}
.list ul li {
  float: left;
  width: 380px;
  height: 100px;
  margin: 0 10px 10px 0;
}
.list ul li:nth-child(3n) {
  margin: 0 0 10px 0;
}
</style>
