|
@@ -8,7 +8,7 @@
|
|
<i class="el-icon-alarm-clock"></i>
|
|
<i class="el-icon-alarm-clock"></i>
|
|
<span class="ml3">{{ news.sendDate }}</span>
|
|
<span class="ml3">{{ news.sendDate }}</span>
|
|
<span class="ml10 fx-1 text-ellipsis new-title pointer"
|
|
<span class="ml10 fx-1 text-ellipsis new-title pointer"
|
|
- :title="news.title" @click="goNewsWithType(type)">
|
|
|
|
|
|
+ :title="news.title" @click="goNewsWithType(type,news)">
|
|
{{ news.title }}</span>
|
|
{{ news.title }}</span>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -68,9 +68,9 @@ export default {
|
|
await this.loginCheck()
|
|
await this.loginCheck()
|
|
this.transferTo(this.morePath)
|
|
this.transferTo(this.morePath)
|
|
},
|
|
},
|
|
- async goNewsWithType(type) {
|
|
|
|
|
|
+ async goNewsWithType(type,news) {
|
|
await this.loginCheck()
|
|
await this.loginCheck()
|
|
- this.transferTo(this.morePath, { type })
|
|
|
|
|
|
+ this.transferTo(this.morePath, { type,news })
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|