Jelajahi Sumber

修改布局 使地图空间变大 默认显示 设备页面

zhaojijng 2 tahun lalu
induk
melakukan
10efc70e44

+ 11 - 6
config/routes.ts

@@ -24,23 +24,23 @@
     routes: [
       {
         path: '/',
-        redirect: '/environment',
+        redirect: '/equipment',
       },
       {
         path: '/noAuth',
         component: './NoAuth',
       },
       {
-        path: '/environment',
-        name: 'environment',
-        component: './Environment',
-      },
-      {
         path: '/equipment',
         name: 'equipment',
         component: './Equipment',
       },
       {
+        path: '/environment',
+        name: 'environment',
+        component: './Environment',
+      },
+      {
         path: '/runtime',
         name: 'runtime',
         component: './Runtime',
@@ -50,6 +50,11 @@
         name: 'recordList',
         component: './Runtime/RecordList',
       },
+      {
+        path: '/ceshi',
+        name: 'ceshi',
+        component: './Ceshi',
+      },
     ],
   },
 ];

+ 1 - 1
src/assets/css/map.less

@@ -1,5 +1,5 @@
 .spinnclass {
-  height: calc(100% - 285px);
+  height: calc(100% - 245px);
 }
 
 :global {

+ 2 - 2
src/components/topNavigator/index.less

@@ -4,8 +4,8 @@
 .topnavigator {
   box-sizing: border-box;
   //   display: flex;
-  height: 68px;
-  margin-top: 23px;
+  height: 63px;
+  margin-top: 18px;
   background: #fff;
   .floor {
     display: flex;

+ 2 - 2
src/layouts/index.less

@@ -26,8 +26,8 @@
   align-items: center;
   justify-content: space-between;
   box-sizing: border-box;
-  height: 100px;
-  padding: 20px 0 40px 0;
+  height: 75px;
+  padding: 15px 0 20px 0;
   .title {
     color: #000000;
     font-weight: 600;

+ 1 - 1
src/pages/Environment/index.less

@@ -3,7 +3,7 @@
 }
 .maptop {
   box-sizing: border-box;
-  height: 44px;
+  height: 39px;
   padding-top: 10px;
   padding-right: 20px;
   .right {

+ 1 - 1
src/pages/Equipment/index.less

@@ -3,7 +3,7 @@
 }
 .maptop {
   box-sizing: border-box;
-  height: 44px;
+  height: 39px;
   padding-top: 10px;
   .right {
     display: flex;

+ 1 - 1
src/pages/NoAuth/index.less

@@ -9,7 +9,7 @@
 
 .maptop {
   box-sizing: border-box;
-  height: 44px;
+  height: 39px;
   padding-top: 10px;
   padding-right: 20px;
   .right {

+ 1 - 1
src/pages/Runtime/index.less

@@ -9,7 +9,7 @@
 
 .maptop {
   box-sizing: border-box;
-  height: 44px;
+  height: 39px;
   padding-top: 10px;
   padding-right: 20px;
   .right {