Просмотр исходного кода

Merge branch 'cc-dev' into 'dev'

修复人员详情

See merge request product-group-fe/sfy-safety-group/sfy-safety!101
陈昶 10 месяцев назад
Родитель
Сommit
864f55c1e8
2 измененных файлов с 5 добавлено и 7 удалено
  1. 1 4
      src/styles/custom-component.scss
  2. 4 3
      src/views/disaster/components/Group.vue

+ 1 - 4
src/styles/custom-component.scss

@@ -14,11 +14,8 @@
   border-radius: 8px !important;
   overflow-y: hidden;
   .el-dialog__body {
-    display: flex;
-    flex-direction: column;
-    gap: 10px;
     width: 100%;
-    max-height: calc(60vh - 100px);
+    max-height: calc(60vh - 180px);
     overflow-y: auto;
   }
 }

+ 4 - 3
src/views/disaster/components/Group.vue

@@ -49,7 +49,7 @@
       if (newRefs) {
         Object.keys(newRefs).forEach((key) => {
           const el = newRefs[key];
-          if (el.offsetHeight >= 86) {
+          if (el.offsetHeight >= 76) {
             userGroupInfo.value![Number(key)].isHidden = true;
           }
         });
@@ -74,8 +74,9 @@
   }
   .user-info {
     display: flex;
+    margin-bottom: 10px;
     &.hidden {
-      max-height: 86px;
+      max-height: 76px;
       overflow-y: hidden;
     }
     &.expanded {
@@ -84,7 +85,7 @@
     }
     &--left,
     &--right {
-      margin-top: 20px;
+      margin-top: 10px;
     }
     &--left {
       display: flex;