fix: 统一文旅订单班数据路径引用

详细说明:
- 修复文旅HTML中的data路径从'../data/'改为'data/'
- 移除app.js中的兼容性路由,统一使用标准路径
- 确保文旅和食品订单班的资源引用一致性
- 文旅使用: data/订单班文档资料/文旅/...
- 食品使用: images/... 和 agent-avatars/...

影响文件:
- order-classes/wenlu/*.html (7个文件)
- app.js (移除/order-class/data兼容路由)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Yep_Q
2025-10-09 10:35:45 +08:00
parent 4287a35826
commit cb9bf5ad74
12 changed files with 52 additions and 48 deletions

View File

@@ -203,7 +203,7 @@
<!-- Venue Information -->
<section class="py-16 bg-gray-50 relative overflow-hidden">
<!-- 背景图片 -->
<div class="absolute inset-0 opacity-5" style="background-image: url('../../data/订单班文档资料/文旅/notion文稿/image/博览会.jpg'); background-size: cover; background-position: center;"></div>
<div class="absolute inset-0 opacity-5" style="background-image: url('../data/订单班文档资料/文旅/notion文稿/image/博览会.jpg'); background-size: cover; background-position: center;"></div>
<div class="container mx-auto px-6 relative z-10">
<h2 class="text-3xl font-bold text-center text-gray-800 mb-12 animate-fadeInUp">
@@ -300,7 +300,7 @@
<!-- 整车展区 -->
<div class="exhibition-card bg-gradient-to-br from-blue-50 to-blue-100 rounded-xl p-6 animate-fadeInUp animation-delay-200">
<div class="relative overflow-hidden rounded-xl mb-4 h-32 bg-gradient-to-r from-blue-400 to-blue-600">
<img src="../../data/订单班文档资料/文旅/notion文稿/image/3.小米汽车.jpg" alt="整车展示" class="w-full h-full object-cover opacity-60">
<img src="../data/订单班文档资料/文旅/notion文稿/image/3.小米汽车.jpg" alt="整车展示" class="w-full h-full object-cover opacity-60">
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-car-side text-5xl text-white"></i>
</div>
@@ -337,7 +337,7 @@
<!-- 核心零部件展区 -->
<div class="exhibition-card bg-gradient-to-br from-green-50 to-green-100 rounded-xl p-6 animate-fadeInUp animation-delay-400">
<div class="relative overflow-hidden rounded-xl mb-4 h-32 bg-gradient-to-r from-green-400 to-green-600">
<img src="../../data/订单班文档资料/文旅/notion文稿/image/Whisk_8236005bb2.jpg" alt="核心零部件" class="w-full h-full object-cover opacity-60">
<img src="../data/订单班文档资料/文旅/notion文稿/image/Whisk_8236005bb2.jpg" alt="核心零部件" class="w-full h-full object-cover opacity-60">
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-battery-full text-5xl text-white"></i>
</div>
@@ -374,7 +374,7 @@
<!-- 智能交通展区 -->
<div class="exhibition-card bg-gradient-to-br from-purple-50 to-purple-100 rounded-xl p-6 animate-fadeInUp animation-delay-600">
<div class="relative overflow-hidden rounded-xl mb-4 h-32 bg-gradient-to-r from-purple-400 to-purple-600">
<img src="../../data/订单班文档资料/文旅/notion文稿/image/Whisk_5c4b912ea7.jpg" alt="智能交通" class="w-full h-full object-cover opacity-60">
<img src="../data/订单班文档资料/文旅/notion文稿/image/Whisk_5c4b912ea7.jpg" alt="智能交通" class="w-full h-full object-cover opacity-60">
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-network-wired text-5xl text-white"></i>
</div>
@@ -411,7 +411,7 @@
<!-- 配套服务展区 -->
<div class="exhibition-card bg-gradient-to-br from-orange-50 to-orange-100 rounded-xl p-6 animate-fadeInUp animation-delay-800">
<div class="relative overflow-hidden rounded-xl mb-4 h-32 bg-gradient-to-r from-orange-400 to-orange-600">
<img src="../../data/订单班文档资料/文旅/notion文稿/image/Whisk_2a9b622636.jpg" alt="配套服务" class="w-full h-full object-cover opacity-60">
<img src="../data/订单班文档资料/文旅/notion文稿/image/Whisk_2a9b622636.jpg" alt="配套服务" class="w-full h-full object-cover opacity-60">
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-charging-station text-5xl text-white"></i>
</div>
@@ -744,7 +744,7 @@
});
img.addEventListener('error', function() {
this.classList.add('image-error');
this.src = '../data/订单班文档资料/文旅/notion文稿/image/博览会.jpg'; // 备用图片
this.src = 'data/订单班文档资料/文旅/notion文稿/image/博览会.jpg'; // 备用图片
});
});