From 754637f7c6957db475066478cfb6119bb014d061 Mon Sep 17 00:00:00 2001 From: x ronger Date: Sun, 2 Aug 2020 00:25:44 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E4=BD=9C=E5=93=81=E9=9B=86?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=8A=9F=E8=83=BD=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/archive/list.vue | 13 +- components/common/comment/main.vue | 28 +- components/common/portfolio/list.vue | 6 +- components/layouts/pc/header.vue | 93 ++-- config/api.config.js | 4 +- nuxt.config.js | 2 +- package-lock.json | 784 +++++++++++++-------------- package.json | 2 +- pages/article/_article_id.vue | 5 +- pages/article/post/_article_id.vue | 362 +++++++++++++ pages/index.vue | 13 +- pages/portfolio/_portfolio_id.vue | 148 +++++ pages/topic/_topic_uri.vue | 14 +- plugins/axios.js | 2 +- store/article.js | 67 ++- store/index.js | 3 + store/portfolio.js | 138 +++++ store/user.js | 4 +- 18 files changed, 1191 insertions(+), 497 deletions(-) create mode 100644 pages/article/post/_article_id.vue create mode 100644 pages/portfolio/_portfolio_id.vue create mode 100644 store/portfolio.js diff --git a/components/archive/list.vue b/components/archive/list.vue index 87a345b..178ca17 100644 --- a/components/archive/list.vue +++ b/components/archive/list.vue @@ -18,17 +18,22 @@
{{ article.articlePreviewContent }}
- - + +
- {{ article.articleAuthorName }} + + {{ article.articleAuthorName }} + {{ article.timeAgo }}
- {{ article.articleViewCount }} + {{ article.articleViewCount }} +
diff --git a/components/common/comment/main.vue b/components/common/comment/main.vue index 88d9da7..6bd1966 100644 --- a/components/common/comment/main.vue +++ b/components/common/comment/main.vue @@ -1,10 +1,7 @@ + + diff --git a/pages/topic/_topic_uri.vue b/pages/topic/_topic_uri.vue index 5ab2a49..5d5e687 100644 --- a/pages/topic/_topic_uri.vue +++ b/pages/topic/_topic_uri.vue @@ -7,13 +7,14 @@