优化: 图像模型兜底防御+任务UI(状态多选+跳详情)+token popover遮挡

This commit is contained in:
lxy
2026-08-10 13:46:26 +08:00
parent 256af4e736
commit 9407f821b9
7 changed files with 182 additions and 14 deletions
+4
View File
@@ -1080,6 +1080,7 @@ defineExpose({
gap: 8px;
align-items: flex-start;
flex-direction: row-reverse; /* 头像在右:DOM 仍 avatar 在先,视觉反转成【气泡】【头像】靠右 */
margin-top: -3px; /* user 与上方消息间距略收(全局 gap 14 → 视觉 11),更紧凑 */
}
.ai-msg-ai {
position: relative;
@@ -1087,6 +1088,9 @@ defineExpose({
gap: 8px;
align-items: flex-start;
}
/* token 详情 popover 展开时,提升本消息 z-index 盖住后续消息气泡
(后续 .ai-msg-user 也是 relative 同级 context,DOM 在后会遮挡 popover) */
.ai-msg-ai:has(.ai-token-popover) { z-index: 30; }
.ai-msg-content {
flex: 1;
min-width: 0;