From 24842b40de5cd60700bf69dfd38a0332f5431e36 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 23 五月 2025 10:55:07 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/tabviews/custom/components/table/edit-table/normalTable/index.scss |  120 +++++++++++++++++++++++++++---------------------------------
 1 files changed, 54 insertions(+), 66 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 873f7e7..1573c0b 100644
--- a/src/tabviews/custom/components/table/edit-table/normalTable/index.scss
+++ b/src/tabviews/custom/components/table/edit-table/normalTable/index.scss
@@ -7,9 +7,11 @@
   --mk-table-font-size: 14px;
   --mk-table-font-weight: normal;
 
-  >.ant-table-wrapper {
+  .ant-table-wrapper {
     position: relative;
-    z-index: 1;
+  }
+  .ant-table-placeholder {
+    border-top-color: var(--mk-table-border-color);
   }
   .ant-table {
     color: inherit;
@@ -65,69 +67,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 +156,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;
@@ -220,6 +199,10 @@
         text-align: inherit;
       }
     }
+    .ant-calendar-picker {
+      display: block;
+      height: 30px;
+    }
     .has-error, .has-error .ant-input-number-input {
       border-color: #ff4d4f!important;
     }
@@ -249,6 +232,14 @@
   }
   .ant-table-small.ant-table-bordered {
     border-right: 1px solid #e8e8e8;
+
+    .ant-table-content {
+      border-radius: inherit;
+
+      .ant-table-scroll {
+        border-radius: inherit;
+      }
+    }
   }
   table, tr, th, td, .ant-table-small {
     border-color: var(--mk-table-border-color)!important;
@@ -285,6 +276,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 {
     min-height: 32px;
@@ -306,7 +302,7 @@
     background-color: #fafafa!important;
   }
 }
-.edit-custom-table:not(.fixed-height) {
+.edit-custom-table:not(.fixed-table-height) {
   .ant-table-body::-webkit-scrollbar {
     width: 8px;
     height: 10px;
@@ -321,14 +317,6 @@
     border-radius: 3px;
     border: 1px solid rgba(0, 0, 0, 0.07);
     background: rgba(0, 0, 0, 0);
-  }
-}
-.edit-custom-table.fixed-height {
-  .ant-table-body {
-    border-bottom: 1px solid rgba(0, 0, 0, .05);
-    .ant-table-fixed {
-      border-bottom: 0;
-    }
   }
 }
 .edit-custom-table.hidden {

--
Gitblit v1.8.0