liuxf 4 months ago
parent
commit
472b2d8769
1 changed files with 6 additions and 7 deletions
  1. 6 7
      src/views/fcbi/sales/sumSettings.vue

+ 6 - 7
src/views/fcbi/sales/sumSettings.vue

@@ -616,19 +616,18 @@ const resetForm = () => {
 
 
   /* 统一年度指定区域布局 */
   /* 统一年度指定区域布局 */
   .annual-group {
   .annual-group {
-    gap: 8px !important; /* 与月指定的date-groups-wrapper保持相同间距(8px) */
+    gap: 0 !important; /* 与月指定的date-groups-wrapper保持相同间距(8px) */
     align-items: center !important; /* 确保垂直居中对齐 */
     align-items: center !important; /* 确保垂直居中对齐 */
   }
   }
 
 
   /* 年度下拉框位置调整 */
   /* 年度下拉框位置调整 */
-  .annual-group .date-select-year {
-    vertical-align: middle; /* 垂直居中对齐 */
-    position: relative !important; /* 相对定位 */
-    transform: translateX(-8px) !important; /* 水平位移调整,与月指定的年下拉框对齐 */
-  }
-
   .annual-group .date-group {
   .annual-group .date-group {
     gap: 0 !important; /* 覆盖大屏下的可能间距 */
     gap: 0 !important; /* 覆盖大屏下的可能间距 */
+    margin-left: -8px !important; /* 用容器左移替代内部元素位移,保持布局整体性 */
+  }
+
+  .annual-group .date-select-year {
+    vertical-align: middle; /* 垂直居中对齐 */
   }
   }
 
 
   /* 日期标签对齐调整 */
   /* 日期标签对齐调整 */