diff --git a/employee-app/health-consult/doc/PRD.md b/employee-app/health-consult/doc/PRD.md index 790c7f6..24f021e 100644 --- a/employee-app/health-consult/doc/PRD.md +++ b/employee-app/health-consult/doc/PRD.md @@ -8,7 +8,7 @@ ## 一、模块概述 -为油田员工提供在线健康咨询服务,支持 **AI 智能问诊**、**图文咨询**、**视频咨询** 三种形式。员工可按医院、科室、疾病维度查找专家,发起咨询并管理历史记录。 +为油田员工提供在线健康咨询服务,支持 **咨询小助手**、**图文咨询**、**视频咨询** 三种形式。员工可按医院、科室、疾病维度查找专家,发起咨询并管理历史记录。 ### 页面导航结构 diff --git a/md-viewer.html b/md-viewer.html index 683a0ec..e51b9e0 100644 --- a/md-viewer.html +++ b/md-viewer.html @@ -26,7 +26,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica .topbar__path { font-size: 12px; color: var(--text-placeholder); margin-left: auto; } /* 内容区 */ -.content { max-width: 900px; margin: 0 auto; padding: 32px 40px 60px; background: var(--bg); min-height: calc(100vh - 50px); } +.content { max-width: 900px; margin: 0 auto; padding: 32px 40px 60px; background: var(--bg); min-height: calc(100vh - 50px); font-size: 14px; line-height: 1.8; } .loading { display: flex; align-items: center; justify-content: center; height: 300px; color: var(--text-placeholder); font-size: 14px; } .error { color: #ff4d4f; } @@ -36,7 +36,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica .content h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; } .content h4 { font-size: 15px; font-weight: 600; margin: 20px 0 6px; } .content p { font-size: 14px; line-height: 1.8; margin: 8px 0; } -.content ul, .content ol { padding-left: 20px; margin: 8px 0; } +.content ul, .content ol { padding-left: 20px; margin: 8px 0; font-size: 14px; line-height: 1.8; } .content table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; } .content th { background: #fafafa; font-weight: 600; text-align: left; padding: 8px 12px; border: 1px solid var(--border); } .content td { padding: 8px 12px; border: 1px solid var(--border); } @@ -47,7 +47,13 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica .content blockquote p { color: var(--text-secondary); margin: 0; } .content strong { color: var(--text-primary); } .content hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; } -.content img { max-width: 280px; height: auto; border-radius: 8px; border: 1px solid var(--border); margin: 8px 0; } +.content img { max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border); margin: 8px 0; cursor: pointer; transition: opacity .15s; } +.content img:hover { opacity: .85; } + +/* Lightbox 图片放大遮罩 */ +.lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.75); align-items: center; justify-content: center; cursor: zoom-out; } +.lightbox.active { display: flex; } +.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 8px; box-shadow: 0 8px 32px rgba(0,0,0,.4); }
@@ -59,6 +65,10 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica