消息添加增加富文本

This commit is contained in:
2026-07-23 09:11:04 +08:00
parent 4fdbe0c946
commit 54b8e1a360
14 changed files with 1233 additions and 914 deletions
@@ -201,19 +201,17 @@ const NotificationPopup: React.FC = () => {
padding: '24px 28px 28px',
}}>
<div style={{
padding: '18px 20px',
background: '#f8fafc',
padding: '18px 20px',
background: '#f8fafc',
borderRadius: 16,
marginBottom: 20,
marginBottom: 20,
border: '1px solid #f1f5f9',
}}>
<div style={{
fontSize: 14,
color: '#475569',
<div style={{
fontSize: 14,
color: '#475569',
lineHeight: 1.7,
}}>
{current.content}
</div>
}} dangerouslySetInnerHTML={{ __html: current.content }} />
</div>
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
+1
View File
@@ -81,6 +81,7 @@ const MessagesPage: React.FC = () => {
dataIndex: 'content',
key: 'content',
ellipsis: true,
render: (v: string) => <div style={{ maxWidth: 300 }} dangerouslySetInnerHTML={{ __html: v }} />,
},
{
title: '状态',