From 58ecf2232b44986b69d1a796a9a7c2a78307e731 Mon Sep 17 00:00:00 2001 From: ronger Date: Mon, 28 Dec 2020 16:45:11 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=201.=E6=96=87=E7=AB=A0=E7=82=B9?= =?UTF-8?q?=E8=B5=9E=E5=8A=9F=E8=83=BD2.=E6=96=87=E7=AB=A0=E8=B5=9E?= =?UTF-8?q?=E8=B5=8F=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/layouts/pc/header.vue | 6 +-- package.json | 1 + pages/article/_article_id.vue | 80 ++++++++++++++++++++++++++++++-- plugins/fontawesome.js | 2 + store/article.js | 12 +++++ 5 files changed, 93 insertions(+), 8 deletions(-) diff --git a/components/layouts/pc/header.vue b/components/layouts/pc/header.vue index 68fadbf..51ab6b5 100644 --- a/components/layouts/pc/header.vue +++ b/components/layouts/pc/header.vue @@ -37,9 +37,9 @@ {{ item.label }} - - - + + + diff --git a/package.json b/package.json index bac2869..936e252 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "@chenfengyuan/vue-qrcode": "^1.0.2", "@fortawesome/fontawesome-svg-core": "^1.2.32", "@fortawesome/free-brands-svg-icons": "^5.15.1", + "@fortawesome/free-regular-svg-icons": "^5.15.1", "@fortawesome/free-solid-svg-icons": "^5.15.1", "@fortawesome/vue-fontawesome": "^2.0.0", "@nuxtjs/axios": "^5.12.2", diff --git a/pages/article/_article_id.vue b/pages/article/_article_id.vue index 19e59e1..5e876a2 100644 --- a/pages/article/_article_id.vue +++ b/pages/article/_article_id.vue @@ -51,7 +51,6 @@ 编辑标签 取消优选 设为优选 - 分享 @@ -70,6 +69,46 @@
+ + + + + + + + + {{ article.articleThumbsUpCount }} + + + + + {{ article.articleSponsorCount }} + + + + {{ article.articleSponsorCount }} + + + + + + + + + {{ article.articleThumbsUpCount }} + + + + + {{ article.articleSponsorCount }} + + + + @@ -91,7 +130,7 @@