diff --git a/src/views/Conversations/Conversations.css b/src/views/Conversations/Conversations.css index c1486df..4514f0f 100644 --- a/src/views/Conversations/Conversations.css +++ b/src/views/Conversations/Conversations.css @@ -186,7 +186,8 @@ margin-top: 0; /* margin-left: 5px; */ padding: 5px; - justify-content: flex-start; + /* justify-content: flex-start; */ + justify-content: center; font-size: 12px; /* word-wrap: break-word; */ text-wrap: nowrap; diff --git a/src/views/Conversations/Online/Components/ChatListItem.jsx b/src/views/Conversations/Online/Components/ChatListItem.jsx index 3293119..c6dcf02 100644 --- a/src/views/Conversations/Online/Components/ChatListItem.jsx +++ b/src/views/Conversations/Online/Components/ChatListItem.jsx @@ -255,6 +255,7 @@ const ChatListItem = (({item, refreshConversationList,setListUpdateFlag,onSwitch key={item.sn} id={item.sn} letterItem={{ id: item.show_default, letter: (item?.show_default || '').split("@")[0].slice(0, 5) }} + // letterItem={{ id: '群', letter: '群' }} alt={item.whatsapp_name} title={ @@ -289,6 +290,8 @@ const ChatListItem = (({item, refreshConversationList,setListUpdateFlag,onSwitch date={item.lasttime || item.last_received_time || item.last_send_time} dateString='' // 为了覆盖: 其他客户端发送的失败消息, 推送到此处产生新会话, 但是dataString是长字符串 unread={item.unread_msg_count > 99 ? 0 : item.unread_msg_count} + // muted={item.unread_msg_count>0} + // showMute={item.unread_msg_count>0} // className={[ // String(item.sn) === String(currentConversation.sn) ? '__active text-primary bg-whatsapp-bg' : '', // String(item.sn) === String(tabSelectedConversation?.sn) ? ' bg-neutral-200' : '', @@ -297,10 +300,10 @@ const ChatListItem = (({item, refreshConversationList,setListUpdateFlag,onSwitch statusText={ }