|
|
@@ -12,12 +12,12 @@ import passengerFlow from './components/PassengerFlow.vue'
|
|
|
const weatherService = new WeatherService()
|
|
|
const menus = [
|
|
|
{ name: '主页', component: markRaw(homePage) },
|
|
|
- { name: '车辆运营', component: markRaw(cehicleOperation) },
|
|
|
- { name: '线路分析', component: markRaw(lineAnalysis) },
|
|
|
+ { name: '线路运营', component: markRaw(cehicleOperation) },
|
|
|
+ { name: '客流分析', component: markRaw(passengerFlow) },
|
|
|
{ name: '维保动态', component: markRaw(maintenanceDynamics) },
|
|
|
{ name: '设施管理', component: markRaw(facilityManagement) },
|
|
|
{ name: '场站管理', component: markRaw(stationManagement) },
|
|
|
- { name: '客流分析', component: markRaw(passengerFlow) }
|
|
|
+ { name: '线路分析', component: markRaw(lineAnalysis) }
|
|
|
]
|
|
|
const active = ref(0)
|
|
|
const currentComponent = ref(menus[active.value].component)
|
|
|
@@ -33,7 +33,7 @@ weatherService.getWeather().then((res) => { weather.value = res })
|
|
|
<template>
|
|
|
<div class="home">
|
|
|
<div class="home-top">
|
|
|
- <img src="../../../assets/img/6.svg">
|
|
|
+ <!-- <img src="../../../assets/img/6.svg"> -->
|
|
|
<div class="home-top-user">
|
|
|
<div>安全运营<span>100</span>天</div>
|
|
|
<div v-if="weather">
|
|
|
@@ -68,7 +68,8 @@ weatherService.getWeather().then((res) => { weather.value = res })
|
|
|
<component :is="currentComponent" />
|
|
|
</div>
|
|
|
<div class="home-bottom">
|
|
|
- 雅安市公共交通集团有限公司
|
|
|
+ xxxx
|
|
|
+ <!-- 雅安市公共交通集团有限公司 -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|