3
0
Эх сурвалжийг харах

[Mod 0000]调整首页样式

wangkeyi 5 сар өмнө
parent
commit
463fb5e1e3

+ 7 - 7
src/components/Configurable/detail/MiniBoard.vue

@@ -131,7 +131,7 @@
   }
   .mini-board_A {
     width: 220px;
-    height: 44px;
+    height: 52px;
     display: flex;
     justify-content: space-between;
     align-items: center;
@@ -171,10 +171,10 @@
   }
   .mini-board_B {
     width: 98px;
-    height: 98px;
+    height: 110px;
     background-image: var(--image-board-bg-B);
     background-size: 100% 100%;
-    padding-top: 30px;
+    padding-top: 38px;
   }
 
   .mini-board__label_B {
@@ -187,7 +187,7 @@
     font-size: 26px;
     font-weight: bold;
     font-family: 'Microsoft YaHei';
-    padding-bottom: 15px;
+    padding-bottom: 17px;
   }
   /* 1. 第一个容器:label和value为蓝色 */
   .mini-board_B:nth-child(1) .mini-board__label_B,
@@ -214,10 +214,10 @@
   }
   .mini-board_C {
     width: 98px;
-    height: 98px;
+    height: 110px;
     background-image: var(--image-board-bg-B);
     background-size: 100% 100%;
-    padding-top: 30px;
+    padding-top: 38px;
   }
 
   .mini-board__label_C {
@@ -230,7 +230,7 @@
     font-size: 26px;
     font-weight: bold;
     font-family: 'Microsoft YaHei';
-    padding-bottom: 15px;
+    padding-bottom: 17px;
   }
   /* 1. 第一个容器:label和value为蓝色 */
   .mini-board_C:nth-child(1) .mini-board__label_C,

+ 13 - 13
src/views/dashboard/SealedGoaf/configurable.data.sealedGoaf.ts

@@ -60,7 +60,7 @@ export const testConfigSealedGoaf: Config[] = [
       preset: [],
     },
     showStyle: {
-      size: 'width:440px;height:185px;',
+      size: 'width:440px;height:220px;',
       version: '原版',
       position: 'top:20px;left:10px;',
     },
@@ -116,9 +116,9 @@ export const testConfigSealedGoaf: Config[] = [
       preset: [],
     },
     showStyle: {
-      size: 'width:440px;height:140px;',
+      size: 'width:440px;height:160px;',
       version: '原版',
-      position: 'top:210px;left:10px;',
+      position: 'top:250px;left:10px;',
     },
   },
   // 3. 煤层自燃倾向性
@@ -171,9 +171,9 @@ export const testConfigSealedGoaf: Config[] = [
       preset: [],
     },
     showStyle: {
-      size: 'width:440px;height:180px;',
+      size: 'width:440px;height:230px;',
       version: '原版',
-      position: 'top:340px;left:10px;',
+      position: 'bottom:440px;left:10px;',
     },
   },
   // 4. 联网状态
@@ -345,9 +345,9 @@ export const testConfigSealedGoaf: Config[] = [
       },
     },
     showStyle: {
-      size: 'width:440px;height:300px;',
+      size: 'width:440px;height:400px;',
       version: '原版',
-      position: 'top:520px;left:10px;',
+      position: 'bottom:20px;left:10px;',
     },
   },
   // 5. 密闭情况总览
@@ -378,12 +378,12 @@ export const testConfigSealedGoaf: Config[] = [
         items: [
           {
             name: 'board',
-            basis: '40%',
+            basis: '35%',
             overflow: true,
           },
           {
             name: 'table',
-            basis: '60%',
+            basis: '65%',
             overflow: true,
           },
         ],
@@ -514,7 +514,7 @@ export const testConfigSealedGoaf: Config[] = [
       },
     },
     showStyle: {
-      size: 'width:440px;height:330px;',
+      size: 'width:440px;height:450px;',
       version: '原版',
       position: 'top:-20px;right:10px;',
     },
@@ -681,9 +681,9 @@ export const testConfigSealedGoaf: Config[] = [
       // },
     },
     showStyle: {
-      size: 'width:440px;height:300px;',
+      size: 'width:440px;height:400px;',
       version: '原版',
-      position: 'top:310px;right:10px;',
+      position: 'top:440px;right:10px;',
     },
   },
   // 7. 当日报警情况统计
@@ -770,7 +770,7 @@ export const testConfigSealedGoaf: Config[] = [
     showStyle: {
       size: 'width:440px;height:210px;',
       version: '原版',
-      position: 'top:620px;right:10px;',
+      position: 'bottom:20px;right:10px;',
     },
   },
 ];