取消<a>原生链接处理,统一在弹窗中点击下载;将消息详情弹窗中链接包装成文件名,并取消原文展示。

This commit is contained in:
2026-07-21 15:32:36 +08:00
parent d5d9423599
commit 9ace485cbd
3 changed files with 408 additions and 206 deletions

View File

@@ -1657,6 +1657,7 @@ to { opacity: 1; transform: translateY(0);
/* 文章场景相关 */
.chat-content {
/* 普通正文 */
/* 气泡内的内联链接(替代 <a> 标签,点击由 JS 拦截处理) */
}
.chat-content h1 {
font-size: 1.3125rem;
@@ -1687,6 +1688,11 @@ to { opacity: 1; transform: translateY(0);
line-height: 1.6;
margin: 0.25rem 0;
}
.chat-content .chat-inline-link {
color: #3b86ff !important;
text-decoration: underline;
word-break: break-all;
}
/* 流式气泡中的加载动画 */
.bubble-loading-dots {
@@ -1742,6 +1748,14 @@ to { opacity: 1; transform: translateY(0);
color: #007aff;
word-break: break-all;
}
.detail-empty {
display: flex;
align-items: center;
justify-content: center;
padding: 1.25rem 0;
font-size: 0.875rem;
color: #999;
}
/* ========== 自定义下载 Toast层级高于 ncd-overlay 的 9999========== */
.download-toast-overlay {