add schudual function

This commit is contained in:
Bkk1234 committed 2026-09-25 04:20:16 +07:00
1 parent d198430310
commit 88311326e6
252 files changed
+4803 -579

No files matched your search

+10 -1
View File
@@ -682,7 +682,8 @@
<aside class="mu-card-panel">
<h2><span data-i18n="stop.mapInfo">แผนที่และข้อมูลป้าย</span></h2>
<div class="mu-map-mock" style="border-radius: 12px; background: linear-gradient(145deg, #f4f8ff 0%, #effaf5 100%); border: 1px solid #d7e5f2; padding: 20px; min-height: 200px; display:flex; align-items:center; justify-content:center; color:#66728f; font-weight:700; text-align:center;"><svg class="ic" aria-hidden="true"><use href="#ic-map"/></svg> แผนที่ตำแหน่งป้ายและช่องจอด</div>
<div class="at-map" id="stop-map" role="region" aria-label="แผนที่เส้นทางที่ผ่านป้ายนี้"></div>
<p class="at-map-caption" id="stop-map-caption"></p>
<div style="display:flex; flex-wrap:wrap; gap:8px; margin-top:14px;">
<span class="mu-chip" style="background: rgba(255,255,255,.9); border:1px solid rgba(231, 224, 246, 0.95); color:#5b3b71;">เปิด 04:30</span>
<span class="mu-chip" style="background: rgba(255,255,255,.9); border:1px solid rgba(231, 224, 246, 0.95); color:#5b3b71;">ปิด 21:00</span>
@@ -816,3 +817,11 @@
setInterval(tick, 30000);
})();
</script>
<script>
(function () {
var r = window.__route || { params: {} };
var el = document.getElementById('stop-map');
if (el && window.ATMap && r.params.code) ATMap.forStop(el, r.params.code);
})();
</script>