فهرست منبع

修改头部样式,和智深保持一致;修改路由,综合报警首页隐藏

sunzehao 4 ماه پیش
والد
کامیت
18120a679c
2فایلهای تغییر یافته به همراه12 افزوده شده و 9 حذف شده
  1. 8 5
      src/App.vue
  2. 4 4
      src/router/index.js

+ 8 - 5
src/App.vue

@@ -10,10 +10,10 @@
   >
     <div v-if="isLogined" class="main">
       <div class="header-body" v-if="hideHeard === '0'">
-        <div class="header-title" @click="handleClickJump()">
+        <!-- <div class="header-title" @click="handleClickJump()"> -->
           <!-- <img v-if="$store.state.themeName === 'dark'" src="./assets/projectLogo.png" alt="" />
         <img v-if="$store.state.themeName === 'light'" src="./assets/light-projectLogo.png" alt="" /> -->
-        <img src="./assets/logonx.png" alt="" />
+        <!-- <img src="./assets/logonx.png" alt="" /> -->
           <!-- <span
             :style="
               $store.state.themeName === 'dark'
@@ -23,9 +23,10 @@
           >
             &gt;&gt;&nbsp;演示平台</span
           > -->
-        </div>
+        <!-- </div> -->
         <div class="header-menu-body">
-          <Header />
+          <!-- <Header /> -->
+          <tab-header />
         </div>
       </div>
       <div
@@ -96,6 +97,7 @@ import {
 import alarmBadge from "@/components/alarm-badge/index.vue";
 import Menu from "@/views/layout/Menu.vue";
 import Header from "@/views/layout/Header.vue";
+import tabHeader from "@/views/layout/tabHeader.vue";
 import LoginPage from "./views/layout/login-page.vue";
 import { GetBoosterlist } from "@/api/factoryMonitor/index.js";
 import { getApiWeatherstation } from "@/api/monthlyPerformanceAnalysis";
@@ -109,6 +111,7 @@ export default {
   components: {
     Menu,
     Header,
+    tabHeader,
     LoginPage,
     alarmBadge,
     SvgIcon,
@@ -675,7 +678,7 @@ body {
   font-family: @defalut-font-family;
 }
 @menuWidth: 51.28px;
-@headerHeight: 59px;
+@headerHeight: 39px;
 .main {
   width: 100%;
   height: 100%;

+ 4 - 4
src/router/index.js

@@ -31,10 +31,10 @@ export const asyncRoutes = [
   //综合报警
     {
         path: "/integratedAlarm",
-        //   redirect:
-        //   "/integratedAlarm/safe/realwarning",
-        //   component: () => import("@/views/IntegratedAlarm"),
-        component: () => import("@/views/SandTable/SandTable.vue"),
+          redirect:
+          "/integratedAlarm/safe/realwarning",
+          component: () => import("@/views/IntegratedAlarm"),
+        // component: () => import("@/views/SandTable/SandTable.vue"),
         name: "SandTable",
         meta: {
             title: "综合报警",