/* 云小调 - 全局CSS变量(按原型配色) */
|
:root {
|
--primary-color: #1a6fb8;
|
--secondary-color: #0d4a8a;
|
--success-color: #2a9d8f;
|
--warning-color: #e9c46a;
|
--danger-color: #e76f51;
|
--light-color: #f8f9fa;
|
--dark-color: #212529;
|
--gray-color: #6c757d;
|
--border-color: #dee2e6;
|
--border-radius: 8px;
|
--box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
}
|
|
|
|
body {
|
background-color: #f5f7fb;
|
color: #333;
|
line-height: 1.6;
|
overflow-x: hidden;
|
height: 100vh;
|
display: flex;
|
flex-direction: column;
|
}
|
|
#root {
|
height: 100vh;
|
display: flex;
|
flex-direction: column;
|
}
|
|
/* 滚动条样式 */
|
::-webkit-scrollbar {
|
width: 8px;
|
}
|
|
::-webkit-scrollbar-track {
|
background: #f1f1f1;
|
border-radius: 4px;
|
}
|
|
::-webkit-scrollbar-thumb {
|
background: #c1c1c1;
|
border-radius: 4px;
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
background: #a8a8a8;
|
}
|
|
/* 状态点动画 */
|
@keyframes pulse {
|
0% { opacity: 1; }
|
50% { opacity: 0.5; }
|
100% { opacity: 1; }
|
}
|
|
.status-dot {
|
width: 12px;
|
height: 12px;
|
border-radius: 50%;
|
background: var(--success-color);
|
animation: pulse 2s infinite;
|
}
|
|
/* 顶部区域 */
|
.top-section {
|
background: white;
|
padding: 15px 24px;
|
border-bottom: 1px solid var(--border-color);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
flex-shrink: 0;
|
}
|
|
.header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
}
|
|
.title-area {
|
display: flex;
|
align-items: center;
|
gap: 12px;
|
}
|
|
.title-icon {
|
color: var(--primary-color);
|
font-size: 1.8rem;
|
}
|
|
.title-icon img {
|
width: 36px;
|
}
|
|
.title-text h1 {
|
font-size: 1.6rem;
|
font-weight: 600;
|
color: var(--secondary-color);
|
margin-bottom: 4px;
|
}
|
|
.title-subtitle {
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
}
|
|
.subtitle-text {
|
color: var(--gray-color);
|
font-size: 0.9rem;
|
}
|
|
.ai-status-tag {
|
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|
color: white;
|
padding: 3px 8px;
|
border-radius: 20px;
|
font-size: 0.75rem;
|
font-weight: 600;
|
display: flex;
|
align-items: center;
|
gap: 4px;
|
}
|
|
.case-info {
|
display: flex;
|
gap: 35px;
|
}
|
|
.info-item {
|
display: flex;
|
flex-direction: column;
|
}
|
|
.info-label {
|
font-size: 0.85rem;
|
color: var(--gray-color);
|
margin-bottom: 3px;
|
}
|
|
.info-value {
|
font-weight: 600;
|
font-size: 1rem;
|
color: var(--dark-color);
|
}
|
|
/* 中间区域 */
|
.middle-section {
|
display: flex;
|
flex: 1;
|
overflow: hidden;
|
padding: 15px 24px 80px;
|
gap: 20px;
|
}
|
|
/* A区域:左侧主要内容 */
|
.area-a {
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
gap: 12px;
|
overflow: hidden;
|
}
|
|
/* AI调解进度 */
|
.mediation-progress {
|
background: white;
|
border-radius: var(--border-radius);
|
padding: 12px 20px;
|
box-shadow: var(--box-shadow);
|
flex-shrink: 0;
|
height: 120px;
|
display: flex;
|
flex-direction: column;
|
}
|
|
.section-title {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
font-size: 1.1rem;
|
margin-bottom: 12px;
|
color: var(--secondary-color);
|
font-weight: 600;
|
}
|
|
.section-title i {
|
font-size: 1.2rem;
|
}
|
|
/* 步骤条 */
|
.progress-steps {
|
display: flex;
|
justify-content: space-between;
|
position: relative;
|
margin-bottom: 10px;
|
flex: 1;
|
}
|
|
.progress-steps::before {
|
content: '';
|
position: absolute;
|
top: 18px;
|
left: 0;
|
width: 100%;
|
height: 3px;
|
background: #e9ecef;
|
z-index: 1;
|
}
|
|
.progress-line {
|
position: absolute;
|
top: 18px;
|
left: 0;
|
height: 3px;
|
background: var(--primary-color);
|
z-index: 2;
|
transition: width 0.5s ease;
|
}
|
|
.step {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
position: relative;
|
z-index: 3;
|
width: 20%;
|
}
|
|
.step-indicator {
|
width: 36px;
|
height: 36px;
|
border-radius: 50%;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
background: #e9ecef;
|
color: var(--gray-color);
|
font-weight: 600;
|
margin-bottom: 6px;
|
border: 3px solid white;
|
transition: all 0.3s ease;
|
font-size: 0.75rem;
|
}
|
|
.step.active .step-indicator {
|
background: var(--primary-color);
|
color: white;
|
transform: scale(1.05);
|
}
|
|
.step.completed .step-indicator {
|
background: var(--success-color);
|
color: white;
|
}
|
|
.step-label {
|
font-size: 0.75rem;
|
text-align: center;
|
color: var(--gray-color);
|
font-weight: 500;
|
}
|
|
.step.active .step-label,
|
.step.completed .step-label {
|
color: var(--primary-color);
|
font-weight: 600;
|
}
|
|
.step.completed .step-label {
|
color: var(--success-color);
|
}
|
|
/* 选项卡容器 */
|
.tab-container {
|
background: white;
|
border-radius: var(--border-radius);
|
box-shadow: var(--box-shadow);
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
overflow: hidden;
|
min-height: 500px;
|
}
|
|
.tab-header {
|
display: flex;
|
border-bottom: 1px solid var(--border-color);
|
background: #f8f9fa;
|
flex-shrink: 0;
|
}
|
|
.tab-btn {
|
padding: 12px 18px;
|
background: none;
|
border: none;
|
font-size: 0.9rem;
|
font-weight: 600;
|
color: var(--gray-color);
|
cursor: pointer;
|
transition: all 0.2s ease;
|
position: relative;
|
display: flex;
|
align-items: center;
|
gap: 6px;
|
}
|
|
.tab-btn:hover {
|
color: var(--primary-color);
|
background: rgba(26, 111, 184, 0.05);
|
}
|
|
.tab-btn.active {
|
color: var(--primary-color);
|
}
|
|
.tab-btn.active::after {
|
content: '';
|
position: absolute;
|
bottom: 0;
|
left: 0;
|
width: 100%;
|
height: 3px;
|
background: var(--primary-color);
|
}
|
|
.tab-badge {
|
background: #dc3545;
|
color: white;
|
font-size: 0.7rem;
|
padding: 1px 6px;
|
border-radius: 10px;
|
margin-left: 5px;
|
font-weight: 600;
|
}
|
|
.tab-content {
|
flex: 1;
|
overflow: hidden;
|
display: flex;
|
flex-direction: column;
|
}
|
|
.tab-pane {
|
flex: 1;
|
display: none;
|
flex-direction: column;
|
overflow: hidden;
|
}
|
|
.tab-pane.active {
|
display: flex;
|
}
|
|
.tab-content-area {
|
flex: 1;
|
overflow-y: auto;
|
padding: 20px;
|
}
|
|
/* B区域:右侧工具栏 */
|
.area-b {
|
width: 280px;
|
display: flex;
|
flex-direction: column;
|
gap: 20px;
|
flex-shrink: 0;
|
}
|
|
.tools-panel {
|
background: white;
|
border-radius: var(--border-radius);
|
padding: 20px;
|
box-shadow: var(--box-shadow);
|
height: 100%;
|
display: flex;
|
flex-direction: column;
|
}
|
|
.tools-title {
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
font-size: 1.2rem;
|
margin-bottom: 18px;
|
color: var(--secondary-color);
|
font-weight: 600;
|
}
|
|
.tools-title i {
|
font-size: 1.4rem;
|
}
|
|
.tools-list {
|
display: flex;
|
flex-direction: column;
|
gap: 10px;
|
flex: 1;
|
}
|
|
.tool-item {
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
padding: 12px;
|
border-radius: var(--border-radius);
|
background: #f8f9fa;
|
cursor: pointer;
|
transition: all 0.2s ease;
|
}
|
|
.tool-item:hover {
|
background: #e9ecef;
|
transform: translateY(-2px);
|
}
|
|
.tool-icon {
|
width: 36px;
|
height: 36px;
|
border-radius: 8px;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
color: white;
|
font-size: 1.1rem;
|
}
|
|
.tool-icon.calculator {
|
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|
}
|
|
.tool-icon.doc {
|
background: linear-gradient(135deg, #2a9d8f, #264653);
|
}
|
|
.tool-icon.law {
|
background: linear-gradient(135deg, #e9c46a, #e76f51);
|
}
|
|
.tool-text {
|
flex: 1;
|
}
|
|
.tool-name {
|
font-weight: 600;
|
font-size: 0.95rem;
|
margin-bottom: 2px;
|
color: var(--dark-color);
|
}
|
|
.tool-desc {
|
font-size: 0.8rem;
|
color: var(--gray-color);
|
}
|
|
/* 底部悬浮控制看板 */
|
.floating-control-panel {
|
position: fixed;
|
bottom: 0;
|
left: 0;
|
right: 0;
|
background: white;
|
border-top: 1px solid var(--border-color);
|
box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
|
padding: 12px 24px;
|
z-index: 100;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
}
|
|
.control-status {
|
display: flex;
|
align-items: center;
|
gap: 15px;
|
}
|
|
.status-indicator {
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
}
|
|
.status-text {
|
font-size: 1.1rem;
|
font-weight: 600;
|
color: var(--dark-color);
|
}
|
|
.control-action {
|
display: flex;
|
align-items: center;
|
gap: 15px;
|
}
|
|
.floating-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;
|
background: #ffeaea;
|
color: #e63946;
|
border: 2px solid #ffadad;
|
}
|
|
.floating-control-btn:hover {
|
transform: translateY(-2px);
|
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;
|
grid-template-columns: 2fr 1fr;
|
gap: 20px;
|
}
|
|
.metric-card {
|
background: #f8f9fa;
|
border-radius: var(--border-radius);
|
padding: 18px;
|
display: flex;
|
flex-direction: column;
|
min-height: 200px;
|
}
|
|
.metric-title {
|
font-size: 1rem;
|
color: var(--secondary-color);
|
margin-bottom: 12px;
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
font-weight: 600;
|
}
|
|
.metric-content {
|
flex: 1;
|
}
|
|
/* 诉求差距分析 */
|
.gap-analysis {
|
background: #f0f7ff;
|
border-radius: 8px;
|
padding: 14px;
|
border-left: 4px solid var(--primary-color);
|
position: relative;
|
}
|
|
.gap-title {
|
font-size: 0.9rem;
|
font-weight: 600;
|
color: var(--secondary-color);
|
margin-bottom: 6px;
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
}
|
|
.gap-update-time {
|
position: absolute;
|
top: 10px;
|
right: 15px;
|
font-size: 0.8rem;
|
color: var(--gray-color);
|
font-style: italic;
|
}
|
|
.gap-content {
|
font-size: 0.9rem;
|
line-height: 1.5;
|
color: var(--dark-color);
|
}
|
|
.gap-content ul {
|
padding-left: 20px;
|
margin-top: 6px;
|
}
|
|
.gap-content li {
|
margin-bottom: 4px;
|
font-size: 0.9rem;
|
}
|
|
/* 调解数据 */
|
.success-metric {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
text-align: center;
|
padding: 10px;
|
height: 100%;
|
}
|
|
.success-value {
|
font-size: 2.5rem;
|
font-weight: 800;
|
color: var(--primary-color);
|
line-height: 1;
|
margin-bottom: 8px;
|
}
|
|
.success-label {
|
font-size: 0.95rem;
|
color: var(--gray-color);
|
margin-bottom: 8px;
|
}
|
|
.success-change {
|
font-size: 0.85rem;
|
display: flex;
|
align-items: center;
|
gap: 5px;
|
color: var(--success-color);
|
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;
|
position: fixed;
|
z-index: 1000;
|
left: 0;
|
top: 0;
|
width: 100%;
|
height: 100%;
|
background-color: rgba(0, 0, 0, 0.5);
|
overflow: hidden;
|
}
|
|
.modal-overlay.active {
|
display: flex;
|
justify-content: center;
|
align-items: flex-start;
|
padding-top: 2%;
|
}
|
|
.modal-content {
|
position: relative;
|
background-color: white;
|
width: 90%;
|
max-width: 1200px;
|
height: 90vh;
|
border-radius: 12px;
|
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
|
animation: modalSlideIn 0.3s ease-out;
|
display: flex;
|
flex-direction: column;
|
}
|
|
@keyframes modalSlideIn {
|
from {
|
opacity: 0;
|
transform: translateY(-50px);
|
}
|
to {
|
opacity: 1;
|
transform: translateY(0);
|
}
|
}
|
|
.modal-header {
|
background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
|
color: white;
|
padding: 15px 20px;
|
border-radius: 12px 12px 0 0;
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
flex-shrink: 0;
|
}
|
|
.modal-header h2 {
|
margin: 0;
|
font-size: 1.5rem;
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
color: white;
|
font-weight: bold;
|
}
|
|
.close-btn {
|
color: white;
|
font-size: 28px;
|
font-weight: bold;
|
cursor: pointer;
|
transition: transform 0.2s;
|
width: 40px;
|
height: 40px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
border-radius: 50%;
|
border: none;
|
background: transparent;
|
}
|
|
.close-btn:hover {
|
transform: scale(1.1);
|
background-color: rgba(255, 255, 255, 0.1);
|
}
|
|
.modal-body {
|
flex: 1;
|
overflow: auto;
|
padding: 20px;
|
}
|