From b4239da1afb8f521b843a569145b5fa91afbcd97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=8E=AB=E5=94=90=E5=B0=BC?= Date: Wed, 9 Sep 2026 03:06:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=87=8D=E6=9E=84=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E4=B8=8E=E5=88=97=E8=A1=A8=E9=A1=B5=EF=BC=8C?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=A4=9A=E5=B8=83=E5=B1=80=E4=B8=8E=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 新增文章卡片grid紧凑布局,支持隐藏分类标签与单行摘要 2. 重构文章列表页,添加分类筛选、排序功能与两列卡片布局 3. 首页新增推荐模式切换,支持默认/置顶/最新/最旧排序 4. 统一代码缩进与格式规范,完善类型定义与注释 --- .../uh-article-card/uh-article-card.vue | 210 +++++---- src/pages-blog/articles/articles.vue | 316 +++++++++++-- src/pages/tabbar/home/home.vue | 432 ++++++++++-------- 3 files changed, 646 insertions(+), 312 deletions(-) diff --git a/src/components/uh-article-card/uh-article-card.vue b/src/components/uh-article-card/uh-article-card.vue index 243e0e2..1cfcf1a 100644 --- a/src/components/uh-article-card/uh-article-card.vue +++ b/src/components/uh-article-card/uh-article-card.vue @@ -1,105 +1,125 @@ \ No newline at end of file + + + 置顶 + + + + + {{ article.spec.title }} + + + {{ article.status?.excerpt }} + + + + + + + + + {{ article.owner.displayName }} + + + {{ publishTimeText }} + + + 浏览 + {{ visitCount }} + 次 + + + + + diff --git a/src/pages-blog/articles/articles.vue b/src/pages-blog/articles/articles.vue index 7c4b911..a2bbce7 100644 --- a/src/pages-blog/articles/articles.vue +++ b/src/pages-blog/articles/articles.vue @@ -1,33 +1,297 @@ - \ No newline at end of file + + + + + + + + + + {{ loadMoreText }} + + + + + + + + + + + + + {{ filterPopup.item.label }} + + + + {{ opt.label }} + + + + + + diff --git a/src/pages/tabbar/home/home.vue b/src/pages/tabbar/home/home.vue index 3b0b13a..75f4cfc 100644 --- a/src/pages/tabbar/home/home.vue +++ b/src/pages/tabbar/home/home.vue @@ -1,224 +1,274 @@ \ No newline at end of file + + + + + + {{ loadMoreText }} + + + + +