From 2a25727c0bb8fdc83cc5d766139e2fcd8f578995 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E8=8E=AB=E5=94=90=E5=B0=BC?= <1431128779@qq.com>
Date: Mon, 16 Jun 2025 19:42:45 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=86=E7=B1=BB=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E6=94=AF=E6=8C=81=E5=88=87=E6=8D=A2=E4=B8=8D=E5=90=8C=E7=9A=84?=
=?UTF-8?q?=E5=B1=95=E7=A4=BA=E6=A8=A1=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../article-min-card/article-min-card.vue | 364 +++++++++---------
config/index.js | 3 +
config/token.config.template.js | 11 +-
pages/tabbar/category/category.vue | 290 ++++++++++++--
store/config.js | 9 +-
utils/index.js | 23 ++
6 files changed, 467 insertions(+), 233 deletions(-)
diff --git a/components/article-min-card/article-min-card.vue b/components/article-min-card/article-min-card.vue
index 76431a3..ca2ad54 100644
--- a/components/article-min-card/article-min-card.vue
+++ b/components/article-min-card/article-min-card.vue
@@ -1,220 +1,222 @@
-
-
-
-
-
- {{ article.title }}
- {{ article.summary }}
-
-
-
+
+
+
+
+
+ {{ article.spec.title }}
+ {{ article.status.excerpt }}
+
+
+
\ No newline at end of file
+ .number {
+ padding: 0 6rpx;
+ font-size: 24rpx;
+ }
+ }
+ }
+ }
+}
+
+
diff --git a/config/index.js b/config/index.js
index 1b45f73..71246fe 100644
--- a/config/index.js
+++ b/config/index.js
@@ -26,6 +26,9 @@ export const DefaultAppConfigs = {
type: "post",
list: []
}
+ },
+ categoryConfig: {
+ type: "list"
}
},
auditConfig: {
diff --git a/config/token.config.template.js b/config/token.config.template.js
index c78b436..bd18cfb 100644
--- a/config/token.config.template.js
+++ b/config/token.config.template.js
@@ -1,18 +1,13 @@
import {getAppConfigs} from "@/config/index";
-/** 配置后台管理员token */
-const HaloTokenConfig = Object.freeze({
+/** 配置博客的内容 */
+const UniHaloConfig = Object.freeze({
/** 基础请求域名:你的Halo博客基础域名 */
BASE_API: "",
// BASE_API: "https://blog.xiaoxiaomo.cn",
-
- /** 管理员token */
systemToken: getAppConfigs()?.basicConfig?.tokenConfig?.personalToken,
- /** 匿名用户token */
- anonymousToken: ``
})
-
-export default HaloTokenConfig;
+export default UniHaloConfig;
diff --git a/pages/tabbar/category/category.vue b/pages/tabbar/category/category.vue
index c8e249f..fd6564c 100644
--- a/pages/tabbar/category/category.vue
+++ b/pages/tabbar/category/category.vue
@@ -1,36 +1,69 @@
-
-
+
-
+
-
-
-
- {{ item.spec.displayName }}
-
- 共 {{ item.postCount }} 篇文章
-
-
- 共 {{ item.postCount }} 篇内容
+
+
+
+
+ {{ item.spec.displayName }}
+
+ 共 {{ item.postCount }} 篇文章
+
+
+ 共 {{ item.postCount }} 篇内容
+
+
+ {{ loadMoreText }}
+
+
+
+
-
-
- {{ loadMoreText }}
+
+
+
+
+
+
+
+
+
+
+ {{ loadMoreText }}
+
+
+
+
+
+
+
+
@@ -39,20 +72,27 @@