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:
@@ -183,30 +183,30 @@
|
||||
lime: { primary: '#84cc16', secondary: '#a3e635', accent: '#bef264' }
|
||||
};
|
||||
|
||||
const colors = colorMap[color] || colorMap.emerald;
|
||||
const colorScheme = colorMap[color] || colorMap.emerald;
|
||||
|
||||
style.textContent = `
|
||||
:root {
|
||||
--color-primary: ${colors.primary};
|
||||
--color-secondary: ${colors.secondary};
|
||||
--color-accent: ${colors.accent};
|
||||
--color-primary: ${colorScheme.primary};
|
||||
--color-secondary: ${colorScheme.secondary};
|
||||
--color-accent: ${colorScheme.accent};
|
||||
}
|
||||
|
||||
.bg-gradient-primary {
|
||||
background: linear-gradient(135deg, ${colors.primary} 0%, ${colors.secondary} 100%);
|
||||
background: linear-gradient(135deg, ${colorScheme.primary} 0%, ${colorScheme.secondary} 100%);
|
||||
}
|
||||
|
||||
.text-primary { color: ${colors.primary}; }
|
||||
.bg-primary { background-color: ${colors.primary}; }
|
||||
.border-primary { border-color: ${colors.primary}; }
|
||||
.text-primary { color: ${colorScheme.primary}; }
|
||||
.bg-primary { background-color: ${colorScheme.primary}; }
|
||||
.border-primary { border-color: ${colorScheme.primary}; }
|
||||
|
||||
.nav-link.active { color: ${colors.primary}; }
|
||||
.nav-link.active span { background-color: ${colors.primary}; }
|
||||
.nav-link:hover { color: ${colors.primary}; }
|
||||
.nav-link span { background-color: ${colors.primary}; }
|
||||
.nav-link.active { color: ${colorScheme.primary}; }
|
||||
.nav-link.active span { background-color: ${colorScheme.primary}; }
|
||||
.nav-link:hover { color: ${colorScheme.primary}; }
|
||||
.nav-link span { background-color: ${colorScheme.primary}; }
|
||||
|
||||
.logo-icon {
|
||||
background: linear-gradient(to bottom right, ${colors.secondary}, ${colors.primary});
|
||||
background: linear-gradient(to bottom right, ${colorScheme.secondary}, ${colorScheme.primary});
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user