feat(web): 订票地图升级为静态SVG并叠加动态坐标交互;完善断点支持

This commit is contained in:
2026-07-11 21:15:48 +08:00
parent 690173c522
commit aede84f164
21 changed files with 316 additions and 262 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ const buildRouteGraph = (stations, lines, fares, cfg) => {
for (let i = 0; i < stops.length - 1; i++) {
const a = String(stops[i] || '').trim();
const b = String(stops[i + 1] || '').trim();
if (!a || !b || a === b) continue;
if (!a || !b || a === b || a === '-' || b === '-') continue;
const fare = fareBySegment.get(segKey(a, b));
if (!fare) continue;
addEdge(a, b, {