This commit is contained in:
clay
2022-01-19 20:38:16 +08:00
parent d0b9848102
commit d6374440d2
5 changed files with 118 additions and 64 deletions

View File

@@ -138,7 +138,7 @@
<div class="grid-content"></div>
</el-col>
<el-col class="headline" :xs="22" :sm="20" :md="16" :lg="12" :xl="12">
<div style="background: #FFFFFF;color: #1956BC;" class="more">
<div style="background: #FFFFFF;color: #1956BC;" class="more"@click="lookMore(academiaData[0])">
{{ $t('message.more') }}
</div>
<div class="more_img">
@@ -168,6 +168,20 @@ export default {
this.getAcademiaList()
},
methods: {
lookMore(news){
info(news.id).then(res=>{
let info = getParentNode(res.data.encodeId)
console.log(res)
if (this.width){
this.$router.push("/pc/" + info.second.encodeId +"?type=" + info.second.type);
}else {
this.$router.push("/mobile/" + info.second.encodeId +"?type=" + info.second.type);
}
})
},
getScientificList() {
getArticleList({
type: "VPteru0OeW6GgYObAewMupY",