Ver Fonte

refactor(camera, camera-vendor, lss, machine): improve component formatting for consistency and readability

- Consolidated attributes in various components, including el-input, el-table, and el-pagination, to enhance code clarity.
- Reduced unnecessary line breaks and improved overall formatting for a cleaner layout across camera, camera-vendor, lss, and machine views.
- Ensured consistent usage of component properties for better maintainability across the application.
yb há 6 dias atrás
pai
commit
6ef1b2ba84

+ 0 - 21
src/views/camera-vendor/index.vue

@@ -710,27 +710,6 @@ onMounted(() => {
     color: #333;
     font-weight: 600;
   }
-
-  .el-table__column-filter-trigger,
-  .caret-wrapper {
-    .sort-caret.ascending {
-      border-bottom-color: #4f46e5;
-    }
-
-    .sort-caret.descending {
-      border-top-color: #4f46e5;
-    }
-  }
-
-  .el-checkbox__input.is-checked .el-checkbox__inner {
-    background-color: #4f46e5;
-    border-color: #4f46e5;
-  }
-
-  .el-checkbox__input.is-indeterminate .el-checkbox__inner {
-    background-color: #4f46e5;
-    border-color: #4f46e5;
-  }
 }
 
 // 弹窗 Indigo 主题

+ 0 - 12
src/views/camera/index.vue

@@ -729,18 +729,6 @@ onMounted(() => {
     color: #333;
     font-weight: 600;
   }
-
-  // 排序图标颜色
-  .el-table__column-filter-trigger,
-  .caret-wrapper {
-    .sort-caret.ascending {
-      border-bottom-color: #4f46e5;
-    }
-
-    .sort-caret.descending {
-      border-top-color: #4f46e5;
-    }
-  }
 }
 
 // 弹窗 Indigo 主题

+ 0 - 10
src/views/lss/index.vue

@@ -1623,15 +1623,5 @@ onMounted(() => {
     color: #333;
     font-weight: 600;
   }
-
-  .caret-wrapper {
-    .sort-caret.ascending {
-      border-bottom-color: #4f46e5;
-    }
-
-    .sort-caret.descending {
-      border-top-color: #4f46e5;
-    }
-  }
 }
 </style>

+ 0 - 23
src/views/machine/index.vue

@@ -609,29 +609,6 @@ onMounted(() => {
     color: #333;
     font-weight: 600;
   }
-
-  // 排序图标颜色
-  .el-table__column-filter-trigger,
-  .caret-wrapper {
-    .sort-caret.ascending {
-      border-bottom-color: #4f46e5;
-    }
-
-    .sort-caret.descending {
-      border-top-color: #4f46e5;
-    }
-  }
-
-  // Checkbox Indigo 主题
-  .el-checkbox__input.is-checked .el-checkbox__inner {
-    background-color: #4f46e5;
-    border-color: #4f46e5;
-  }
-
-  .el-checkbox__input.is-indeterminate .el-checkbox__inner {
-    background-color: #4f46e5;
-    border-color: #4f46e5;
-  }
 }
 
 // 弹窗 Indigo 主题