From 8f78c97ffcde201e2a4d1ffa7ccb97a13f0f045d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 18 四月 2024 15:34:15 +0800
Subject: [PATCH] 2024-04-18

---
 src/tabviews/custom/components/table/edit-table/normalTable/index.scss |  125 +++++++++++++++++++++++------------------
 1 files changed, 69 insertions(+), 56 deletions(-)

diff --git a/src/tabviews/custom/components/table/edit-table/normalTable/index.scss b/src/tabviews/custom/components/table/edit-table/normalTable/index.scss
index 3bdf335..1fdde89 100644
--- a/src/tabviews/custom/components/table/edit-table/normalTable/index.scss
+++ b/src/tabviews/custom/components/table/edit-table/normalTable/index.scss
@@ -9,7 +9,10 @@
 
   >.ant-table-wrapper {
     position: relative;
-    z-index: 1;
+    // z-index: 1;
+  }
+  .ant-table-placeholder {
+    border-top-color: var(--mk-table-border-color);
   }
   .ant-table {
     color: inherit;
@@ -65,69 +68,37 @@
 
         .card-cell-list {
           color: inherit;
-        }
-        .action-col {
-          .ant-btn > .anticon + span {
-            margin-left: 3px;
-          }
-          button {
-            border: 0;
-            background-color: transparent;
-            color: #1890ff;
-            box-shadow: none;
-            padding: 0 5px;
-            .anticon-loading {
-              display: none;
-            }
-          }
-          > div {
-            margin: 0 3px;
-          }
-          > button {
-            margin: 0 3px;
-          }
-          .ant-btn.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only) {
-            padding-left: 0px;
-          }
+          overflow: hidden;
         }
       }
       .ant-table-tbody > tr > td[rowspan] {
         vertical-align: middle;
       }
-      .ant-table-tbody > tr > td.ant-table-column-has-actions {
-        .content {
-          position: relative;
-          z-index: 1;
-          word-wrap: break-word;
-          word-break: break-word;
-        }
-      }
+      // .ant-table-tbody > tr > td.ant-table-column-has-actions {
+      //   .content {
+      //     position: relative;
+      //     z-index: 1;
+      //     word-wrap: break-word;
+      //     word-break: break-word;
+      //   }
+      // }
       .ant-table-tbody > tr > td {
         position: relative;
-        .link-menu {
-          position: absolute;
-          top: 0px;
-          left: 0px;
-          right: 0px;
-          bottom: 0px;
-          opacity: 0;
-          cursor: pointer;
-        }
       }
-      .ant-table-tbody > tr > td .content {
-        p {
-          margin-bottom: 2px;
-        }
-        span {
-          display: inline-block;
-          margin-right: 5px;
-        }
-      }
-      .ant-table-tbody > tr > td .button {
-        .ant-btn {
-          margin-bottom: 10px;
-        }
-      }
+      // .ant-table-tbody > tr > td .content {
+      //   p {
+      //     margin-bottom: 2px;
+      //   }
+      //   span {
+      //     display: inline-block;
+      //     margin-right: 5px;
+      //   }
+      // }
+      // .ant-table-tbody > tr > td .button {
+      //   .ant-btn {
+      //     margin-bottom: 10px;
+      //   }
+      // }
     }
   }
 
@@ -186,7 +157,16 @@
         right: 0px;
         bottom: 0px;
         border: 1px solid var(--mk-sys-color);
+        background: #ffffff;
       }
+    }
+    .ant-calendar-picker {
+      display: block;
+      position: absolute;
+      top: 0px;
+      left: 0px;
+      right: 0px;
+      bottom: 0px;
     }
     .has-error, .has-error .ant-input-number-input {
       border-color: #ff4d4f!important;
@@ -219,6 +199,10 @@
         padding: 4px 5px;
         text-align: inherit;
       }
+    }
+    .ant-calendar-picker {
+      display: block;
+      height: 30px;
     }
     .has-error, .has-error .ant-input-number-input {
       border-color: #ff4d4f!important;
@@ -254,6 +238,9 @@
     border-color: var(--mk-table-border-color)!important;
   }
   table tr {
+    th .ant-table-column-title {
+      position: unset!important;
+    }
     th .ant-table-column-title, th .ant-table-column-title span:not(.anticon) {
       font-size: var(--mk-table-font-size)!important;
       font-weight: var(--mk-table-font-weight)!important;
@@ -281,6 +268,11 @@
   //     }
   //   }
   // }
+}
+.edit-custom-table.mk-parity {
+  .ant-table-tbody tr:nth-child(even) {
+    background: #fafafa;
+  }
 }
 .edit-custom-table.mk-edit-simple {
   table tbody tr td {
@@ -398,3 +390,24 @@
     margin-bottom: 10px!important;
   }
 }
+.mk-user-confirm {
+  top: 30vh;
+
+  .ant-modal-body {
+    font-size: 16px;
+  }
+  .anticon-question-circle {
+    color: orange;
+    font-size: 16px;
+    margin-right: 5px;
+  }
+  .ant-modal-footer {
+    border-top: 0px;
+    padding: 10px 20px 25px 0px;
+    .table-refresh, .table-refresh:hover, .table-refresh:active, .table-refresh:focus {
+      color: #fff!important;
+      background-color: #ff4d4f!important;
+      border-color: #ff4d4f!important;
+    }
+  }
+}
\ No newline at end of file

--
Gitblit v1.8.0