From 34c0df53209d2503a61017860aecbf3e81f099c5 Mon Sep 17 00:00:00 2001 From: jing <1683105490@qq.com> Date: Fri, 9 Oct 2026 14:34:14 +0800 Subject: [PATCH] =?UTF-8?q?chore=EF=BC=9A=E5=BF=AB=E6=8D=B7=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E6=A0=87=E9=A2=98=EF=BC=8C=E6=8D=A2=E4=B8=80?= =?UTF-8?q?=E6=8D=A2=E6=8C=89=E9=92=AE=EF=BC=8C=E5=9B=BE=E7=89=87=E4=B9=8B?= =?UTF-8?q?=E9=97=B4=E7=A9=BA=E9=9A=99=E5=8F=98=E5=A4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .local.config.js | 2 +- pages_tool/ai-chat/ai-chat-message.vue | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.local.config.js b/.local.config.js index 2342dda..69e0dc0 100644 --- a/.local.config.js +++ b/.local.config.js @@ -257,7 +257,7 @@ const localDevConfig = ({ // })['2811']; // 本地 // })['5g-317']; // 电磁兼容 // })['5g-351']; // - })['2843']; // 本地 + })['2881']; // 本地 // })['local-2']; // 本地 // })['local-11']; // 本地 // })['1-test']; // test diff --git a/pages_tool/ai-chat/ai-chat-message.vue b/pages_tool/ai-chat/ai-chat-message.vue index 38e75f3..06e0292 100644 --- a/pages_tool/ai-chat/ai-chat-message.vue +++ b/pages_tool/ai-chat/ai-chat-message.vue @@ -4780,11 +4780,24 @@ _handleStreamError(msg) { background: #ffffff !important; } + // 欢迎语消息: 图片(机器人)与下方标题的间距加大, 对齐 WorkBuddy 参考稿 + // 图片是 v-html 插入的 , 不带 scoped 的 data-v 属性, + // 普通 img 选择器编译后会匹配不到, 必须用 ::v-deep 穿透 + &.is-welcome .ai-message .message-bubble ::v-deep img { + margin-bottom: 48rpx !important; + } + // 欢迎语消息: 隐藏上方时间戳 &.is-welcome .ai-message .message-nickname.ai-nickname { display: none; } + // 欢迎语消息: 标题与快捷问题的间距, 与"图片→标题"保持一致 (48rpx) + // 下方 5326 行的 .quick-questions-row 嵌套链更长、特异性更高, 必须 !important 覆盖 + &.is-welcome .quick-questions-row { + margin-top: 48rpx !important; + } + // 搜索定位 - 当前结果: 用柔和的浅绿底色提示 (WorkBuddy 风格, 无气泡 box-shadow) &.search-current { position: relative; @@ -5753,6 +5766,7 @@ _handleStreamError(msg) { height: 56rpx; padding: 0 20rpx; gap: 8rpx; + margin-top: 20rpx; .refresh-icon { width: 28rpx;