From 88a31d5a960bd10f3799bc00f8aa24461567d06e Mon Sep 17 00:00:00 2001
From: shimai <shimai@example.com>
Date: Tue, 07 Apr 2026 15:23:43 +0800
Subject: [PATCH] Merge branch 'test/tony.cheng/260312' of http://120.79.193.119:9090/r/~chengmw/cloud-melody-front into test/shimai.huang/260309
---
web-app/src/App.css | 177 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 177 insertions(+), 0 deletions(-)
diff --git a/web-app/src/App.css b/web-app/src/App.css
index 5b74aac..59fba74 100644
--- a/web-app/src/App.css
+++ b/web-app/src/App.css
@@ -518,6 +518,95 @@
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;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ padding: 8px 20px;
+ font-size: 1rem;
+ font-weight: 700;
+ color: #e63946;
+ background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
+ border: 3px double #e63946;
+ border-radius: 4px;
+ box-shadow: 0 2px 8px rgba(230, 57, 70, 0.15);
+ transform: rotate(-3deg);
+ user-select: none;
+ cursor: default;
+ letter-spacing: 3px;
+ opacity: 0.9;
+}
+
+.takeover-stamp::before {
+ content: '';
+ position: absolute;
+ inset: 3px;
+ border: 1px solid rgba(230, 57, 70, 0.4);
+ border-radius: 2px;
+ pointer-events: none;
+}
+
+.takeover-stamp-text {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+}
+
/* 调解数据看板 */
.mediation-metrics {
display: grid;
@@ -626,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