feat: 新增视频咨询四种状态详情页及多模块原型优化

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-10 13:50:08 +08:00
co-authored by Claude Opus 4.6
parent 014b7ef428
commit 47596eb02c
32 changed files with 2807 additions and 738 deletions
+18 -3
View File
@@ -223,12 +223,12 @@
<!-- 底部Tab导航栏 -->
<div class="tab-bar">
<!-- 工作台 -->
<a href="../expert/workbench/index.html" class="tab-item">
<a id="link-workbench" href="../expert/workbench/index.html" class="tab-item">
<span class="tab-icon">🏥</span>
<span class="tab-label">工作台</span>
</a>
<!-- 知识库 -->
<a href="../expert/knowledge/index.html" class="tab-item">
<a id="link-knowledge" href="../expert/knowledge/index.html" class="tab-item">
<span class="tab-icon">📚</span>
<span class="tab-label">知识库</span>
</a>
@@ -244,12 +244,27 @@
<span class="tab-badge">2</span>
</a>
<!-- 我的 -->
<a href="../expert/profile/index.html" class="tab-item">
<a id="link-profile" href="../expert/profile/index.html" class="tab-item">
<span class="tab-icon">👤</span>
<span class="tab-label">我的</span>
</a>
</div>
</div><!-- /phone-shell -->
<script>
/**
* 根据sessionStorage中的角色标记,动态设置底部Tab的跳转路径
* 各角色页面会写入对应的 appRole 值(expert / assistant
*/
function initTabLinks() {
var role = sessionStorage.getItem('appRole') || 'expert';
var base = role === 'assistant' ? '../assistant' : '../expert';
document.getElementById('link-workbench').href = base + '/workbench/index.html';
document.getElementById('link-knowledge').href = base + '/knowledge/index.html';
document.getElementById('link-profile').href = base + '/profile/index.html';
}
document.addEventListener('DOMContentLoaded', initTabLinks);
</script>
</body>
</html>