From b09b821ef36fd1ea979e9a5daa98e95732ac81d5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 16 七月 2025 18:16:00 +0800 Subject: [PATCH] 2025-07-16 --- src/tabviews/custom/components/table/edit-table/normalTable/index.scss | 49 ++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 40 insertions(+), 9 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 52f01f0..cb83614 100644 --- a/src/tabviews/custom/components/table/edit-table/normalTable/index.scss +++ b/src/tabviews/custom/components/table/edit-table/normalTable/index.scss @@ -25,6 +25,35 @@ 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 { max-width: 100%; width: 100%; @@ -166,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; @@ -202,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; @@ -232,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; @@ -294,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; @@ -309,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