添加 红点标记
This commit is contained in:
@@ -170,7 +170,7 @@ const Message = () => {
|
||||
/>
|
||||
{commentUnreadCount > 0 && (
|
||||
<View className="badge">
|
||||
{commentUnreadCount > 99 ? '99+' : commentUnreadCount}
|
||||
{commentUnreadCount > 99 ? '+99' : `+${commentUnreadCount}`}
|
||||
</View>
|
||||
)}
|
||||
</View>
|
||||
@@ -188,7 +188,7 @@ const Message = () => {
|
||||
/>
|
||||
{followUnreadCount > 0 && (
|
||||
<View className="badge">
|
||||
{followUnreadCount > 99 ? '99+' : followUnreadCount}
|
||||
{followUnreadCount > 99 ? '+99' : `+${followUnreadCount}`}
|
||||
</View>
|
||||
)}
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user