liuxf 4 月之前
父节点
当前提交
472b2d8769
共有 1 个文件被更改,包括 6 次插入7 次删除
  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 {
-    gap: 8px !important; /* 与月指定的date-groups-wrapper保持相同间距(8px) */
+    gap: 0 !important; /* 与月指定的date-groups-wrapper保持相同间距(8px) */
     align-items: center !important; /* 确保垂直居中对齐 */
   }
 
   /* 年度下拉框位置调整 */
-  .annual-group .date-select-year {
-    vertical-align: middle; /* 垂直居中对齐 */
-    position: relative !important; /* 相对定位 */
-    transform: translateX(-8px) !important; /* 水平位移调整,与月指定的年下拉框对齐 */
-  }
-
   .annual-group .date-group {
     gap: 0 !important; /* 覆盖大屏下的可能间距 */
+    margin-left: -8px !important; /* 用容器左移替代内部元素位移,保持布局整体性 */
+  }
+
+  .annual-group .date-select-year {
+    vertical-align: middle; /* 垂直居中对齐 */
   }
 
   /* 日期标签对齐调整 */