<template>
  <div id="linkInfo">
    <el-row>
      <el-col :span="24" class="info">
        <el-col :span="2" class="leftTitle">
          <span>友情链接</span>
        </el-col>
        <el-col :span="22">
          <el-col :span="6" class="list" v-for="(item, index) in linkList" :key="index">
            <el-link :underline="false" :href="item.url">
              <el-image style="width:245px;height:53px;" :src="item.pic"></el-image>
            </el-link>
          </el-col>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'linkInfo',
  props: {
    linkList: null,
  },
  components: {},
  data: () => ({}),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.info {
  padding: 20px;
}
.info .leftTitle {
  text-align: center;
  height: 60px;
  line-height: 60px;
}
.info .leftTitle span {
  font-size: 22px;
  font-weight: bold;
  color: #2e3351;
}
.list {
  width: 258px;
  height: 60px;
  line-height: 60px;
  margin: 0 10px 0 0;
}
.list:last-child {
  margin: 0;
}
</style>
