fix: 修复导航路径和资源管理问题

详细说明:
- 统一nav-component.js路径处理逻辑,移除pages/前缀
- 更新wenlu订单班页面的导航链接
- 清理过时的文档图片资源(智能制造、视觉设计、食品、交通物流)
- 新增更新后的文档图片资源
- 更新exhibition-demo配置文件

修改文件:
- web_frontend/web_result/js/nav-component.js
- web_frontend/web_result/order-classes/wenlu/*.html
- web_frontend/exhibition-demo/src/data/terminalSimulations/food.ts
- web_frontend/exhibition-demo/vite.config.ts
- data/订单班文档资料/*/notion文稿/image/* (多个图片文件)

🤖 Generated with Claude Code
This commit is contained in:
Yep_Q
2025-10-01 17:12:49 +08:00
parent 68da1fc605
commit 212c0af6bf
107 changed files with 513 additions and 274 deletions

View File

@@ -18,11 +18,11 @@
// 根据当前页面位置调整路径
function getCorrectPath(href) {
if (href === 'index.html') {
return isInPagesFolder ? '../index.html' : 'index.html';
} else {
return isInPagesFolder ? href : `pages/${href}`;
// 移除可能存在的 pages/ 前缀
if (href.startsWith('pages/')) {
return href.substring(6); // 移除 'pages/' 前缀
}
return href;
}
// 判断是否为当前激活页面