Ver código fonte

电视墙样式

王通 1 ano atrás
pai
commit
f9dedaf00e
2 arquivos alterados com 20 adições e 1 exclusões
  1. 9 0
      src/assets/styles/base.scss
  2. 11 1
      src/components/TVWalls.vue

+ 9 - 0
src/assets/styles/base.scss

@@ -91,6 +91,15 @@ $date-state3: #d6333b;
 .TVWallCustomWidth {
   width: 1200px !important;
   height: 800px !important;
+  .el-descriptions__body{
+    background:transparent !important;
+    color: #fff;
+    .el-descriptions-item__label{
+      background:transparent !important;
+      color: #fff;
+      width: 100px;
+    }
+  }
 }
 .TVWallCustomWidth-right {
   width: 1500px !important;

+ 11 - 1
src/components/TVWalls.vue

@@ -27,7 +27,7 @@
           <div class="leader-info-list-con">
             <div v-for="(item,key) in this.detail" :key="key">
               <el-descriptions class="margin-top" title="" :column="1" size="mini" border>
-                <el-descriptions-item :label="`${item.name}:`">
+                <el-descriptions-item :label="`${item.name}`">
                   {{item.value}}
                 </el-descriptions-item>
               </el-descriptions>
@@ -860,6 +860,15 @@ html, body {
   background: #04080c !important;
   box-shadow: $barShadow !important;
   border: 1px $barBorder !important;
+  .el-descriptions__body{
+    background:transparent !important;
+    color: #fff;
+    .el-descriptions-item__label{
+      background:transparent !important;
+      color: #fff;
+      width: 100px;
+    }
+  }
   .el-dialog__header {
     padding: 15px 20px !important;
     background-image: -moz-linear-gradient($GradualGreen) !important;
@@ -872,6 +881,7 @@ html, body {
       color: #3cd7ef !important;
     }
   }
+
   .leader-info-container{
     // padding: .5rem;
     display: flex;