Browse Source

样式更新

xushili 3 years ago
parent
commit
364a57fc65

+ 1 - 1
src/assets/script/UniformCodes.js

@@ -994,7 +994,7 @@ export default class UniformCodes {
                       {
                         "name": "发电机转速",
                         "num": "3",
-                        "code": "AI223",
+                        "code": "AI128",
                         "unit": "rpm"
                       },
                       {

+ 3 - 3
src/assets/style/main.css

@@ -59,7 +59,7 @@ body,
   background-color: rgb(29,106,235) !important;
 }
 .el-tabs__item.is-active{
-  background-color: black !important;
+  background-color: rgb(36,36,36) !important;
   border-color: black !important;
 }
 
@@ -76,12 +76,12 @@ body,
   
 /*   .el-table td,.el-table th {
     border-bottom:2px solid rgb(36,36,36);
-  } */
+  } 
   
   .el-table--border th,.el-table--border th.gutter:last-of-type {
     border-bottom:1px solid yellow;
   
-  }
+  }*/
   
   .el-table--border td,.el-table--border th {
     border-right:1px solid rgb(36,36,36);

+ 2 - 3
src/components/area/AlarmArea.vue

@@ -10,11 +10,10 @@
     <el-table
       :data="values"
       height="219px"
-      v-if="lastUpdateTime!=null"
       :header-cell-style="{
                 background: 'Black',
                 color: 'rgb(220,220,220)',
-                padding:'5px',
+                padding:'4px',
                 fontSize:'14px',
                 'border-bottom':'solid 1px black'
               }"
@@ -67,7 +66,7 @@ export default {
   props: {},
   data() {
     return {
-      values: new Array()
+      values: ['-','-','-','-','-','-']
     };
   },
   methods: {

+ 3 - 5
src/components/area/windturbine/BasicInformationDetail.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="firstdiv">
     <img
-      style="float: left; margin-left: 30px; margin-top: 90px;width:50vh;height:25vh;"
+      style="float: left; margin-left: 40px; margin-top: 90px;width:50vh;height:25vh;"
       src="../../../assets/img/WindturbineDetailPages/变桨.png"
       object-fit="fill"
     />
@@ -120,17 +120,15 @@ export default {
 
 <style scoped>
 .firstdiv {
-  height: 10vh;
+  height: 49vh;
 }
 .onediv {
   float: right;
   margin-right: 30px;
-  margin-top: 30px;
 }
 .twodiv {
   float: right;
   margin-right: 30px;
-  margin-top: 30px;
 }
 td:nth-child(1) {
   height: 25px;
@@ -155,6 +153,6 @@ th {
   height: 40px;
 }
 table{
-  margin-bottom: 30px;
+  margin-top: 30px;
 }
 </style>

+ 1 - 1
src/components/area/windturbine/WindturbineDetailPages.vue

@@ -9,7 +9,7 @@
   <template #title>
     <div style="margin-top:-10px;">风机详情</div>
   </template>
-    <div style="background-color: black;margin-top:-30px;margin-left:-10px;margin-right:-10px;margin-bottom:-20px;">
+    <div style="background-color: black;margin-top:-30px;margin-left:-10px;margin-right:-10px;margin-bottom:-30px;">
       <!-- <div class="titeldiv">
       <div class="chunkdiv" width="15%">
         <img src="../../../assets/img/WindturbineDetailPages/pic_01.png"/>