Unverified Commit b9b04cfc authored by Sparkf's avatar Sparkf 🏙️
Browse files

add temp bus schedule (20250708 summer timetable)

parent 9747cf8f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
import { defineClientConfig } from 'vuepress/client'
import BusTable from "./components/BusTable.vue";
import BusTable_img from "./components/BusTable_img.vue";
import TabView from "./components/TabView.vue";
import RealtimeMap from './components/RealtimeMap.vue'
import CampusMap from './components/CampusMap.vue'
@@ -12,6 +13,7 @@ import AdSenseDisplayAD from './components/adsense-displayad.vue'
export default defineClientConfig({
  enhance({ app }) {
    app.component("BusTable", BusTable)
    app.component("BusTable_img", BusTable_img)
    app.component("TabView", TabView)
    app.component("RealtimeMap", RealtimeMap)
    app.component("CampusMap", CampusMap)
+14 −0
Original line number Diff line number Diff line
<script setup lang="ts">

</script>

<template>
  <div id="bustable">
    <p><b>2025年暑期试运行时间表,2025年7月7日生效</b></p>
    <img src="https://mirrors.sustech.edu.cn/site/sustech-online/img/misc/bustimer_schedule_20250708.png" alt="Bus Schedule 20250708" style="width: 100%; height: auto;">
  </div>
</template>

<style scoped>

</style>
 No newline at end of file
+4 −3
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
    <div class="tab-container">
      <!-- 第一个 div 根据 value 控制显示与隐藏 -->
      <div v-if="currentSelect === 'bus-location'">
        <div class="bus-location-hint" v-if="showMapChart">位置每5秒自动刷新。Location refreshes automatically every 5 seconds.
        <div class="bus-location-hint" v-if="showMapChart"><b>位置每5秒自动刷新。</b>Location refreshes automatically every 5 seconds. <br><b>电瓶车暂未安装定位模块,地图中仅显示公交车的位置。</b>Shuttle Electric Vehicle (SEV) are not equipped with GPS modules yet, so only the Bus locations are shown on the map.
        </div>
        <RealtimeMap v-if="showMapChart" />
        <BusChartVue />
@@ -21,7 +21,8 @@

<!--       第二个 div 根据 value 控制显示与隐藏 -->
      <div v-if="currentSelect === 'timetable'">
        <BusTable></BusTable>
<!--        <BusTable></BusTable>-->
        <BusTable_img />
      </div>
    </div>

+0 −2
Original line number Diff line number Diff line
@@ -6,8 +6,6 @@ navbar: false

![](https://mirrors.sustech.edu.cn/site/sustech-online/img/misc/bustimer-banner1.png)

(您可以保存图片以识别二维码,或复制问卷链接至浏览器填写: [https://docs.qq.com/form/page/DY0RtVGRWSnVZQUtV](https://docs.qq.com/form/page/DY0RtVGRWSnVZQUtV)

<ClientOnly>
  <TabView :isMapTabEnabled="true"></TabView>
</ClientOnly>
+0 −2
Original line number Diff line number Diff line
# 🚌校园巴士时刻表 SUSTech Campus Bus Info
![](https://mirrors.sustech.edu.cn/site/sustech-online/img/misc/bustimer-banner1.png)

(您可以保存图片以识别二维码,或复制问卷链接至浏览器填写: [https://docs.qq.com/form/page/DY0RtVGRWSnVZQUtV](https://docs.qq.com/form/page/DY0RtVGRWSnVZQUtV)

<ClientOnly>
  <TabView :isMapTabEnabled="true"></TabView>
</ClientOnly>