fix: errors

This commit is contained in:
2025-08-06 14:59:39 +08:00
parent c4ad0c1dc9
commit aa20b6d7e6
10 changed files with 188 additions and 23 deletions

View File

@@ -384,6 +384,12 @@ input[type="search"]::-webkit-search-results-decoration {
justify-content: center;
z-index: 1000;
padding: 16px;
animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.modal.hidden {
@@ -398,6 +404,18 @@ input[type="search"]::-webkit-search-results-decoration {
width: 100%;
max-height: 80vh;
overflow-y: auto;
animation: slideUp 0.2s ease;
}
@keyframes slideUp {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.modal-header {
@@ -423,6 +441,9 @@ input[type="search"]::-webkit-search-results-decoration {
cursor: pointer;
border-radius: var(--radius-sm);
transition: all 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
}
.modal-close:hover {
@@ -430,10 +451,54 @@ input[type="search"]::-webkit-search-results-decoration {
color: var(--text-primary);
}
.modal-close svg {
width: 24px;
height: 24px;
stroke: currentColor;
stroke-width: 2;
}
.modal-body {
padding: 24px;
}
/* 详情内容样式 */
.detail-content {
display: flex;
flex-direction: column;
gap: 16px;
}
.detail-item {
display: flex;
flex-direction: column;
gap: 4px;
padding: 12px;
background: var(--bg-secondary);
border-radius: var(--radius-md);
border: 1px solid var(--border-light);
}
.detail-label {
font-weight: 600;
font-size: 14px;
color: var(--text-secondary);
text-transform: capitalize;
}
.detail-value {
font-size: 16px;
color: var(--text-primary);
line-height: 1.5;
word-break: break-word;
}
.detail-value:empty::before {
content: '- -';
color: var(--text-muted);
font-style: italic;
}
/* 通知样式 */
.notification {
position: fixed;