添加本地连接下载,取消仅保存

This commit is contained in:
2026-07-21 14:57:19 +08:00
parent bf9d5f3f22
commit d5d9423599
7 changed files with 601 additions and 535 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -957,7 +957,7 @@ to { opacity: 1;
align-items: center;
justify-content: center;
background-color: rgba(30, 30, 50, 0.35);
z-index: 1000;
z-index: 9999;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
animation: fadeIn-5eb7b895 0.25s ease;
@@ -1616,12 +1616,14 @@ to { opacity: 1; transform: translateY(0);
display: flex;
flex-direction: column;
border-radius: 1.25rem;
padding: 1.25rem 1.125rem;
}
.message-detail-content[data-v-5eb7b895] {
flex: 1;
min-height: 6.25rem;
max-height: 60vh;
overflow-y: auto;
padding: 0.625rem 0;
padding: 0.5rem 0;
font-size: 0.875rem;
line-height: 1.7;
color: #333333;
@@ -1739,4 +1741,87 @@ to { opacity: 1; transform: translateY(0);
font-size: 0.875rem;
color: #007aff;
word-break: break-all;
}
/* ========== 自定义下载 Toast层级高于 ncd-overlay 的 9999========== */
.download-toast-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
z-index: 10001;
pointer-events: none;
}
.download-toast-card {
display: flex;
align-items: center;
justify-content: center;
padding: 0.75rem 1.25rem;
border-radius: 0.75rem;
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.15);
animation: toastFadeIn 0.25s ease;
pointer-events: auto;
}
@keyframes toastFadeIn {
from {
opacity: 0;
transform: scale(0.85);
}
to {
opacity: 1;
transform: scale(1);
}
}
.download-toast-loading {
background: rgba(40, 40, 60, 0.92);
}
.download-toast-success {
background: rgba(40, 60, 40, 0.92);
}
.download-toast-error {
background: rgba(60, 30, 30, 0.92);
}
.download-toast-icon {
font-size: 1.125rem;
color: #fff;
margin-right: 0.5rem;
display: flex;
align-items: center;
}
.download-toast-card.download-toast-loading .download-toast-icon {
gap: 0.25rem;
}
.toast-dot {
width: 0.375rem;
height: 0.375rem;
border-radius: 50%;
background: #fff;
animation: toastDotBlink 1.2s infinite ease-in-out;
}
.toast-dot:nth-child(2) {
animation-delay: 0.3s;
}
.toast-dot:nth-child(3) {
animation-delay: 0.6s;
}
@keyframes toastDotBlink {
0%, 100% {
opacity: 0.3;
transform: scale(0.75);
}
50% {
opacity: 1;
transform: scale(1.2);
}
}
.download-toast-text {
font-size: 0.875rem;
color: #fff;
font-weight: 500;
}