[update] 首页友情链接点击跳转
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<span class="right-p" @click="moreLink">更多链接<i class="iconfont icon-right"></i></span>
|
||||
</div>
|
||||
<div class="content-wrapper">
|
||||
<div class="content-div" v-for="item in dataSource" :key="item.id">
|
||||
<div class="content-div" v-for="item in dataSource" :key="item.id" @click="clickLink(item)">
|
||||
{{ item.name }}
|
||||
</div>
|
||||
</div>
|
||||
@@ -49,6 +49,11 @@ export default {
|
||||
this.$router.push({
|
||||
path: '/isystem/friendshipLink'
|
||||
})
|
||||
},
|
||||
// 点击链接
|
||||
clickLink (record) {
|
||||
const href = record.link
|
||||
window.open(href)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -75,5 +80,6 @@ export default {
|
||||
color: @primary-color;
|
||||
text-align: center;
|
||||
background-image: url('../../../assets/image/dashboardLinkBack.png');
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user