From ebd49553a8b2b44d8cc89048245117240e88d192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Fri, 21 Nov 2025 11:41:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E7=BA=A2=E7=82=B9?= =?UTF-8?q?=E6=A0=87=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/GuideBar/index.tsx | 6 +++--- src/other_pages/message/index.tsx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/GuideBar/index.tsx b/src/components/GuideBar/index.tsx index b41a269..4c6a350 100644 --- a/src/components/GuideBar/index.tsx +++ b/src/components/GuideBar/index.tsx @@ -51,7 +51,7 @@ const GuideBar = (props) => { if (code === currentPage) { return; } - + // 如果提供了 onTabChange 回调,优先使用(单页面模式) if (onTabChange) { onTabChange(code); @@ -91,9 +91,9 @@ const GuideBar = (props) => { key={item.code} > {item.text} - {/* {item.code === "message" && hasReddot && ( + {item.code === "message" && hasReddot && ( - )} */} + )} ))} diff --git a/src/other_pages/message/index.tsx b/src/other_pages/message/index.tsx index 80d0963..527559a 100644 --- a/src/other_pages/message/index.tsx +++ b/src/other_pages/message/index.tsx @@ -170,7 +170,7 @@ const Message = () => { /> {commentUnreadCount > 0 && ( - {commentUnreadCount > 99 ? '99+' : commentUnreadCount} + {commentUnreadCount > 99 ? '+99' : `+${commentUnreadCount}`} )} @@ -188,7 +188,7 @@ const Message = () => { /> {followUnreadCount > 0 && ( - {followUnreadCount > 99 ? '99+' : followUnreadCount} + {followUnreadCount > 99 ? '+99' : `+${followUnreadCount}`} )}