From 529af79115af1e72bcd4d9a0dce63bb89cc4a5ab Mon Sep 17 00:00:00 2001
From: chengmw <chengmingwei_1984122@126.com>
Date: Tue, 07 Apr 2026 15:16:31 +0800
Subject: [PATCH] feat: 优化AppHeader用户信息处理,增加URL解码和localStorage存储

---
 web-app/src/App.css |  141 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 141 insertions(+), 0 deletions(-)

diff --git a/web-app/src/App.css b/web-app/src/App.css
index 5b1204c..59fba74 100644
--- a/web-app/src/App.css
+++ b/web-app/src/App.css
@@ -518,6 +518,59 @@
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 }
 
+/* 状态控制按钮样式(终止/恢复) */
+.state-control-btn {
+  padding: 10px 24px;
+  border: none;
+  border-radius: var(--border-radius);
+  font-weight: 600;
+  font-size: 1rem;
+  cursor: pointer;
+  transition: all 0.2s ease;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  gap: 8px;
+  color: white;
+}
+
+.state-control-btn:hover {
+  transform: translateY(-2px);
+  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
+}
+
+.state-control-btn:active {
+  transform: translateY(0);
+}
+
+.state-control-btn:disabled {
+  opacity: 0.6;
+  cursor: not-allowed;
+  transform: none;
+}
+
+/* 终止按钮 - 红色渐变主题 */
+.state-control-btn--terminate {
+  background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
+  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
+}
+
+.state-control-btn--terminate:hover {
+  background: linear-gradient(135deg, #f04a57 0%, #d41926 100%);
+  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.4);
+}
+
+/* 恢复按钮 - 绿色主题 */
+.state-control-btn--resume {
+  background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
+  box-shadow: 0 2px 8px rgba(82, 196, 26, 0.3);
+}
+
+.state-control-btn--resume:hover {
+  background: linear-gradient(135deg, #5fd42b 0%, #42b417 100%);
+  box-shadow: 0 4px 16px rgba(82, 196, 26, 0.4);
+}
+
 /* 人工接管印章效果 */
 .takeover-stamp {
   position: relative;
@@ -662,6 +715,94 @@
   font-weight: 600;
 }
 
+/* 预计调解成功率 - 新版样式 */
+.success-rate-section {
+  background: #f8f9fa;
+  border-radius: 8px;
+  padding: 14px 16px;
+  margin-bottom: 10px;
+  text-align: left;
+}
+
+.success-rate-label {
+  font-size: 0.85rem;
+  color: #6c757d;
+  margin-bottom: 8px;
+}
+
+.success-rate-row {
+  display: flex;
+  align-items: baseline;
+  gap: 10px;
+  margin-bottom: 10px;
+}
+
+.success-rate-value {
+  font-size: 2.2rem;
+  font-weight: 700;
+  color: #1a6fb8;
+  line-height: 1;
+}
+
+.success-rate-yoy {
+  display: flex;
+  align-items: center;
+  gap: 4px;
+  font-size: 0.8rem;
+}
+
+.yoy-icon-img {
+  width: 12px;
+  height: 7px;
+}
+
+.yoy-rate {
+  color: #52c41a;
+  font-weight: 600;
+}
+
+.yoy-time {
+  color: #52c41a;
+}
+
+/* 进度条 */
+.success-rate-progress {
+  width: 100%;
+}
+
+.progress-bar-bg {
+  width: 100%;
+  height: 6px;
+  background: #e8e8e8;
+  border-radius: 3px;
+  overflow: hidden;
+}
+
+.progress-bar-fill {
+  height: 100%;
+  background: #1a6fb8;
+  border-radius: 3px;
+  transition: width 0.3s ease;
+}
+
+/* 调解数据看板 - 左右分栏布局 */
+.metric-card.left-column {
+  display: flex;
+  flex-direction: column;
+}
+
+.metric-card.right-column {
+  display: flex;
+  flex-direction: column;
+  padding: 0;
+  background: transparent;
+  gap: 0px;
+}
+
+.metric-card.right-column > *:last-child {
+  margin-bottom: 0;
+}
+
 /* 模态窗口样式 */
 .modal-overlay {
   display: none;

--
Gitblit v1.8.0