feat: 新增视频咨询四种状态详情页及多模块原型优化
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user