From adc60b029e3d6cf05ebe91a55371f34932458c81 Mon Sep 17 00:00:00 2001 From: al Date: Fri, 10 Jan 2025 21:56:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/noticeDetail/components/MessageList/index.jsx | 4 ++-- components/BottomNav/index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/noticeDetail/components/MessageList/index.jsx b/app/noticeDetail/components/MessageList/index.jsx index c77c229..c83eb11 100644 --- a/app/noticeDetail/components/MessageList/index.jsx +++ b/app/noticeDetail/components/MessageList/index.jsx @@ -198,7 +198,7 @@ const MessageList = ({ mid, changeNoticeCount, refInstance, noticeCount }) => {
99 ? "+99" : count} + content={count > 99 ? "99+" : count} className="text-lg" />
@@ -259,7 +259,7 @@ const MessageList = ({ mid, changeNoticeCount, refInstance, noticeCount }) => { 99 ? "+99" : data.contact_cs_urc + data.contact_cs_urc > 99 ? "99+" : data.contact_cs_urc } className="text-lg" /> diff --git a/components/BottomNav/index.js b/components/BottomNav/index.js index f57d1a1..b482193 100644 --- a/components/BottomNav/index.js +++ b/components/BottomNav/index.js @@ -72,7 +72,7 @@ function BottomNav({ changeNoticeCount, changeInviter, noticeCount }) { {!!noticeCount && ( 99 ? "+99" : noticeCount} + content={noticeCount > 99 ? "99+" : noticeCount} className="absolute top-0 right-0 z-10" /> )} @@ -83,7 +83,7 @@ function BottomNav({ changeNoticeCount, changeInviter, noticeCount }) { {!!noticeCount && ( 99 ? "+99" : noticeCount} + content={noticeCount > 99 ? "99+" : noticeCount} className="absolute top-0 right-0 z-10" /> )}