fix(TextMessage): 修复提及文本颜色在右侧浮动时的显示问题

This commit is contained in:
Phoenix 2025-07-07 09:44:39 +08:00
parent a05d637bd2
commit 3f89777bf8

View File

@ -17,7 +17,7 @@ let textContent = props.extra?.content || ''
textContent = textReplaceLink(textContent)
if (props.data.talk_type == 2) {
textContent = textReplaceMention(textContent, float==='right'?'#462AA0':'#fff',float==='right'?'#fff':'#462AA0')
textContent = textReplaceMention(textContent, float==='right'?'#462AA0':'#fff',float==='right'?'#EEE9F9':'#462AA0')
}
textContent = textReplaceEmoji(textContent)