fix: 优化图文聊天页交互,小助手/专家模式差异化显示与常用语分类筛选

- 小助手端:咨询专家模式下隐藏结束咨询按钮和推送专家功能
- 专家端:常用语面板增加分类筛选(问候语/问诊/建议/结束语)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-21 14:17:19 +08:00
co-authored by Claude Opus 4.6
parent 1f528faa8b
commit ac87b887d2
2 changed files with 44 additions and 10 deletions
@@ -167,8 +167,8 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
<div style="width:52px;height:52px;background:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;box-shadow:0 1px 4px rgba(0,0,0,0.08);">🖼️</div>
<span style="font-size:11px;color:#666;">图库</span>
</div>
<!-- [交互] 点击跳转至: ./push-expert.html -->
<div style="display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;" onclick="location.href='./push-expert.html'">
<!-- [交互] 点击跳转至: ./push-expert.html(仅咨询小助手模式显示) -->
<div id="push-expert-item" style="display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;" onclick="location.href='./push-expert.html'">
<div style="width:52px;height:52px;background:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;box-shadow:0 1px 4px rgba(0,0,0,0.08);">👨‍⚕️</div>
<span style="font-size:11px;color:#666;">推送专家</span>
</div>
@@ -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';
}