From cb9ade2afd2a367ad767bc605ab7086c695dd010 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 09 十二月 2022 15:53:32 +0800 Subject: [PATCH] 2022-12-09 --- src/tabviews/custom/components/table/edit-table/normalTable/index.scss | 38 +++++++++++++++++++++++++++----------- 1 files changed, 27 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 9e0ddc1..971228d 100644 --- a/src/tabviews/custom/components/table/edit-table/normalTable/index.scss +++ b/src/tabviews/custom/components/table/edit-table/normalTable/index.scss @@ -2,6 +2,10 @@ position: relative; min-height: 150px; padding: 0px; + --mk-table-border-color: #e8e8e8; + --mk-table-color: rgba(0, 0, 0, 0.65); + --mk-table-font-size: 14px; + --mk-table-font-weight: normal; .normal-table-footer { padding: 10px 0px; @@ -24,6 +28,7 @@ bottom: 2px; right: 5px; opacity: 0.7; + font-size: 14px; } table { @@ -68,15 +73,6 @@ .card-cell-list { color: rgba(0, 0, 0, 0.85); - } - .ant-mk-picture { - position: relative; - background-position: center center; - background-size: cover; - margin: 2px; - } - .ant-mk-picture.scale { - cursor: zoom-in; } .action-col { .ant-btn > .anticon + span { @@ -151,7 +147,7 @@ left: 0px; right: 0px; bottom: 0px; - border: 1px solid var(--antd-wave-shadow-color); + border: 1px solid var(--mk-sys-color); height: auto; border-radius: 0; box-shadow: none!important; @@ -191,7 +187,7 @@ left: 0px; right: 0px; bottom: 0px; - border: 1px solid var(--antd-wave-shadow-color); + border: 1px solid var(--mk-sys-color); } } .anticon-exclamation-circle { @@ -290,6 +286,26 @@ margin-top: 10px!important; margin-right: 10px!important; } + + table, tr, th, td { + border-color: var(--mk-table-border-color)!important; + } + table tr { + th .ant-table-column-title, th .ant-table-column-title span:not(.anticon) { + // color: var(--mk-table-color)!important; + font-size: var(--mk-table-font-size)!important; + font-weight: var(--mk-table-font-weight)!important; + } + td { + color: var(--mk-table-color)!important; + font-size: var(--mk-table-font-size)!important; + font-weight: var(--mk-table-font-weight)!important; + + >span, >div:not(.card-cell-list) div, >div:not(.card-cell-list) span { + font-weight: var(--mk-table-font-weight)!important; + } + } + } } .edit-custom-table.buoyMode { .ant-table-scroll { -- Gitblit v1.8.0