Commit f131ceab authored by guoyou's avatar guoyou

友情链接跳转

parent a01440cf
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
<div class="my-outbox"> <div class="my-outbox">
<div class="my-inbox" ref="box"> <div class="my-inbox" ref="box">
<div class="my-list" v-for="(item,index) in list" :key="index"> <div class="my-list" v-for="(item,index) in list" :key="index">
<a class="my-uname" :href='item.linkUrl' @mouseenter="enter(index)" @mouseleave="leave()">{{item.name}}</a> <a class="my-uname" target="_blank" :href='item.linkUrl' @mouseenter="enter(index)" @mouseleave="leave()">{{item.name}}</a>
</div> </div>
<div class="my-list" v-for="(item,index) in list" :key="(index+1)*100"> <div class="my-list" v-for="(item,index) in list" :key="(index+1)*100">
<a class="my-uname" :href='item.linkUrl' @mouseenter="enter(index)" @mouseleave="leave()">{{item.name}}</a> <a class="my-uname" target="_blank" :href='item.linkUrl' @mouseenter="enter(index)" @mouseleave="leave()">{{item.name}}</a>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -168,7 +168,10 @@ ...@@ -168,7 +168,10 @@
</!--> </!-->
<li style="position: relative" class="news-msg"> <li style="position: relative" class="news-msg">
<!-- <nuxt-link to="/activity" :class="router== '/activity' || router== '/news' ?'active':''"> --> <!-- <nuxt-link to="/activity" :class="router== '/activity' || router== '/news' ?'active':''"> -->
<nuxt-link to="/activity" :class="router.indexOf('activity') == 1?'active':'' || router.indexOf('news') == 1?'active':''"> <nuxt-link
to="/activity"
:class="router.indexOf('activity') == 1?'active':'' || router.indexOf('news') == 1?'active':''"
>
新闻资讯 新闻资讯
<span class="arrow"></span> <span class="arrow"></span>
</nuxt-link> </nuxt-link>
...@@ -415,7 +418,6 @@ export default { ...@@ -415,7 +418,6 @@ export default {
this.visibleMap = false this.visibleMap = false
}, },
findTo() { findTo() {
if (this.listQuery.keyword == undefined) { if (this.listQuery.keyword == undefined) {
this.listQuery.keyword = '' this.listQuery.keyword = ''
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment