<template>
  <div id="links">
    <el-col :span="24">
      <el-col :span="4" class="titles"> 友情链接</el-col>
      <el-col :span="5" v-for="(item, index) in linklist" :key="index" class="info"
        ><el-image :src="item.src" style="width:245px;height:50px"> </el-image
      ></el-col>
    </el-col>
  </div>
</template>

<script>
export default {
  name: 'links',
  props: {},
  components: {},
  data: () => ({
    linklist: [
      { src: require('@/assets/zz.jpg') },
      { src: require('@/assets/zz.jpg') },
      { src: require('@/assets/zz.jpg') },
      { src: require('@/assets/zz.jpg') },
    ],
  }),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.titles {
  width: 130px;
  height: 100px;
  line-height: 100px;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #2c3250;
}

.info {
  height: 100px;
  line-height: 100px;
  text-align: center;
  padding: 21px 0 0 0;
  overflow: hidden;
}
</style>
