From 0e1b8d62430b866dc5997745827a2c87765766db Mon Sep 17 00:00:00 2001 From: imeepos Date: Thu, 17 Jul 2025 13:32:49 +0800 Subject: [PATCH] style: align ExportRecordManager statistics with project statistics design - Replace stat-card classes with project-style gradient cards - Use same design pattern as ProjectCard and ProjectDetails statistics - Add gradient backgrounds with decorative circles - Implement hover animations with translate and shadow effects - Use consistent color scheme: primary, green, red, purple - Match the visual style of other project statistics throughout the app - Improve visual hierarchy with proper spacing and typography --- .../src/components/ExportRecordManager.tsx | 75 +++++++++++-------- 1 file changed, 43 insertions(+), 32 deletions(-) diff --git a/apps/desktop/src/components/ExportRecordManager.tsx b/apps/desktop/src/components/ExportRecordManager.tsx index 413545e..b75f2c8 100644 --- a/apps/desktop/src/components/ExportRecordManager.tsx +++ b/apps/desktop/src/components/ExportRecordManager.tsx @@ -371,56 +371,67 @@ const ExportRecordManager: React.FC = ({ {/* 统计信息 */} {statistics && (
-
-
-
-
- {statistics.total_exports} + {/* 总导出次数 */} +
+
+
+
+
+
-
总导出次数
-
- +
+ {statistics.total_exports}
+
总导出次数
-
-
-
-
- {statistics.successful_exports} + + {/* 成功导出 */} +
+
+
+
+
+
-
成功导出
-
- +
+ {statistics.successful_exports}
+
成功导出
-
-
-
-
- {statistics.failed_exports} + + {/* 失败导出 */} +
+
+
+
+
+
-
失败导出
-
- +
+ {statistics.failed_exports}
+
失败导出
-
-
-
-
- {formatFileSize(statistics.total_file_size)} + + {/* 总文件大小 */} +
+
+
+
+
+
-
总文件大小
-
- +
+ {formatFileSize(statistics.total_file_size)}
+
总文件大小