diff --git a/src/assets/styles/theme.css b/src/assets/styles/theme.css index 785f063..c5b53dd 100644 --- a/src/assets/styles/theme.css +++ b/src/assets/styles/theme.css @@ -77,6 +77,17 @@ --color-text-red: rgb(255, 0, 0); --color-text-blue: rgb(0, 100, 200); + /* 几何复杂度分析主题色 */ + --color-complexity-base: 255, 140, 0; /* #FF8C00 */ + --color-complexity: rgb(var(--color-complexity-base)); + --color-complexity-bg-1: rgba(var(--color-complexity-base), 0.05); + --color-complexity-bg-2: rgba(var(--color-complexity-base), 0.08); + --color-complexity-bg-3: rgba(var(--color-complexity-base), 0.1); + --color-complexity-border-1: rgba(var(--color-complexity-base), 0.1); + --color-complexity-border-2: rgba(var(--color-complexity-base), 0.2); + --color-complexity-border-3: rgba(var(--color-complexity-base), 0.3); + --color-complexity-border-15: rgba(var(--color-complexity-base), 0.15); + /* ===== 优化透明度层级系统 ===== */ /* 主色调透明度变体 */ diff --git a/src/components/pages/GeometryComplexityResult.vue b/src/components/pages/GeometryComplexityResult.vue index 15b4db8..5f52c9b 100644 --- a/src/components/pages/GeometryComplexityResult.vue +++ b/src/components/pages/GeometryComplexityResult.vue @@ -9,22 +9,301 @@
-
-
- + +
+
+

分析摘要

+
+ + 完成时间: {{ analysisTime }} +
-

分析结果页面

-

此页面将展示几何复杂度分析的结果

+ +
+
+
{{ mockData.length }}
+
总零件数
+
+
+
{{ averageComplexity }}
+
平均复杂度
+
+
+
{{ selectedParts.size }}
+
已选择零件
+
+
+
{{ highComplexityCount }}
+
高复杂度零件
+
+
+
+ + +
+
+

+ + 几何复杂度分析结果 ({{ mockData.length }} 个零件) +

+
+ + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
选择ID零件名称表面数特征数曲面数孔数圆角数复杂度得分体积 (mm³)
+ + {{ index + 1 }} +
+ {{ part.part_name }} +
{{ part.part_path }}
+
{{ part.file_size }}
+
+
{{ part.surface_count }}{{ part.feature_count }}{{ part.curved_surface_count }}{{ part.hole_count }}{{ part.fillet_count }} + + {{ part.complexity_score.toFixed(2) }} + + {{ formatVolume(part.volume) }}
+
+
+ + +
+
+

+ + 删除操作 +

+
+ 已选择: {{ selectedParts.size }} 个零件 +
+
+ +
+

选中的零件将从模型中删除。请仔细检查选择的零件,删除操作无法撤销。

+
+ +
\ No newline at end of file