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" /> )}