From d100657dacb25df91013ef25432620e6ae10d1f8 Mon Sep 17 00:00:00 2001
From: shimai <shimai@example.com>
Date: Thu, 09 Apr 2026 16:56:44 +0800
Subject: [PATCH] feat:增加白云案件类案数据
---
web-app/src/components/tools/TypicalCaseDetailContent.css | 49 +++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 47 insertions(+), 2 deletions(-)
diff --git a/web-app/src/components/tools/TypicalCaseDetailContent.css b/web-app/src/components/tools/TypicalCaseDetailContent.css
index c39d67d..ee47653 100644
--- a/web-app/src/components/tools/TypicalCaseDetailContent.css
+++ b/web-app/src/components/tools/TypicalCaseDetailContent.css
@@ -5,8 +5,8 @@
margin: 0 auto;
background-color: white;
border-radius: 10px;
- overflow: hidden;
- height: 100%;
+ position: relative;
+ /* 移除 overflow: hidden 和 height: 100%,让内容自然撑开,由 .ant-modal-body 处理滚动 */
}
.case-detail-info-section {
@@ -27,6 +27,11 @@
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
+}
+
+.case-detail-info-full {
+ margin-bottom: 15px;
+ display: block;
}
.case-detail-info-item {
@@ -142,6 +147,35 @@
border-left: 3px solid #aaa;
}
+/* 返回顶部按钮样式 */
+.back-to-top-btn {
+ position: fixed;
+ bottom: 80px;
+ right: 40px;
+ z-index: 1001;
+ width: 48px;
+ height: 48px;
+ background-color: #1a6fb8 !important;
+ border-color: #1a6fb8 !important;
+ box-shadow: 0 4px 12px rgba(26, 111, 184, 0.4);
+ transition: all 0.3s ease;
+}
+
+.back-to-top-btn:hover {
+ background-color: #0d4a8a !important;
+ border-color: #0d4a8a !important;
+ transform: translateY(-3px);
+ box-shadow: 0 6px 16px rgba(26, 111, 184, 0.6);
+}
+
+.back-to-top-btn:active {
+ transform: translateY(-1px);
+}
+
+.back-to-top-btn .anticon {
+ font-size: 20px;
+}
+
@media (max-width: 768px) {
.case-detail-header, .case-detail-info-section, .case-detail-body {
padding: 20px;
@@ -150,4 +184,15 @@
.case-detail-info-grid {
grid-template-columns: 1fr;
}
+
+ .back-to-top-btn {
+ bottom: 60px;
+ right: 20px;
+ width: 40px;
+ height: 40px;
+ }
+
+ .back-to-top-btn .anticon {
+ font-size: 16px;
+ }
}
--
Gitblit v1.8.0