refactor(ui): streamline auth file actions with event delegation

- Updated the auth file action buttons to use data attributes for improved event handling.
- Implemented event delegation for button actions (show details, download, delete) to enhance performance and maintainability.
- Added a hidden class in CSS to manage file item visibility more effectively.
- Refactored modal button actions to utilize event delegation for better code organization.
This commit is contained in:
coulsontl
2025-10-26 17:09:33 +08:00
parent 3e9413172c
commit 825ad53c2c
2 changed files with 90 additions and 22 deletions

View File

@@ -1701,6 +1701,10 @@ input:checked+.slider:before {
transition: all 0.3s ease;
}
.file-item.hidden {
display: none;
}
.key-item:hover,
.provider-item:hover,
.file-item:hover {