新增功能:支持单独删除分析列表中的文件

This commit is contained in:
2026-01-11 11:49:44 +08:00
parent 223d4859d1
commit 463573235b
3 changed files with 75 additions and 2 deletions
+31 -1
View File
@@ -244,7 +244,7 @@ body {
.file-tag {
font-size: 12px;
padding: 4px 12px;
padding: 4px 8px 4px 12px;
background: rgba(255, 255, 255, 0.6);
border: 1px solid #e2e8f0;
border-radius: 20px;
@@ -252,6 +252,9 @@ body {
cursor: pointer;
white-space: nowrap;
transition: all 0.2s;
display: inline-flex;
align-items: center;
gap: 8px;
}
.file-tag.active {
@@ -261,6 +264,33 @@ body {
font-weight: 500;
}
.delete-file-btn {
width: 18px;
height: 18px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: all 0.2s;
color: var(--text-tertiary);
font-size: 10px;
}
.delete-file-btn:hover {
background: rgba(239, 68, 68, 0.1);
color: #ef4444;
transform: scale(1.1);
}
.file-tag.active .delete-file-btn {
color: var(--primary-light);
}
.file-tag.active .delete-file-btn:hover {
background: rgba(239, 68, 68, 0.2);
color: #ef4444;
}
/* Dashboard Grid */
.summary-cards {
display: grid;