|
|
|
@ -321,7 +321,7 @@ function ChatHistory() {
|
|
|
|
|
</Sider>
|
|
|
|
|
<Content style={{ maxHeight: 'calc(100vh - 279px)', height: 'calc(100vh - 279px)', minWidth: '360px' }}>
|
|
|
|
|
<Flex className='h-full relative'>
|
|
|
|
|
{(selectedConversation.matchMsgList || []).length > 1 && isNotEmpty(formValues.search) && (
|
|
|
|
|
{(selectedConversation.matchMsgList || []).length > 0 && isNotEmpty(formValues.search) && (
|
|
|
|
|
<div className='w-80 overflow-y-auto overflow-x-hidden'>
|
|
|
|
|
<p className='text-center'><mark>{formValues.search}</mark> 的相关记录, 点击定位上下文</p>
|
|
|
|
|
{selectedConversation.matchMsgList.map((item) => (
|
|
|
|
@ -334,7 +334,7 @@ function ChatHistory() {
|
|
|
|
|
letter: (item.sender === 'me' ? selectedConversation.OPI_Name || item.senderName : item.senderName).split(' ')[0],
|
|
|
|
|
}}
|
|
|
|
|
alt={`${item.senderName}`}
|
|
|
|
|
title={item.senderName}
|
|
|
|
|
title={item.sender === 'me' ? selectedConversation.OPI_Name || item.senderName : item.senderName}
|
|
|
|
|
subtitle={item.originText}
|
|
|
|
|
date={item.msgtime}
|
|
|
|
|
// dateString={item.msgtime}
|
|
|
|
|