Explorar el Código

refactor(styles, views): improve component structure and styling consistency

- Simplified the SCSS styles in `element-override.scss` by removing unnecessary `!important` declarations for better maintainability.
- Streamlined the layout of input and table components in `lss/index.vue` for improved readability and consistency, enhancing the overall user interface.
- Consolidated class bindings and reduced line breaks in various components to enhance visual clarity and structure.
yb hace 3 días
padre
commit
a971285085
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 2 2
      src/assets/styles/theme/element-override.scss
  2. 1 1
      src/views/lss/index.vue

+ 2 - 2
src/assets/styles/theme/element-override.scss

@@ -176,8 +176,8 @@
   // #4542: 分页当前页使用蓝底白字
   &.is-background {
     .el-pager li:not(.is-disabled).is-active {
-      background-color: #409eff !important;
-      color: #ffffff !important;
+      background-color: #409eff;
+      color: #ffffff;
     }
   }
 }

+ 1 - 1
src/views/lss/index.vue

@@ -141,7 +141,7 @@
         <div class="drawer-body">
           <!-- LSS 详情 Tab -->
           <div v-show="editActiveTab === 'detail'" class="lss-detail-form">
-            <el-form ref="lssEditFormRef" :model="lssEditForm" label-width="80px" label-position="left">
+            <el-form ref="lssEditFormRef" :model="lssEditForm" label-width="auto">
               <el-form-item :label="t('LSS ID') + ':'">
                 <span class="form-value">{{ currentLss?.lssId }}</span>
               </el-form-item>