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;
}
// 判断是否为当前激活页面

View File

@@ -139,7 +139,7 @@
<div class="container mx-auto px-6 relative z-10 page-enter">
<div class="flex items-center text-white/80 mb-4">
<a href="../index.html" class="hover:text-white transition">首页</a>
<a href="index.html" class="hover:text-white transition">首页</a>
<i class="fas fa-chevron-right mx-2 text-xs"></i>
<span>展会介绍</span>
</div>

View File

@@ -144,7 +144,7 @@
<div class="container mx-auto px-6 relative z-10">
<div class="flex items-center text-white/80 mb-4 animate-fadeInUp">
<a href="../index.html" class="hover:text-white transition">首页</a>
<a href="index.html" class="hover:text-white transition">首页</a>
<i class="fas fa-chevron-right mx-2 text-xs"></i>
<span>营销方案</span>
</div>

View File

@@ -992,7 +992,7 @@
</div>
<div class="mt-12">
<a href="../index.html" class="inline-block bg-white text-blue-600 px-8 py-3 rounded-lg font-semibold hover:bg-gray-100 transition transform hover:scale-105">
<a href="index.html" class="inline-block bg-white text-blue-600 px-8 py-3 rounded-lg font-semibold hover:bg-gray-100 transition transform hover:scale-105">
返回首页 <i class="fas fa-home ml-2"></i>
</a>
</div>