From 6b14010e1765842acc437ab130e5815bc623788d Mon Sep 17 00:00:00 2001
From: chengmw <chengmingwei_1984122@126.com>
Date: Thu, 02 Apr 2026 14:59:59 +0800
Subject: [PATCH] feat: 优化警告提示和调解流程 UI,新增 AI 背景和图片资源

---
 web-app/src/components/common/WarningAlert.jsx |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/web-app/src/components/common/WarningAlert.jsx b/web-app/src/components/common/WarningAlert.jsx
index 42acb4b..656f7b1 100644
--- a/web-app/src/components/common/WarningAlert.jsx
+++ b/web-app/src/components/common/WarningAlert.jsx
@@ -5,17 +5,20 @@
 
 import React, { useState, useEffect, useCallback } from 'react';
 import { Modal, List } from 'antd';
-import { WarningOutlined, RightOutlined } from '@ant-design/icons';
+import { RightOutlined } from '@ant-design/icons';
 import { useCaseData } from '../../contexts/CaseDataContext';
 import MediationTimelineAPIService from '../../services/MediationTimelineAPIService';
 import './WarningAlert.css';
+
+// 警告图标图片
+const WARNING_ICON = '/warning.png';
 
 /**
  * 预警消息列表弹窗
  */
 const WarningModal = ({ visible, warnings, onClose }) => (
   <Modal
-    title={<span><WarningOutlined style={{ color: '#faad14', marginRight: 8 }} />预警消息列表</span>}
+    title={<span><img src={WARNING_ICON} alt="warning" className="warning-modal-icon" />预警消息列表</span>}
     open={visible}
     onCancel={onClose}
     footer={null}
@@ -90,7 +93,7 @@
   return (
     <div className="warning-alert">
       <div className="warning-alert-content">
-        <WarningOutlined className="warning-icon" />
+        <img src={WARNING_ICON} alt="warning" className="warning-icon-img" />
         <span className="warning-label">预警:</span>
         <span className="warning-text">{firstWarning.content}</span>
       </div>

--
Gitblit v1.8.0