瀏覽代碼

no message

MS-CIAZDCOIXVRW\Administrator 3 年之前
父節點
當前提交
c305cb74a8
共有 1 個文件被更改,包括 19 次插入1 次删除
  1. 19 1
      src/components/CarRecord.vue

+ 19 - 1
src/components/CarRecord.vue

@@ -78,6 +78,7 @@
             element-loading-text="加载中"
             element-loading-text="加载中"
             element-loading-spinner="el-icon-loading"
             element-loading-spinner="el-icon-loading"
             element-loading-background="rgba(0, 0, 0, 0.8)"
             element-loading-background="rgba(0, 0, 0, 0.8)"
+            stripe
             :data="tableData"
             :data="tableData"
             style="width: 100%"
             style="width: 100%"
             height="467"
             height="467"
@@ -662,8 +663,9 @@ export default {
     background-color: transparent;
     background-color: transparent;
   }
   }
 
 
+  // 鼠标悬停时背景颜色设置
   ::v-deep .el-table tbody tr:hover > td {
   ::v-deep .el-table tbody tr:hover > td {
-    background-color: skyblue;
+    background-color: #24578c;
   }
   }
 
 
   ::v-deep .el-table__header-wrapper {
   ::v-deep .el-table__header-wrapper {
@@ -676,5 +678,21 @@ export default {
     width: 0;
     width: 0;
     color: transparent;
     color: transparent;
   }
   }
+
+  // 输入框 筛选框 圆角设置
+  ::v-deep .el-input__inner {
+    border-radius: 20px;
+    color: #fff;
+    background-color: rgba($color: #fff, $alpha: 0.3);
+  }
+
+  // 斑马线隔行换色设置颜色
+  ::v-deep
+    .el-table--striped
+    .el-table__body
+    tr.el-table__row--striped.el-table__row--striped.el-table__row--striped
+    td {
+    background-color: rgba($color: #58beff, $alpha: 0.3);
+  }
 }
 }
 </style>
 </style>