From 8f8a0373b2740b2d4ab46ddbcbffbcacfa931e8b Mon Sep 17 00:00:00 2001 From: Cxx0822 <1556464090@qq.com> Date: Wed, 29 Oct 2025 16:40:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=9B=B4=E6=96=B0=E5=8D=9A=E5=AE=A2label?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Content/BlogLabel.vue | 64 +++++++++++++++----------- src/styles/blog/blog.label.module.scss | 7 +++ 2 files changed, 45 insertions(+), 26 deletions(-) diff --git a/src/components/Content/BlogLabel.vue b/src/components/Content/BlogLabel.vue index 5258ce0..12baba5 100644 --- a/src/components/Content/BlogLabel.vue +++ b/src/components/Content/BlogLabel.vue @@ -13,47 +13,59 @@
|
-
- - {{ formatDate(props.basicBlog.createTime) }} -
+ +
+ + {{ formatDate(props.basicBlog.createTime) }} +
+
|
-
- - {{ formatDate(props.basicBlog.createTime) }} -
+ +
+ + {{ formatDate(props.basicBlog.updateTime) }} +
+
|
-
- - - {{ props.basicBlog.category }} - -
+ +
+ + + {{ props.basicBlog.category }} + +
+
|
-
- - {{ props.basicBlog.visitCount }} 次 -
+ +
+ + {{ props.basicBlog.visitCount }} 次 +
+
-
- - {{ props.basicBlog.wordCount }} 字 -
+ +
+ + {{ props.basicBlog.wordCount }} 字 +
+
|
-
- - {{ props.basicBlog.readDuration.toFixed(0) }} 分钟 -
+ +
+ + {{ props.basicBlog.readDuration.toFixed(0) }} 分钟 +
+
diff --git a/src/styles/blog/blog.label.module.scss b/src/styles/blog/blog.label.module.scss index bdb1270..83fc190 100644 --- a/src/styles/blog/blog.label.module.scss +++ b/src/styles/blog/blog.label.module.scss @@ -37,6 +37,13 @@ color: #FFFFFF !important; background-color: #7d26cd; padding: 2px; + + .fa-newspaper::after { + content: "精品"; + margin-left: 2px; + font-size: smaller; + font-family: CustomFont, serif; + } } .date {