From 80deba0c2dcffd9e6b6f07815c7c52199309ce42 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 23 六月 2025 17:36:03 +0800 Subject: [PATCH] 2025-06-23 --- src/tabviews/custom/components/table/edit-table/normalTable/index.scss | 52 +++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 41 insertions(+), 11 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 1fdde89..cb83614 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,8 @@ --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); @@ -24,6 +23,35 @@ right: 3px; opacity: 0.5; font-size: 10px; + } + + .mk-disabled { + .ant-table-selection-column { + .ant-checkbox-wrapper { + cursor: not-allowed; + + .ant-checkbox-inner { + cursor: not-allowed; + background-color: #fff!important; + border-color: #d9d9d9!important; + } + input { + cursor: not-allowed; + } + } + .ant-radio-wrapper { + cursor: not-allowed; + + .ant-radio-inner { + cursor: not-allowed; + background-color: #fff!important; + border-color: #d9d9d9!important; + } + input { + cursor: not-allowed; + } + } + } } table { @@ -167,6 +195,7 @@ left: 0px; right: 0px; bottom: 0px; + min-width: auto!important; } .has-error, .has-error .ant-input-number-input { border-color: #ff4d4f!important; @@ -203,6 +232,7 @@ .ant-calendar-picker { display: block; height: 30px; + min-width: auto!important; } .has-error, .has-error .ant-input-number-input { border-color: #ff4d4f!important; @@ -233,6 +263,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; @@ -295,7 +333,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; @@ -310,14 +348,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