From 713646fc9353cb77bfcd7c2663cd278dfa983580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=8E=AB=E5=94=90=E5=B0=BC?= Date: Sun, 13 Sep 2026 01:14:59 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E5=A4=9A=E5=A4=84UI?= =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=B8=8E=E4=BB=A3=E7=A0=81=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 调整多处文字大小与间距样式统一视觉 2. 优化导航栏模糊效果与布局 3. 重构评论项头像加载逻辑,增加昵称首字占位兜底 4. 重写我的页面代码结构与布局样式 5. 清理评论列表冗余代码与格式化模板 --- .../uh-article-card/uh-article-card.vue | 8 +- .../uh-comment-item/uh-comment-item.vue | 33 +- .../uh-comment-list/uh-comment-list.vue | 29 +- .../uh-data-loading/uh-data-loading.vue | 4 +- .../uh-home-banner/uh-home-banner.vue | 4 +- .../uh-home-category/uh-home-category.vue | 2 +- src/components/uh-navbar/uh-navbar.vue | 7 +- .../uh-notify-dialog/uh-notify-dialog.vue | 4 +- .../uh-plugin-unavailable.vue | 10 +- .../article-detail/article-detail.vue | 12 +- .../moment-detail/moment-detail.vue | 16 +- src/pages-blog/search/search.vue | 4 +- src/pages/tabbar/mine/mine.vue | 513 +++++++++--------- src/tabbar/TabbarItem.vue | 2 +- 14 files changed, 347 insertions(+), 301 deletions(-) diff --git a/src/components/uh-article-card/uh-article-card.vue b/src/components/uh-article-card/uh-article-card.vue index 1a600cb..4d2272b 100644 --- a/src/components/uh-article-card/uh-article-card.vue +++ b/src/components/uh-article-card/uh-article-card.vue @@ -68,7 +68,7 @@ pinned: 'right-3 top-3', }, image_left: { - container: 'flex gap-x-3 !p-2', + container: 'flex gap-x-3 !p-3', cover: 'shrink-0 !w-36 !h-24', contentWrapper: 'w-0 flex-1 justify-between', footer: 'flex items-center justify-between', @@ -79,10 +79,10 @@ time: '!hidden', tagCategory: '!hidden', visits: '', - pinned: 'left-3 top-3', + pinned: 'left-4 top-4', }, image_right: { - container: 'flex gap-x-3 !p-2', + container: 'flex gap-x-3 !p-3', cover: 'order-2 shrink-0 !w-36 !h-24', contentWrapper: 'order-1 w-0 flex-1 justify-between', footer: 'flex items-center justify-between', @@ -93,7 +93,7 @@ time: '!hidden', tagCategory: '!hidden', visits: '', - pinned: 'right-3 top-3', + pinned: 'right-4 top-4', }, }) as Record) diff --git a/src/components/uh-comment-item/uh-comment-item.vue b/src/components/uh-comment-item/uh-comment-item.vue index 18918c0..38a8eb8 100644 --- a/src/components/uh-comment-item/uh-comment-item.vue +++ b/src/components/uh-comment-item/uh-comment-item.vue @@ -1,5 +1,5 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/tabbar/TabbarItem.vue b/src/tabbar/TabbarItem.vue index f1cbb3a..0aa5a27 100644 --- a/src/tabbar/TabbarItem.vue +++ b/src/tabbar/TabbarItem.vue @@ -37,7 +37,7 @@ function isActive(index: number) { - + {{ getI18nText(item.text) }}