This commit is contained in:
cjw
2026-02-16 17:38:08 +08:00
parent 2f16ae198a
commit b54d8ede57
2 changed files with 3 additions and 69 deletions
+1 -67
View File
@@ -181,73 +181,7 @@ body {
gap: 10px;
}
.category-section {
background: #f8f9fa;
border-radius: 10px;
padding: 20px;
border-left: 4px solid #3498db;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.category-section:nth-child(1) {
border-left-color: #e74c3c;
}
.category-section:nth-child(2) {
border-left-color: #27ae60;
}
.category-section:nth-child(3) {
border-left-color: #f39c12;
}
.category-title {
font-size: 1.2em;
font-weight: bold;
margin-bottom: 15px;
color: #2c3e50;
display: flex;
align-items: center;
gap: 8px;
padding-bottom: 10px;
border-bottom: 2px solid rgba(0,0,0,0.1);
}
.category-content {
display: flex;
flex-direction: column;
gap: 12px;
}
.data-item {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
transition: transform 0.2s ease;
}
.data-item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.data-label {
font-weight: bold;
color: #2c3e50;
margin-bottom: 8px;
font-size: 0.95em;
display: flex;
align-items: center;
gap: 8px;
}
.data-value {
color: #34495e;
font-family: 'Courier New', monospace;
font-size: 1.1em;
font-weight: 600;
}
/* 旧的category样式已移除,使用内联样式 */
.data-unit {
color: #7f8c8d;
+2 -2
View File
@@ -5,7 +5,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>分析结果 - STP文件几何分析工具</title>
<link rel="stylesheet" href="/static/style.css?v=12">
<link rel="stylesheet" href="/static/style.css?v=13">
<style>
.result-container {
max-width: 1200px;
@@ -313,7 +313,7 @@
</div>
</div>
<div class="result-section">
<div class="result-section" style="grid-column: 1 / -1;">
<div class="section-title">🔧 关键工艺参数</div>
${displayKeyInfo(task.key_info)}
</div>