From cbd5718669fea5877be8dcfcde74f0054fce0877 Mon Sep 17 00:00:00 2001 From: chengkai3 Date: Sun, 28 Jun 2026 14:55:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:[FL-207][=E6=96=87=E4=BB=B6=E8=A7=86?= =?UTF-8?q?=E5=9B=BE=E6=94=B9=E4=B8=BA=E5=88=97=E8=A1=A8=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: multica-agent --- web/src/app/admin/atp-models/page.tsx | 60 ++++++++++++++++----------- 1 file changed, 36 insertions(+), 24 deletions(-) diff --git a/web/src/app/admin/atp-models/page.tsx b/web/src/app/admin/atp-models/page.tsx index c1ddbd6..4675451 100644 --- a/web/src/app/admin/atp-models/page.tsx +++ b/web/src/app/admin/atp-models/page.tsx @@ -821,7 +821,7 @@ export default function AtpModelsPage() { ]} /> -
+
{assetsQuery.isLoading || assetsQuery.isFetching ? (
@@ -832,36 +832,48 @@ export default function AtpModelsPage() { description="当前目录为空" /> ) : ( -
+
{fileViewItems.map((item, index) => item.type === "folder" ? ( - handleFileViewItemClick(item)} - style={{ cursor: "pointer" }} - bodyStyle={{ padding: "16px" }} + style={{ + display: "flex", + alignItems: "center", + padding: "12px 16px", + cursor: "pointer", + borderBottom: index < fileViewItems.length - 1 ? "1px solid #f0f0f0" : "none", + transition: "background-color 0.2s", + }} + onMouseEnter={(e) => { + e.currentTarget.style.backgroundColor = "#f5f5f5"; + }} + onMouseLeave={(e) => { + e.currentTarget.style.backgroundColor = "transparent"; + }} > -
- - - {item.displayName} - -
-
+ + {item.displayName} +
) : ( - -
- - - {item.displayName} - - - {item.item && formatDateTime(item.item.update_date)} - + +
+
+ {item.displayName} + + {item.item && formatDateTime(item.item.update_date)} + +
{item.item && ( )}
- +
) )}