From aede84f16434e993c8196fc9bd6a0df7c7588b2e Mon Sep 17 00:00:00 2001 From: HenryDu8133 <813367384@qq.com> Date: Sat, 11 Jul 2026 21:15:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(web):=20=E8=AE=A2=E7=A5=A8=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E5=8D=87=E7=BA=A7=E4=B8=BA=E9=9D=99=E6=80=81SVG?= =?UTF-8?q?=E5=B9=B6=E5=8F=A0=E5=8A=A0=E5=8A=A8=E6=80=81=E5=9D=90=E6=A0=87?= =?UTF-8?q?=E4=BA=A4=E4=BA=92=EF=BC=9B=E5=AE=8C=E5=96=84=E6=96=AD=E7=82=B9?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | Bin 0 -> 48 bytes server/services/logic.js | 2 +- web/.asset-version-state.json | 36 +++--- web/asset-versions.json | 18 +-- web/blog.html | 2 +- web/home.html | 4 +- web/ic-card-admin.html | 6 +- web/ic-card-detail.html | 4 +- web/ic-card-order.html | 6 +- web/ic-card-search.html | 6 +- web/index.html | 119 +++++++++++++---- web/index.js | 68 +++++++++- web/login.html | 2 +- web/machine-map.html | 6 +- web/style.css | 38 ++++++ web/ticket-board.html | 4 +- web/ticket-order.html | 6 +- web/ticket-order.js | 237 +++++++++------------------------- web/ticket-route.html | 4 +- web/ticket-search.html | 6 +- web/token.html | 4 +- 21 files changed, 316 insertions(+), 262 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..4c2818c224e70408a18eef2339cb26c91fdcb426 GIT binary patch literal 48 xcmezW&yk@R2vZqKfTTVHF9R2Y8$&RIE5pGl?|b*xz3=@OrU#TMV@L { 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, { diff --git a/web/.asset-version-state.json b/web/.asset-version-state.json index 156154d..debe566 100644 --- a/web/.asset-version-state.json +++ b/web/.asset-version-state.json @@ -1,7 +1,7 @@ { "style.css": { - "size": 77276, - "mtimeMs": 1781972131010.4126 + "size": 86271, + "mtimeMs": 1783775484985.5583 }, "blog.css": { "size": 994, @@ -12,40 +12,40 @@ "mtimeMs": 1781967608378.205 }, "public-status.js": { - "size": 3814, - "mtimeMs": 1781967627973.2036 + "size": 2782, + "mtimeMs": 1783602619602.658 }, "ticket-order.js": { - "size": 23614, - "mtimeMs": 1781974289008.8884 + "size": 25105, + "mtimeMs": 1783775559758.2654 }, "ticket-search.js": { - "size": 11647, - "mtimeMs": 1781966517813.3787 + "size": 17269, + "mtimeMs": 1783666241741.0564 }, "ticket-route.js": { - "size": 42284, - "mtimeMs": 1781967610560.6072 + "size": 44004, + "mtimeMs": 1783666241687.1482 }, "index.js": { - "size": 63063, - "mtimeMs": 1781967609550.651 + "size": 82021, + "mtimeMs": 1783775091220.4558 }, "ic-card-admin.js": { - "size": 15188, - "mtimeMs": 1781967608706.734 + "size": 19095, + "mtimeMs": 1783666241303.3374 }, "ic-card-order.js": { - "size": 11528, - "mtimeMs": 1781967363353.6257 + "size": 11488, + "mtimeMs": 1783234306158.3623 }, "ic-card-detail.js": { "size": 5322, "mtimeMs": 1781967346854.6172 }, "ic-card-search.js": { - "size": 5462, - "mtimeMs": 1781933937174.1592 + "size": 14392, + "mtimeMs": 1783666241398.5178 }, "token.js": { "size": 4064, diff --git a/web/asset-versions.json b/web/asset-versions.json index d6646b9..f9e70ba 100644 --- a/web/asset-versions.json +++ b/web/asset-versions.json @@ -1,16 +1,16 @@ { - "style.css": 12, + "style.css": 13, "blog.css": 2, "custom-dialog.js": 11, - "public-status.js": 13, - "ticket-order.js": 16, - "ticket-search.js": 11, - "ticket-route.js": 2, - "index.js": 2, - "ic-card-admin.js": 2, - "ic-card-order.js": 2, + "public-status.js": 14, + "ticket-order.js": 17, + "ticket-search.js": 12, + "ticket-route.js": 3, + "index.js": 3, + "ic-card-admin.js": 3, + "ic-card-order.js": 3, "ic-card-detail.js": 2, - "ic-card-search.js": 2, + "ic-card-search.js": 3, "token.js": 2, "login.js": 2, "blog.js": 2 diff --git a/web/blog.html b/web/blog.html index a64ac63..e84524f 100644 --- a/web/blog.html +++ b/web/blog.html @@ -67,7 +67,7 @@ v1.0.12 - + diff --git a/web/home.html b/web/home.html index 8e6be64..3fcfe54 100644 --- a/web/home.html +++ b/web/home.html @@ -181,8 +181,8 @@ - - + + - - + + + + - + - - + + + + - + @@ -238,6 +238,9 @@ + @@ -261,37 +264,45 @@ - - - - + + +
@@ -793,8 +804,62 @@
-
- 线路图 +
+ +
+ + +
+ 在左侧选择站点后,点击下方图片中的位置即可绑定。绑定的坐标将用于网页订票展示。 +
+
+ +
+ 线路图 + + + +
未上传线路图
@@ -897,8 +962,8 @@ - - + + + diff --git a/web/machine-map.html b/web/machine-map.html index 3530f63..a65005e 100644 --- a/web/machine-map.html +++ b/web/machine-map.html @@ -7,7 +7,7 @@ 票务查询|FSE铁路运输票务系统 - + @@ -120,9 +120,9 @@ - + - + - - + + - - + + + - + + + - + + - +