Parcourir la source

项目资料收集

ZaiZai il y a 1 an
Parent
commit
afa9828d4c

+ 20 - 0
src/styles/app/element.scss

@@ -5,3 +5,23 @@
     min-height: 80px;
     justify-content: center;
 }
+
+.el-table[hc].new {
+    --el-table-header-bg-color: #101010;
+    --el-table-header-text-color: #fff;
+    --el-table-text-color: #101010;
+    thead.is-group th.el-table__cell {
+        background: var(--el-table-header-bg-color);
+    }
+    thead .el-table-fixed-column--left.el-table__cell,
+    thead .el-table-fixed-column--right.el-table__cell {
+        background: var(--el-table-header-bg-color) !important;
+    }
+    tbody .el-table-fixed-column--left.el-table__cell,
+    tbody .el-table-fixed-column--right.el-table__cell {
+        background: var(--el-table-tr-bg-color) !important;
+    }
+    .el-table__body tr.current-row>td.el-table__cell {
+        background-color: var(--el-table-current-row-bg-color) !important;
+    }
+}

+ 0 - 22
src/views/anomaly/index.vue

@@ -176,25 +176,3 @@ const exportClick = async (_, resolve) => {
     width: 100%;
 }
 </style>
-
-<style>
-.anonaly-page-table .el-table[hc].new {
-    --el-table-header-bg-color: #101010;
-    --el-table-header-text-color: #fff;
-    --el-table-text-color: #101010;
-    thead.is-group th.el-table__cell {
-        background: var(--el-table-header-bg-color);
-    }
-    thead .el-table-fixed-column--left.el-table__cell,
-    thead .el-table-fixed-column--right.el-table__cell {
-        background: var(--el-table-header-bg-color) !important;
-    }
-    tbody .el-table-fixed-column--left.el-table__cell,
-    tbody .el-table-fixed-column--right.el-table__cell {
-        background: var(--el-table-tr-bg-color) !important;
-    }
-    .el-table__body tr.current-row>td.el-table__cell {
-        background-color: var(--el-table-current-row-bg-color) !important;
-    }
-}
-</style>

+ 0 - 19
src/views/project/modules/gist-list.vue

@@ -313,25 +313,6 @@ defineExpose({
 </script>
 
 <style lang="scss">
-.hc-project-list-table .el-table[hc].new {
-    --el-table-header-bg-color: #101010;
-    --el-table-header-text-color: #fff;
-    --el-table-text-color: #101010;
-    thead.is-group th.el-table__cell {
-        background: var(--el-table-header-bg-color);
-    }
-    thead .el-table-fixed-column--left.el-table__cell,
-    thead .el-table-fixed-column--right.el-table__cell {
-        background: var(--el-table-header-bg-color) !important;
-    }
-    tbody .el-table-fixed-column--left.el-table__cell,
-    tbody .el-table-fixed-column--right.el-table__cell {
-        background: var(--el-table-tr-bg-color) !important;
-    }
-    .el-table__body tr.current-row>td.el-table__cell {
-        background-color: var(--el-table-current-row-bg-color) !important;
-    }
-}
 .hc-project-list-drawer-year {
     position: relative;
     border: 1px solid #dddddd;

+ 0 - 22
src/views/system/menu.vue

@@ -217,25 +217,3 @@ const menuDataModalClose = ()=>{
     width: 100%;
 }
 </style>
-
-<style>
-.menu-page-table .el-table[hc].new {
-    --el-table-header-bg-color: #101010;
-    --el-table-header-text-color: #fff;
-    --el-table-text-color: #101010;
-    thead.is-group th.el-table__cell {
-        background: var(--el-table-header-bg-color);
-    }
-    thead .el-table-fixed-column--left.el-table__cell,
-    thead .el-table-fixed-column--right.el-table__cell {
-        background: var(--el-table-header-bg-color) !important;
-    }
-    tbody .el-table-fixed-column--left.el-table__cell,
-    tbody .el-table-fixed-column--right.el-table__cell {
-        background: var(--el-table-tr-bg-color) !important;
-    }
-    .el-table__body tr.current-row>td.el-table__cell {
-        background-color: var(--el-table-current-row-bg-color) !important;
-    }
-}
-</style>

+ 0 - 22
src/views/system/role.vue

@@ -206,25 +206,3 @@ const data = [
     width: 100%;
 }
 </style>
-
-<style>
-.role-page-table .el-table[hc].new {
-    --el-table-header-bg-color: #101010;
-    --el-table-header-text-color: #fff;
-    --el-table-text-color: #101010;
-    thead.is-group th.el-table__cell {
-        background: var(--el-table-header-bg-color);
-    }
-    thead .el-table-fixed-column--left.el-table__cell,
-    thead .el-table-fixed-column--right.el-table__cell {
-        background: var(--el-table-header-bg-color) !important;
-    }
-    tbody .el-table-fixed-column--left.el-table__cell,
-    tbody .el-table-fixed-column--right.el-table__cell {
-        background: var(--el-table-tr-bg-color) !important;
-    }
-    .el-table__body tr.current-row>td.el-table__cell {
-        background-color: var(--el-table-current-row-bg-color) !important;
-    }
-}
-</style>

+ 0 - 23
src/views/system/user.vue

@@ -193,26 +193,3 @@ const roleOptions = ref([ {
     width: 100%;
 }
 </style>
-
-
-<style lang="scss">
-.user-page-table .el-table[hc].new {
-    --el-table-header-bg-color: #101010;
-    --el-table-header-text-color: #fff;
-    --el-table-text-color: #101010;
-    thead.is-group th.el-table__cell {
-        background: var(--el-table-header-bg-color);
-    }
-    thead .el-table-fixed-column--left.el-table__cell,
-    thead .el-table-fixed-column--right.el-table__cell {
-        background: var(--el-table-header-bg-color) !important;
-    }
-    tbody .el-table-fixed-column--left.el-table__cell,
-    tbody .el-table-fixed-column--right.el-table__cell {
-        background: var(--el-table-tr-bg-color) !important;
-    }
-    .el-table__body tr.current-row>td.el-table__cell {
-        background-color: var(--el-table-current-row-bg-color) !important;
-    }
-}
-</style>