|
|
|
@ -188,7 +188,7 @@ const ChatListItem = (({item, refreshConversationList,setListUpdateFlag,onSwitch
|
|
|
|
|
items: [
|
|
|
|
|
{ label: item.top_state === 1 ? '取消置顶' : '置顶会话', key: 'top' },
|
|
|
|
|
{ label: item.unread_msg_count > 998 ? '标为已读' : '标记为未读', key: 'unread' },
|
|
|
|
|
{ label: item.top_state === -1 ? '取消静音' : '设为静音', key: 'mute' },
|
|
|
|
|
// { label: item.top_state === -1 ? '取消静音' : '设为静音', key: 'mute' },
|
|
|
|
|
{
|
|
|
|
|
label: '设置标签',
|
|
|
|
|
key: 'tags',
|
|
|
|
@ -280,8 +280,8 @@ const ChatListItem = (({item, refreshConversationList,setListUpdateFlag,onSwitch
|
|
|
|
|
: item.top_state === 1
|
|
|
|
|
? 'bg-stone-100'
|
|
|
|
|
: '',
|
|
|
|
|
'hover:bg-slate-100',
|
|
|
|
|
(item.sn) === (currentHandleChat?.sn) ? ' bg-slate-100 text-slate-500' : '',
|
|
|
|
|
'hover:bg-slate-50',
|
|
|
|
|
(item.sn) === (currentHandleChat?.sn) ? ' bg-slate-50 text-slate-500' : '',
|
|
|
|
|
// String(item.sn) === String(tabSelectedConversation?.sn) ? ' bg-neutral-200' : '',
|
|
|
|
|
].join(' ')}>
|
|
|
|
|
{/* <div className='pl-4 pt-1 text-xs text-right'>
|
|
|
|
|