Ver código fonte

style: 调整Tracking页各部分批量下载高度

Jack Zhou 3 semanas atrás
pai
commit
9afaeff5bc

+ 5 - 4
src/views/Tracking/src/components/DownloadAttachment/src/DownloadAttachment.vue

@@ -387,7 +387,7 @@ const handleDownloadAllSelectedFiles = (label?: string) => {
   :deep(.el-checkbox__inner) {
     &::after {
       top: 1px;
-      left: 4.5px;
+      left: 4px;
       height: 9px;
       width: 4px;
       border-width: 2px;
@@ -397,11 +397,9 @@ const handleDownloadAllSelectedFiles = (label?: string) => {
     width: 340px;
     height: 100%;
     border: 1px solid var(--color-border);
-    margin-left: 24px;
     min-height: 400px;
     background-color: var(--color-attchment-summary-bg);
     .empty-file-data {
-      height: calc(100% - 4px);
       padding-top: 68px;
       text-align: center;
     }
@@ -427,6 +425,7 @@ const handleDownloadAllSelectedFiles = (label?: string) => {
     grid-template-rows: 320px;
     gap: 8px;
     padding-bottom: 36px;
+    padding-right: 24px;
     height: calc(100% - 64px);
     overflow: auto;
     :deep(.el-checkbox__label) {
@@ -534,8 +533,9 @@ const handleDownloadAllSelectedFiles = (label?: string) => {
     border-bottom: 1px solid var(--color-border);
   }
   .summary-content {
-    height: calc(100% - 84px);
+    height: calc(100% - 64px);
     padding: 16px 8px;
+    padding-bottom: 20px;
     overflow: auto;
   }
 
@@ -580,6 +580,7 @@ const handleDownloadAllSelectedFiles = (label?: string) => {
       line-height: 18px;
       text-align: center;
       span {
+        height: 17px;
         color: var(--color-white);
         font-weight: 700;
       }