diff --git a/src/components/HomePage/articleList.vue b/src/components/HomePage/articleList.vue index 47057a4c..762f7c1e 100644 --- a/src/components/HomePage/articleList.vue +++ b/src/components/HomePage/articleList.vue @@ -9,7 +9,7 @@ 隐藏

-
{{item.info.title || item.contentInfo}} +
{{item.info.title || item.contentInfo}} 隐藏 @@ -66,6 +66,10 @@ } }, methods:{ + jumpDetail(item){ + console.log(item,'item'); + this.$router.push('/article/detail?id='+item.contentId) + }, emitHide(id) { this.$emit('hideIndex',id) }, diff --git a/src/components/HomePage/noteList.vue b/src/components/HomePage/noteList.vue index 46406789..65a3ebe5 100644 --- a/src/components/HomePage/noteList.vue +++ b/src/components/HomePage/noteList.vue @@ -9,7 +9,7 @@ 隐藏

-
{{item.contentInfo}} {{item.score>0?item.score:0}}分 +
{{item.contentInfo}} {{toScore(item.score)}}分 隐藏 @@ -31,7 +31,7 @@