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