diff --git a/emergency-app/assistant/knowledge/index.html b/emergency-app/assistant/knowledge/index.html index 882e31f..66214a5 100644 --- a/emergency-app/assistant/knowledge/index.html +++ b/emergency-app/assistant/knowledge/index.html @@ -31,6 +31,27 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items: .tab-item .tab-label { font-size: 10px; color: #999; font-weight: 500; } .tab-item.active .tab-label { color: #1677ff; } .tab-badge { position: absolute; top: 2px; right: 18px; background: #ff4d4f; color: #fff; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; } + /* ========== 子分类Tab ========== */ + .sub-tabs { display: flex; gap: 8px; padding: 10px 16px; background: #fff; flex-shrink: 0; } + .sub-tab { + font-size: 12px; padding: 4px 14px; border-radius: 16px; + background: #f5f5f5; color: #666; cursor: pointer; transition: all 0.2s; + } + .sub-tab.active { background: #e6f4ff; color: #1677ff; font-weight: 600; } + + /* ========== PDF文档条目 ========== */ + .pdf-item { + background: #fff; border-radius: 10px; padding: 12px 14px; + display: flex; align-items: center; gap: 10px; + box-shadow: 0 1px 4px rgba(0,0,0,0.06); margin-bottom: 10px; cursor: pointer; + } + .pdf-item__icon { + width: 44px; height: 44px; border-radius: 10px; background: #fff1f0; + display: flex; align-items: center; justify-content: center; flex-shrink: 0; + } + .pdf-item__info { flex: 1; } + .pdf-item__name { font-size: 14px; font-weight: 600; color: #1a1a1a; } + .pdf-item__meta { font-size: 12px; color: #999; margin-top: 3px; display: flex; gap: 8px; } @@ -48,14 +69,22 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
知识库
- -
-
体检知识
-
药品知识
-
疾病知识
-
保健知识
+ +
+
知识文章
+
规章制度
+ +
+ +
+
体检知识
+
药品知识
+
疾病知识
+
保健知识
+
+
@@ -146,6 +175,54 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
+
+ + +
@@ -179,18 +256,30 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items: sessionStorage.setItem('appRole', 'assistant'); /** - * 切换知识库分类Tab + * 切换一级Tab(知识文章 / 规章制度) + */ +function switchTopTab(el, panelId) { + el.closest('.seg-tabs').querySelectorAll('.seg-tab').forEach(function(t) { + t.classList.remove('active'); + }); + el.classList.add('active'); + var displayMap = { 'panel-article': 'flex', 'panel-rule': 'block' }; + ['panel-article', 'panel-rule'].forEach(function(id) { + var p = document.getElementById(id); + if (p) p.style.display = id === panelId ? displayMap[id] : 'none'; + }); +} + +/** + * 切换知识库子分类Tab * @param {HTMLElement} el - 被点击的Tab元素 * @param {string} panelId - 对应面板的ID */ function switchKbTab(el, panelId) { - // 移除所有Tab的选中状态 - el.closest('.seg-tabs').querySelectorAll('.seg-tab').forEach(function(t) { + el.closest('.sub-tabs').querySelectorAll('.sub-tab').forEach(function(t) { t.classList.remove('active'); }); - // 设置当前Tab为选中 el.classList.add('active'); - // 切换面板显示 ['kb-exam', 'kb-drug', 'kb-disease', 'kb-health'].forEach(function(id) { var p = document.getElementById(id); if (p) p.style.display = id === panelId ? 'block' : 'none'; diff --git a/emergency-app/assistant/profile/edit-profile.html b/emergency-app/assistant/profile/edit-profile.html new file mode 100644 index 0000000..e4a1346 --- /dev/null +++ b/emergency-app/assistant/profile/edit-profile.html @@ -0,0 +1,113 @@ + + + + + +个人信息设置 | 健康长庆原型 + + + +
+
+ 9:41 +
●●●WiFi🔋
+
+ +
+
+
+
👩‍💼
+
+ +
+
+
点击更换头像
+
+
+
+ 姓名 + +
+ +
+
+
+ +
+
+
+
拍照
+
从相册选择
+
取消
+
+
+
保存成功
+
+ + + + diff --git a/emergency-app/assistant/profile/index.html b/emergency-app/assistant/profile/index.html index 2425438..f3b36eb 100644 --- a/emergency-app/assistant/profile/index.html +++ b/emergency-app/assistant/profile/index.html @@ -46,7 +46,6 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
李小雨
咨询小助手
-
健康管理中心
@@ -54,17 +53,22 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
-
- -
- 📊咨询统计 - 今日 24 次 - -
-
+ + + + + + + +
+ +
+ 📝个人信息设置 + +
🔒修改密码 diff --git a/emergency-app/assistant/workbench/employee-profile.html b/emergency-app/assistant/workbench/employee-profile.html index cf5d1f9..891cd8b 100644 --- a/emergency-app/assistant/workbench/employee-profile.html +++ b/emergency-app/assistant/workbench/employee-profile.html @@ -1,76 +1,244 @@ - - -咨询小助手 - 员工健康档案 | 健康长庆原型 - + + + 咨询小助手 - 员工健康档案 | 健康长庆原型 + -
- - -
- 9:41 -
●●●WiFi🔋
-
- - - - - -
- - -
-
👩
-
张小红
-
研发部 · 工程师
+
+
+ 9:41 + ●●●●WiFi🔋 +
+ - -
- -
基本信息
-
姓名张小红
-
性别 / 年龄女 / 28岁
-
身高 / 体重163 cm / 52 kg
+
+ + + +
+
📋 基本信息
+
+
+
姓名
+
张小红
+
+
+
与本人关系
+
本人
+
+
+
性别
+
+
+
+
年龄
+
28岁
+
+
+
身高
+
163cm
+
+
+
体重
+
52kg
+
+
+
-
生活习惯
-
吸烟
-
饮酒
-
饮食喜好均衡
-
睡眠质量良好
+
+
🏃 生活习惯
+
+ 不吸烟 + 不饮酒 + 饮食均衡 + 睡眠良好 +
+
-
身体情况
-
过敏史青霉素过敏
-
遗传史
-
既往史
-
其他疾病
+
+
🩺 身体情况
+
+
+
过敏史
+
青霉素过敏
+
+
+
遗传史
+
+
+
+
既往史
+
+
+
+
其他疾病
+
+
+
+
+ + +
+
+
📋
+
+
颈椎不适咨询
+
2026-04-15 创建
+
+
+
+
+
问题描述
+
长期伏案工作后颈部僵硬酸痛,偶有头晕,转头时有弹响感,近一周症状加重。
+
+
+
持续时间
+
+ 1-2周 +
+
+
+
检查资料
+
+ 颈椎X光 +
+
+
+
就诊经历
+
+
+
+
医院名称
+
西安交大一附院
+
+
+
科室
+
骨科
+
+
+
疾病名称
+
颈椎病
+
+
+
+
+
+
期望帮助
+
希望了解颈椎不适的缓解方法,是否需要进一步检查,以及日常工作中的预防建议。
+
+
+
+
-
- -
diff --git a/emergency-app/assistant/workbench/index.html b/emergency-app/assistant/workbench/index.html index 82aaa18..8a4d75e 100644 --- a/emergency-app/assistant/workbench/index.html +++ b/emergency-app/assistant/workbench/index.html @@ -28,6 +28,17 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items: .tag-orange { background: #fff7e6; color: #fa8c16; } .tag-red { background: #fff1f0; color: #ff4d4f; } .tag-gray { background: #f5f5f5; color: #999; } +.tag-green { background: #f6ffed; color: #52c41a; } +.tag-purple { background: #f9f0ff; color: #722ed1; } +.filter-bar { display: flex; gap: 8px; padding: 10px 16px 0; flex-wrap: wrap; } +.filter-chip { display: flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 14px; font-size: 12px; color: #666; background: #f5f5f5; border: 1px solid #e8e8e8; cursor: pointer; user-select: none; transition: all .2s; } +.filter-chip.active { color: #1677ff; background: #e6f4ff; border-color: #91caff; } +.filter-chip__check { width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid #d9d9d9; display: flex; align-items: center; justify-content: center; transition: all .2s; flex-shrink: 0; } +.filter-chip.active .filter-chip__check { background: #1677ff; border-color: #1677ff; } +.filter-chip.active .filter-chip__check::after { content: ''; display: block; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-top: -1px; } +.cc-role { display: inline-block; padding: 1px 6px; border-radius: 3px; font-size: 10px; font-weight: 600; margin-left: 6px; vertical-align: middle; } +.cc-role--expert { background: #e6f4ff; color: #1677ff; } +.cc-role--assistant { background: #f9f0ff; color: #722ed1; } .consult-card { background: #fff; border-radius: 12px; margin: 10px 16px 0; padding: 14px; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: transform 0.15s; } .consult-card:active { transform: scale(0.98); } .cc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } @@ -63,10 +74,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
3
待回复
2
进行中
-
-
24
今日完成
-
-
96%
满意度
+
@@ -82,11 +90,16 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
- -
+
+
咨询专家
+
咨询小助手
+
专家未回复
+
+ +
👩
-
张小红
研发部 · 工程师
+
张小红咨询专家
研发部 · 工程师
待回复
@@ -94,11 +107,11 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
10:23
- -
+ +
👨
-
李建国
市场部 · 销售专员
+
李建国咨询专家
市场部 · 销售专员
待回复
@@ -106,11 +119,11 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
09:55
- -
+ +
👩
-
王芳
人事部 · HR专员
+
王芳咨询小助手
人事部 · HR专员
待回复
@@ -123,11 +136,16 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items: