|
|
|
@ -101,8 +101,8 @@ |
|
|
|
|
<div |
|
|
|
|
class="columphoto" |
|
|
|
|
@click=" |
|
|
|
|
routelink( |
|
|
|
|
homeFormfirst.linkcolumnarticletop.id, |
|
|
|
|
routelinks( |
|
|
|
|
homeFormfirst.linkcolumnarticletop, |
|
|
|
|
homeFormfirst.linkcolumnarticletop.linkUrl |
|
|
|
|
) |
|
|
|
|
" |
|
|
|
@ -120,15 +120,24 @@ |
|
|
|
|
<div class="columphotoes"> |
|
|
|
|
<!-- 新闻公告底部跳转 --> |
|
|
|
|
<div |
|
|
|
|
@click="routelink(item.id,homeFormfirst.linkcolumnarticletop.linkUrl)" |
|
|
|
|
@click="routelinks(item,homeFormfirst.linkcolumnarticletop.linkUrl)" |
|
|
|
|
v-for="item in homeFormfirst.linkcolumnarticlebottom" |
|
|
|
|
:key="item.id" |
|
|
|
|
> |
|
|
|
|
<span v-if="item.columnId == 60"> |
|
|
|
|
<a :href="'#/ChuanDa/59/leftmenu/60/description/'+item.id"> |
|
|
|
|
<img :src="item.bgImgUrl" alt="" /> |
|
|
|
|
<p>{{ item.title }}</p> |
|
|
|
|
<p class="time">{{ item.createTime }}</p> |
|
|
|
|
</a> |
|
|
|
|
</span> |
|
|
|
|
<span v-else> |
|
|
|
|
<a :href="item.linkUrl"> |
|
|
|
|
<img :src="item.bgImgUrl" alt="" /> |
|
|
|
|
<p>{{ item.title }}</p> |
|
|
|
|
<p class="time">{{ item.createTime }}</p> |
|
|
|
|
</a> |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -295,6 +304,14 @@ export default { |
|
|
|
|
link(a) { |
|
|
|
|
this.$router.push(a);//编程式链接跳转 |
|
|
|
|
}, |
|
|
|
|
routelinks(item) { |
|
|
|
|
console.log(item) |
|
|
|
|
if (item.columnId == 60) { |
|
|
|
|
window.location = '#/ChuanDa/59/leftmenu/60/description/'+item.id; |
|
|
|
|
} else { |
|
|
|
|
window.location = item.linkUrl |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
routelink(id, url) { |
|
|
|
|
console.log(url) |
|
|
|
|
window.location = url |
|
|
|
@ -568,6 +585,8 @@ export default { |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
window.location.hash = '#/ChuanDa/59/leftmenu/60' |
|
|
|
|
location.reload(); |
|
|
|
|
}, |
|
|
|
|
//改变栏目颜色 |
|
|
|
|
changecolor(column) { |
|
|
|
|