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/dashboard/PartyInfoCard.css | 26 +++++++++++++++++---------
1 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/web-app/src/components/dashboard/PartyInfoCard.css b/web-app/src/components/dashboard/PartyInfoCard.css
index 0a34ebe..b6538c4 100644
--- a/web-app/src/components/dashboard/PartyInfoCard.css
+++ b/web-app/src/components/dashboard/PartyInfoCard.css
@@ -7,7 +7,7 @@
background: #f8f9fa;
border-radius: 8px;
padding: 12px 16px;
- margin-bottom: 16px;
+ margin-bottom: 10px;
}
.party-info-title {
@@ -34,21 +34,28 @@
padding: 8px;
}
-/* 情绪标签 */
+/* 情绪标签 - 实心红背景白字 */
.party-tag {
position: absolute;
top: -4px;
left: 50%;
transform: translateX(-50%);
font-size: 0.7rem;
- padding: 0 6px;
- line-height: 18px;
- border-radius: 4px;
+ padding: 2px 8px;
+ line-height: 16px;
+ border-radius: 10px;
+ background-color: #ff4d4f !important;
+ color: white !important;
+ border: none !important;
}
-.party-avatar {
+.party-avatar-img {
+ width: 48px;
+ height: 48px;
+ border-radius: 50%;
margin-top: 12px;
margin-bottom: 8px;
+ object-fit: cover;
}
.party-role {
@@ -76,7 +83,8 @@
padding: 0 8px;
}
-.vs-icon {
- font-size: 1.5rem;
- color: #d9d9d9;
+.vs-icon-img {
+ width: 24px;
+ height: 24px;
+ object-fit: contain;
}
--
Gitblit v1.8.0