From dbb14c0874fa6aaefbdc98765406ff5cd1fd5b8a Mon Sep 17 00:00:00 2001 From: ronger Date: Wed, 3 Feb 2021 16:10:57 +0800 Subject: [PATCH] =?UTF-8?q?:bugs:=20=E8=BF=94=E5=9B=9E=E4=B8=8A=E4=B8=80?= =?UTF-8?q?=E9=A1=B5=E4=B8=A2=E5=A4=B1=E5=88=86=E9=A1=B5=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/common/topic/main.vue | 2 +- components/layouts/pc/header.vue | 2 +- pages/index.vue | 56 +++++++++------- pages/portfolio/_portfolio_id.vue | 17 ++++- pages/topic/_topic_uri.vue | 103 +++++++++++++++++------------- pages/user/_nickname.vue | 74 +++++++++++++++++---- 6 files changed, 173 insertions(+), 81 deletions(-) diff --git a/components/common/topic/main.vue b/components/common/topic/main.vue index 739c16c..e0cf6d3 100644 --- a/components/common/topic/main.vue +++ b/components/common/topic/main.vue @@ -31,7 +31,7 @@ methods: { handleSelectTopic(item) { this.$router.push({ - path: '/topic/' + item + path: `/topic/${item}?page=1` }); } } diff --git a/components/layouts/pc/header.vue b/components/layouts/pc/header.vue index 51ab6b5..eb2af02 100644 --- a/components/layouts/pc/header.vue +++ b/components/layouts/pc/header.vue @@ -182,7 +182,7 @@ export default { switch (item) { case 'topic': _ts.$router.push({ - path: '/topic/news' + path: '/topic/news?page=1' }) break; case 'github': diff --git a/pages/index.vue b/pages/index.vue index 104252f..095b4cd 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -4,31 +4,43 @@