Browse Source

自适应显示

wangwei 4 years ago
parent
commit
006e2aab10

+ 2 - 0
src/views/member/member/customCom/person/index.vue

@@ -123,7 +123,9 @@
   }
   @media (max-width: 639px) {
     .sys-container .vben-basic-table-header__toolbar > * {
+      padding: 6px !important;
       margin-right: 3px;
+      font-size: 12px !important;
     }
 
     .sys-container .vben-basic-table .ant-table-wrapper {

+ 9 - 1
src/views/member/member/customCom/popup.vue

@@ -1,5 +1,13 @@
 <template>
-  <BasicModal width="800px" v-bind="$attrs" @register="register" @ok="confirm" :title="title">
+  <BasicModal
+    :showCancelBtn="false"
+    :showOkBtn="false"
+    width="800px"
+    v-bind="$attrs"
+    @register="register"
+    :title="title"
+    helpMessage="点击最右侧选择按钮"
+  >
     <Person v-if="title === '添加个人'" @select="select" />
     <Unit v-if="title === '添加单位'" @select="select" />
   </BasicModal>

+ 2 - 0
src/views/member/member/customCom/unit/index.vue

@@ -123,7 +123,9 @@
   }
   @media (max-width: 639px) {
     .sys-container .vben-basic-table-header__toolbar > * {
+      padding: 6px !important;
       margin-right: 3px;
+      font-size: 12px !important;
     }
 
     .sys-container .vben-basic-table .ant-table-wrapper {

+ 2 - 0
src/views/member/member/index.vue

@@ -265,7 +265,9 @@
   }
   @media (max-width: 639px) {
     .sys-container .vben-basic-table-header__toolbar > * {
+      padding: 6px !important;
       margin-right: 3px;
+      font-size: 12px !important;
     }
 
     .sys-container .vben-basic-table .ant-table-wrapper {

+ 2 - 0
src/views/member/person/index.vue

@@ -266,7 +266,9 @@
   }
   @media (max-width: 639px) {
     .sys-container .vben-basic-table-header__toolbar > * {
+      padding: 6px !important;
       margin-right: 3px;
+      font-size: 12px !important;
     }
 
     .sys-container .vben-basic-table .ant-table-wrapper {

+ 2 - 0
src/views/member/unit/index.vue

@@ -289,7 +289,9 @@
   }
   @media (max-width: 639px) {
     .sys-container .vben-basic-table-header__toolbar > * {
+      padding: 6px !important;
       margin-right: 3px;
+      font-size: 12px !important;
     }
 
     .sys-container .vben-basic-table .ant-table-wrapper {