feat:西安应急大屏 v3 重构 + 膳食建议页 AI 升级
- 西安应急大屏:index.html 归档为 index-v2.html,新增 index-v3.html(重排布局、统计卡片/告警柱状/心脑血管预警/体检雷达图) - 同步更新 server.js 默认入口及 emergency-app、employee-app 各页面返回/跳转引用至 index-v2.html - 体重管理:diet-advice.html 大幅升级(偏好标签条、慢病提醒、热量/营养/钠嘌呤指标、三餐推荐),新增膳食推荐 AI 算法需求文档
This commit is contained in:
@@ -12,7 +12,7 @@ const screenshotsDir = path.join(__dirname, 'screenshots');
|
||||
// 小助手端所有页面
|
||||
const pages = [
|
||||
// 工作台
|
||||
{ file: '../../assistant/workbench/index.html', name: 'index' },
|
||||
{ file: '../../assistant/workbench/index-v2.html', name: 'index' },
|
||||
{ file: '../../assistant/workbench/text-chat.html', name: 'text-chat' },
|
||||
{ file: '../../assistant/workbench/text-chat-done.html', name: 'text-chat-done' },
|
||||
{ file: '../../assistant/workbench/consult-done.html', name: 'consult-done' },
|
||||
@@ -22,10 +22,10 @@ const pages = [
|
||||
{ file: '../../assistant/workbench/end-consult-dialog.html', name: 'end-consult-dialog' },
|
||||
{ file: '../../assistant/workbench/push-expert.html', name: 'push-expert' },
|
||||
// 知识库
|
||||
{ file: '../../assistant/knowledge/index.html', name: 'knowledge-index' },
|
||||
{ file: '../../assistant/knowledge/index-v2.html', name: 'knowledge-index' },
|
||||
{ file: '../../assistant/knowledge/detail.html', name: 'knowledge-detail' },
|
||||
// 个人中心
|
||||
{ file: '../../assistant/profile/index.html', name: 'profile-index' },
|
||||
{ file: '../../assistant/profile/index-v2.html', name: 'profile-index' },
|
||||
{ file: '../../assistant/profile/edit-profile.html', name: 'edit-profile' },
|
||||
{ file: '../../assistant/profile/change-pwd.html', name: 'change-pwd' },
|
||||
];
|
||||
|
||||
@@ -35,7 +35,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
</div>
|
||||
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
@@ -66,7 +66,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
<div class="modal-title">修改成功</div>
|
||||
<div class="modal-body">密码已更新,下次登录请使用新密码。</div>
|
||||
<div class="modal-actions">
|
||||
<!-- [交互] 确定后跳转至: ./index.html -->
|
||||
<!-- [交互] 确定后跳转至: ./index-v2.html -->
|
||||
<button onclick="closeModal('modal-pwd-saved');location.href='./index.html'" style="color:#1677ff;font-weight:600;">确定</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
<div class="modal-actions">
|
||||
<!-- [交互] 点击取消: 返回 ./text-chat.html -->
|
||||
<button onclick="location.href='./text-chat.html'">取消</button>
|
||||
<!-- [交互] 点击确认结束: 跳转至 ./index.html -->
|
||||
<!-- [交互] 点击确认结束: 跳转至 ./index-v2.html -->
|
||||
<button onclick="location.href='./index.html'">确认结束</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -42,7 +42,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
|
||||
<!-- 导航栏 -->
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -48,7 +48,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
|
||||
<!-- 导航栏 -->
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -37,7 +37,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
|
||||
<!-- 导航栏 -->
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -41,7 +41,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
|
||||
<!-- 导航栏 -->
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -12,7 +12,7 @@ const screenshotsDir = path.join(__dirname, 'screenshots');
|
||||
// 专家端所有页面
|
||||
const pages = [
|
||||
// 工作台
|
||||
{ file: '../../expert/workbench/index.html', name: 'index' },
|
||||
{ file: '../../expert/workbench/index-v2.html', name: 'index' },
|
||||
{ file: '../../expert/workbench/text-chat.html', name: 'text-chat' },
|
||||
{ file: '../../expert/workbench/text-chat-done.html', name: 'text-chat-done' },
|
||||
{ file: '../../expert/workbench/text-consult-done.html', name: 'text-consult-done' },
|
||||
@@ -23,10 +23,10 @@ const pages = [
|
||||
{ file: '../../expert/workbench/video-cancelled.html', name: 'video-cancelled' },
|
||||
{ file: '../../expert/workbench/video-rejected.html', name: 'video-rejected' },
|
||||
// 知识库
|
||||
{ file: '../../expert/knowledge/index.html', name: 'knowledge-index' },
|
||||
{ file: '../../expert/knowledge/index-v2.html', name: 'knowledge-index' },
|
||||
{ file: '../../expert/knowledge/detail.html', name: 'knowledge-detail' },
|
||||
// 个人中心
|
||||
{ file: '../../expert/profile/index.html', name: 'profile-index' },
|
||||
{ file: '../../expert/profile/index-v2.html', name: 'profile-index' },
|
||||
{ file: '../../expert/profile/edit-profile.html', name: 'edit-profile' },
|
||||
{ file: '../../expert/profile/edit-diseases.html', name: 'edit-diseases' },
|
||||
{ file: '../../expert/profile/schedule.html', name: 'schedule' },
|
||||
@@ -34,8 +34,8 @@ const pages = [
|
||||
{ file: '../../expert/profile/reviews.html', name: 'reviews' },
|
||||
{ file: '../../expert/profile/change-pwd.html', name: 'change-pwd' },
|
||||
// 共享模块
|
||||
{ file: '../../ai-assistant/index.html', name: 'ai-assistant' },
|
||||
{ file: '../../message/index.html', name: 'message-index' },
|
||||
{ file: '../../ai-assistant/index-v2.html', name: 'ai-assistant' },
|
||||
{ file: '../../message/index-v2.html', name: 'message-index' },
|
||||
{ file: '../../message/contacts.html', name: 'message-contacts' },
|
||||
{ file: '../../message/im-chat.html', name: 'message-im-chat' },
|
||||
];
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
<!-- 导航栏 -->
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
@@ -78,7 +78,7 @@
|
||||
<div class="modal-title">修改成功</div>
|
||||
<div class="modal-body">密码已更新,下次登录请使用新密码。</div>
|
||||
<div class="modal-actions">
|
||||
<!-- [交互] 确定后跳转至: ./index.html -->
|
||||
<!-- [交互] 确定后跳转至: ./index-v2.html -->
|
||||
<button onclick="closeModal('modal-pwd-saved');location.href='./index.html'" style="color:#1677ff;font-weight:600;flex:1;padding:14px;font-size:16px;cursor:pointer;background:none;border:none;">确定</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
<!-- 导航栏 -->
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -132,23 +132,23 @@
|
||||
|
||||
<!-- 底部Tab栏,我的为active状态 -->
|
||||
<div class="tab-bar">
|
||||
<!-- [交互] 点击跳转至: ../workbench/index.html -->
|
||||
<!-- [交互] 点击跳转至: ../workbench/index-v2.html -->
|
||||
<div class="tab-item" onclick="location.href='../workbench/index.html'">
|
||||
<span class="tab-icon">🏥</span>
|
||||
<span class="tab-label">工作台</span>
|
||||
<span class="tab-badge">3</span>
|
||||
</div>
|
||||
<!-- [交互] 点击跳转至: ../knowledge/index.html -->
|
||||
<!-- [交互] 点击跳转至: ../knowledge/index-v2.html -->
|
||||
<div class="tab-item" onclick="location.href='../knowledge/index.html'">
|
||||
<span class="tab-icon">📚</span>
|
||||
<span class="tab-label">知识库</span>
|
||||
</div>
|
||||
<!-- [交互] 点击跳转至: ../../ai-assistant/index.html -->
|
||||
<!-- [交互] 点击跳转至: ../../ai-assistant/index-v2.html -->
|
||||
<div class="tab-item" onclick="location.href='../../ai-assistant/index.html'">
|
||||
<span class="tab-icon">🤖</span>
|
||||
<span class="tab-label">AI助手</span>
|
||||
</div>
|
||||
<!-- [交互] 点击跳转至: ../../message/index.html -->
|
||||
<!-- [交互] 点击跳转至: ../../message/index-v2.html -->
|
||||
<div class="tab-item" onclick="location.href='../../message/index.html'">
|
||||
<span class="tab-icon">💬</span>
|
||||
<span class="tab-label">消息</span>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
<div class="icons"><span>●●●</span><span>WiFi</span><span>🔋</span></div>
|
||||
</div>
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
<!-- 导航栏 -->
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -46,7 +46,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
|
||||
<!-- 导航栏(无结束咨询按钮) -->
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -65,7 +65,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
|
||||
<!-- 导航栏 -->
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -37,7 +37,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
|
||||
<!-- 导航栏 -->
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -41,7 +41,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
|
||||
<!-- 导航栏 -->
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -48,7 +48,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
</div>
|
||||
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="sessionStorage.setItem('operatorWorkbenchTab','done');location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -71,7 +71,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
|
||||
<!-- 导航栏 -->
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -110,7 +110,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
</div>
|
||||
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: 来源页面(无来源则 ./index.html) -->
|
||||
<!-- [交互] 点击返回: 来源页面(无来源则 ./index-v2.html) -->
|
||||
<button class="back-btn" onclick="goBackToSource()">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -35,7 +35,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
</div>
|
||||
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
@@ -66,7 +66,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
<div class="modal-title">修改成功</div>
|
||||
<div class="modal-body">密码已更新,下次登录请使用新密码。</div>
|
||||
<div class="modal-actions">
|
||||
<!-- [交互] 确定后跳转至: ./index.html -->
|
||||
<!-- [交互] 确定后跳转至: ./index-v2.html -->
|
||||
<button onclick="closeModal('modal-pwd-saved');location.href='./index.html'" style="color:#1677ff;font-weight:600;">确定</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -53,7 +53,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
|
||||
<!-- 导航栏:无结束应急按钮 -->
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -63,7 +63,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
|
||||
<!-- 导航栏 -->
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: ./index.html -->
|
||||
<!-- [交互] 点击返回: ./index-v2.html -->
|
||||
<button class="back-btn" onclick="location.href='./index.html'">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -80,7 +80,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
</div>
|
||||
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: 来源页面(无来源则 ./index.html) -->
|
||||
<!-- [交互] 点击返回: 来源页面(无来源则 ./index-v2.html) -->
|
||||
<button class="back-btn" onclick="goBackToSource()">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
@@ -65,7 +65,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
</div>
|
||||
|
||||
<div class="nav-bar">
|
||||
<!-- [交互] 点击返回: 来源页面(无来源则 ./index.html) -->
|
||||
<!-- [交互] 点击返回: 来源页面(无来源则 ./index-v2.html) -->
|
||||
<button class="back-btn" onclick="goBackToSource()">
|
||||
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 1L2 8l6 7"/></svg>返回
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user