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 && ( )}
- +
) )}