Browse Source

Merge commit '5ac9f611bb1953a386cd2cf08125f18fe126953f' into HEAD

gitadmin 3 years ago
parent
commit
223599da39
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/views/common/commonModal.vue

+ 3 - 4
src/views/common/commonModal.vue

@@ -6,6 +6,7 @@
     :maskClosable="false"
     v-model="isShow"
     :title="modalTit"
+    :bodyStyle="{padding: modalTit?'25px 32px 20px':'50px 32px 15px'}"
     @cancle="isShow=false"
     :width="416">
     <a-spin :spinning="spinning" tip="Loading...">
@@ -83,11 +84,9 @@ export default {
 
 <style lang="less">
   .common-modal{
-    .ant-modal-body{
-      padding: 32px 32px 24px;
-    }
     .common-main{
       display: flex;
+      line-height: 20px;
       .common-cont{
         .common-tit{
           color: rgba(0, 0, 0);
@@ -106,7 +105,7 @@ export default {
     }
     .btn-box{
       text-align: right;
-      margin-top: 24px;
+      margin-top: 20px;
     }
   }
 </style>