123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <template>
- <div id="links">
- <el-row>
- <el-col :span="24" class="links">
- <el-col :span="3" class="txt">
- 友情链接
- </el-col>
- <el-col :span="21" class="info">
- <el-col :span="6" class="list" v-for="(item, index) in linkList" :key="index">
- <el-link :href="item.url" :underline="false">
- <el-image :src="item.pic" style="width:245px;height:53px;"></el-image>
- </el-link>
- </el-col>
- </el-col>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- import { mapState, createNamespacedHelpers } from 'vuex';
- export default {
- name: 'links',
- props: {
- linkList: { type: Array },
- },
- components: {},
- data: function() {
- return {};
- },
- created() {},
- methods: {},
- computed: {
- ...mapState(['user']),
- },
- watch: {},
- };
- </script>
- <style lang="less" scoped>
- .links {
- .txt {
- height: 100px;
- text-align: center;
- line-height: 100px;
- font-size: 22px;
- font-weight: bold;
- color: #2c3250;
- }
- .info {
- .list {
- text-align: center;
- padding: 21px 0;
- }
- }
- }
- </style>
|