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;