From ac87b887d271be6a7a2d3eb69a2046577a7caa5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E9=9F=B5=E7=90=B4?= <757188142@qq.com> Date: Tue, 21 Apr 2026 14:17:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E5=9B=BE=E6=96=87?= =?UTF-8?q?=E8=81=8A=E5=A4=A9=E9=A1=B5=E4=BA=A4=E4=BA=92=EF=BC=8C=E5=B0=8F?= =?UTF-8?q?=E5=8A=A9=E6=89=8B/=E4=B8=93=E5=AE=B6=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E5=B7=AE=E5=BC=82=E5=8C=96=E6=98=BE=E7=A4=BA=E4=B8=8E=E5=B8=B8?= =?UTF-8?q?=E7=94=A8=E8=AF=AD=E5=88=86=E7=B1=BB=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 小助手端:咨询专家模式下隐藏结束咨询按钮和推送专家功能 - 专家端:常用语面板增加分类筛选(问候语/问诊/建议/结束语) Co-Authored-By: Claude Opus 4.6 --- .../assistant/workbench/text-chat.html | 8 +++- emergency-app/expert/workbench/text-chat.html | 46 +++++++++++++++---- 2 files changed, 44 insertions(+), 10 deletions(-) diff --git a/emergency-app/assistant/workbench/text-chat.html b/emergency-app/assistant/workbench/text-chat.html index 0a18d4c..944df89 100644 --- a/emergency-app/assistant/workbench/text-chat.html +++ b/emergency-app/assistant/workbench/text-chat.html @@ -167,8 +167,8 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
🖼️
图库 - -
+ +
👨‍⚕️
推送专家
@@ -198,6 +198,10 @@ if (consultType === 'assistant') { tag.style.background = '#f9f0ff'; document.getElementById('info-divider').style.display = 'none'; document.getElementById('expert-info').style.display = 'none'; +} else { + // 咨询专家模式:隐藏结束咨询按钮和推送专家功能 + document.getElementById('end-consult-btn').style.display = 'none'; + document.getElementById('push-expert-item').style.display = 'none'; } diff --git a/emergency-app/expert/workbench/text-chat.html b/emergency-app/expert/workbench/text-chat.html index 1db1c65..9a99956 100644 --- a/emergency-app/expert/workbench/text-chat.html +++ b/emergency-app/expert/workbench/text-chat.html @@ -46,6 +46,12 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items: .bubble-record__tag--blue { color: #1677ff; background: #e8f4ff; } .bubble-record__tag--orange { color: #d46b08; background: #fff7e6; } .bubble-record__footer { display: flex; align-items: center; justify-content: flex-end; padding: 6px 12px 10px; font-size: 12px; color: #1677ff; gap: 2px; } +/* 常用语分类与列表 */ +.quick-cat { font-size: 12px; padding: 4px 12px; border-radius: 14px; background: #f5f5f5; color: #666; cursor: pointer; user-select: none; transition: all .2s; } +.quick-cat.active { background: #e6f4ff; color: #1677ff; font-weight: 600; } +.quick-item { font-size: 13px; color: #1a1a1a; padding: 8px 0; border-bottom: 1px solid #f0f0f0; cursor: pointer; } +.quick-item:last-child { border-bottom: none; } +.quick-item:active { color: #1677ff; } @@ -139,14 +145,25 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
-