浏览代码

修改性情页的样式间距

wangfumin 3 月之前
父节点
当前提交
3a3846996f
共有 2 个文件被更改,包括 5 次插入4 次删除
  1. 2 3
      src/app/fire/view/dispatch/fireDetails.vue
  2. 3 1
      src/view/case/newCaseFile.vue

+ 2 - 3
src/app/fire/view/dispatch/fireDetails.vue

@@ -237,9 +237,8 @@ const currentMenu = computed(() => {
     .content-placeholder {
       text-align: center;
       background: #fff;
-      padding: 20px;
-      height: calc(100% - 40px);
-      overflow: auto;
+      padding: 16px;
+      height: calc(100% - 34px);
     }
   }
 }

+ 3 - 1
src/view/case/newCaseFile.vue

@@ -36,6 +36,7 @@
 
       <el-table
         :data="files"
+        class="table-list"
         tooltip-effect="dark"
         style="width: 100%"
         size="large"
@@ -264,7 +265,7 @@ onUnmounted(() => {
 .new-body-layer {
   background: transparent;
   padding-left: 0;
-  height: 100%;
+  height: calc(100% - 10px);
   :deep(.photo) {
     .left{
       padding-left: 24px;
@@ -282,3 +283,4 @@ onUnmounted(() => {
   margin-left: 10px;
 }
 </style>
+