diff --git a/public/bpic_eli/risk_history.html b/public/bpic_eli/risk_history.html
index 2296012..05395ca 100644
--- a/public/bpic_eli/risk_history.html
+++ b/public/bpic_eli/risk_history.html
@@ -1,345 +1,357 @@
-
-
-
-
- 历史风险记录
+
+
+
+
+ 历史风险记录
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
- 客户名称
- 时间
-
-
-
风险摘要信息将显示在这里
-
-
-
-
-
+ /* 美化后的dialog样式 */
+ .dialog {
+ position: absolute;
+ width: 50%;
+ min-width: 300px;
+ background: #fff;
+ left: 25%;
+ top: 50%;
+ margin-top: -150px;
+ border: 1px solid #ccc;
+ text-align: center;
+ border-radius: 8px;
+ box-shadow: 0 4px 12px rgba(0,0,0,0.2);
+ /* IE8兼容的阴影效果 */
+ filter: progid:DXImageTransform.Microsoft.Shadow(color='#cccccc', Direction=135, Strength=5);
+ z-index: 1000;
+ font-family: 'Microsoft YaHei', Arial, sans-serif;
+ /* IE8 居中对齐 */
+ *left: 0;
+ *top: 0;
+ *margin-left: 25%;
+ *margin-top: 100px;
+ }
+
+ .dialog .title {
+ font-size: 18px;
+ font-weight: bold;
+ padding: 20px 30px;
+ text-align: left;
+ background: #f8f9fa;
+ border-bottom: 1px solid #eee;
+ border-radius: 8px 8px 0 0;
+ color: #2c3e50;
+ position: relative;
+ zoom: 1; /* 触发IE hasLayout */
+ }
+
+ .dialog-close {
+ position: absolute;
+ right: 15px;
+ top: 50%;
+ /* IE8兼容的垂直居中 */
+ *top: 20px;
+ background: none;
+ border: none;
+ font-size: 24px;
+ font-weight: bold;
+ color: #aaa;
+ cursor: pointer;
+ padding: 0;
+ width: 30px;
+ height: 30px;
+ line-height: 30px;
+ text-align: center;
+ /* IE8兼容方案 */
+ *line-height: 24px;
+ }
+
+ .dialog-close:hover {
+ color: #333;
+ background: #eee;
+ border-radius: 50%;
+ }
+
+ .dialog textarea {
+ text-align: left;
+ width: 90%;
+ padding: 15px;
+ margin: 20px 0;
+ outline: none;
+ border: 1px solid #ddd;
+ height: 150px;
+ border-radius: 4px;
+ font-family: 'Microsoft YaHei', Arial, sans-serif;
+ font-size: 14px;
+ resize: none;
+ /* IE8 兼容 */
+ *padding: 10px;
+ *width: 85%;
+ }
+
+ .dialog textarea:focus {
+ border-color: #3498db;
+ /* IE8 不支持 box-shadow */
+ *border-color: #3498db;
+ }
+
+ .dialog-action {
+ text-align: right;
+ padding: 0 20px 20px;
+ zoom: 1; /* 触发IE hasLayout */
+ }
+
+ .dialog-action button {
+ padding: 8px 20px;
+ cursor: pointer;
+ border-radius: 4px;
+ border: 1px solid #ddd;
+ font-size: 14px;
+ font-weight: 500;
+ margin-left: 10px;
+ /* IE8 兼容 */
+ *padding: 5px 15px;
+ *border: 1px solid #ccc;
+ *zoom: 1;
+ }
+
+ .dialog-action button:first-child {
+ margin-left: 0;
+ }
+
+ /* IE8 不支持 :hover 伪类在非 a 标签上,但可以定义以防在支持的浏览器中使用 */
+ .dialog-action button:hover {
+ opacity: 0.9;
+ /* IE8 不支持 opacity */
+ *filter: alpha(opacity=90);
+ }
+
+ .dialog-action button:last-child {
+ background: #fff;
+ color: #333;
+ border: 1px solid #ccc;
+ }
+
+ /* 遮罩层 */
+ .dialog-overlay {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: rgba(0,0,0,0.5);
+ z-index: 999;
+ display: none;
+ /* IE8 兼容方案 */
+ *position: absolute;
+ *top: 0;
+ *left: 0;
+ *width: 100%;
+ *height: 100%;
+ *background: #000;
+ *filter: alpha(opacity=50);
+ }
+
+
+
+
-
-
-
查看评价
-
-
-
-
+
+
+
+
+
+
+ 客户名称
+ 时间
+
+
+
风险摘要信息将显示在这里
+
+
+
+
+
+
+
+
+
-
-
+
-
+ )
+ }
+
+ // 添加关闭对话框的函数
+ function closeDialog() {
+ document.getElementById('commentDialog').style.display = 'none';
+ document.getElementById('dialogOverlay').style.display = 'none';
+ }
+
+ // 添加保存评论的函数
+ function saveComment() {
+ var comment = document.getElementById('commentText').value;
+ alert('评论已保存: ' + comment);
+ closeDialog();
+ }
+
+ // 显示对话框
+ function showDialog() {
+ document.getElementById('commentDialog').style.display = 'block';
+ document.getElementById('dialogOverlay').style.display = 'block';
+ }
+
+ // 页面加载完成后为按钮添加点击事件
+ window.onload = function() {
+ var buttons = document.querySelectorAll('.actions button');
+ buttons[2].onclick = function() {
+ showDialog();
+ }
+ }
+
+ // 添加错误处理函数
+ function handleError(errorMsg, url, line) {
+ console.log('Error occurred: ' + errorMsg + ' at ' + url + ':' + line)
+ // 可以在这里添加用户友好的错误提示
+ return true // 阻止浏览器默认的错误处理
+ }
+
+ // 设置全局错误处理
+ window.onerror = handleError
+
+
+
diff --git a/public/bpic_eli/toDown.png b/public/bpic_eli/toDown.png
new file mode 100644
index 0000000..32b6617
Binary files /dev/null and b/public/bpic_eli/toDown.png differ
diff --git a/public/bpic_eli/toRight.png b/public/bpic_eli/toRight.png
new file mode 100644
index 0000000..12732e1
Binary files /dev/null and b/public/bpic_eli/toRight.png differ