Browse Source

菜单顺序

bls-dan 2 years ago
parent
commit
5d9c47ad24
1 changed files with 6 additions and 5 deletions
  1. 6 5
      src/pages/views/home/index.vue

+ 6 - 5
src/pages/views/home/index.vue

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