From b673340919a7541e750338d409db0fbae9b9d44a Mon Sep 17 00:00:00 2001 From: Charles7c Date: Wed, 27 Jul 2022 21:01:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E5=85=83=E6=95=B0=E6=8D=AE=E4=BF=A1=E6=81=AF=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E9=98=85=E8=AF=BB=E6=95=B0=E5=9B=BE=E6=A0=87=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../theme/components/ArticleMetadata.vue | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/repos/.vitepress/theme/components/ArticleMetadata.vue b/repos/.vitepress/theme/components/ArticleMetadata.vue index be8ff4fc6..4fa4ecc46 100644 --- a/repos/.vitepress/theme/components/ArticleMetadata.vue +++ b/repos/.vitepress/theme/components/ArticleMetadata.vue @@ -2,7 +2,7 @@
- 原创作者 + 原创作者 {{ frontmatter?.author ?? theme.articleMetadataConfig.author }} @@ -10,10 +10,16 @@
- 发布时间 + 发布时间
+
+ + 阅读数 + + 888 +
@@ -55,20 +61,19 @@ const toDate = dayjs().to(dayjs(frontmatter.value.date)) .meta-icon, meta-content { display: inline-block; margin-right: 8px; - vertical-align: baseline; + vertical-align: middle; } .meta-icon { position: relative; - top: 1.3px; + bottom: 1.5px; } .meta-icon.date { - position: relative; - top: 1.9px; + bottom: 1.3px; } .meta-icon svg { fill: var(--vp-c-text-2); - height: 14px; - width: 14px; + height: 16px; + width: 16px; } .meta-content a { font-weight: 400;