Ver código fonte

fix: BsUi-修改基础表格样式

hanxiaohui 4 meses atrás
pai
commit
919b0d9e93

+ 3 - 3
src/components/BsUi/Table/Table.vue

@@ -180,10 +180,10 @@
       width: 100%;
       background: #fff;
       .top-top {
-        padding: 10px 20px;
+        padding: 10px;
       }
       .top-bottom {
-        padding: 0 20px 10px 20px;
+        padding: 0 10px 10px 10px;
         background: white;
         display: flex;
         align-items: center;
@@ -227,7 +227,7 @@
     :deep(.vxe-grid--table-container) {
       background: white;
       //border-radius: 0 0 10px 10px;
-      padding: 0 20px 20px 20px;
+      padding: 0 10px 10px 10px;
     }
 
     .empty {

+ 1 - 1
src/components/BsUi/Table/component/search/index.vue

@@ -83,7 +83,7 @@
     width: 100%;
     //padding-bottom: 10px;
     :deep(.ant-card-body) {
-      padding: 10px 20px;
+      padding: 10px;
       border-radius: 8px 8px 0 0;
       background: white;
     }

+ 1 - 1
src/components/BsUi/Table/index.js

@@ -27,7 +27,7 @@ export const useBsTable = (options, tableRef) => {
       border: 'full',
       showHeaderOverflow: true,
       showOverflow: true,
-      stripe: true,
+      stripe: false,
       round: true,
       cellConfig: {
         height: '40px',