From a837624af068cb3a3455f66d9932fc1509e37b25 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 10 六月 2025 23:37:34 +0800 Subject: [PATCH] 2025-06-10 --- src/menu/components/table/normal-table/index.scss | 115 +++++++++++++++++++++++++++++---------------------------- 1 files changed, 58 insertions(+), 57 deletions(-) diff --git a/src/menu/components/table/normal-table/index.scss b/src/menu/components/table/normal-table/index.scss index 6ca24a0..b2dca75 100644 --- a/src/menu/components/table/normal-table/index.scss +++ b/src/menu/components/table/normal-table/index.scss @@ -7,36 +7,58 @@ background-size: cover; min-height: 100px; - .table-header { - position: relative; - height: 45px; - overflow: hidden; - padding-right: 35px; - - .table-title { - text-decoration: inherit; - font-weight: inherit; - font-style: inherit; - float: left; - line-height: 45px; - margin-left: 10px; - position: relative; - z-index: 1; + .model-table-search-list { + padding: 10px 0px 15px; + min-height: 65px; + border-bottom: 1px solid #f0f0f0; + .page-card { + background: transparent; + } + .quickly-add { + display: inline-block; + position: absolute; + z-index: 3; + right: 70px; + bottom: 5px; + .ant-btn-block { + background-color: transparent; + color: #1890ff; + border: none; + box-shadow: none !important; + height: 18px; + padding: 0 10px; + } } } - .card-control { - position: absolute; - top: 0px; - left: 0px; - .anticon-tool { - right: auto; - left: 1px; - padding: 1px; + .model-table-search-list.length0 { + min-height: 10px; + border-bottom: 0; + >.quickly-add { + right: unset; + left: -8px; + bottom: 0; } + >.ant-row { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + min-height: 10px; + .common-drawarea-placeholder { + display: none; + } + } + >.ant-switch { + display: none; + } + } + .model-table-search-list.length0 + .length0 { + margin-top: -25px; } .anticon-tool { position: absolute; - z-index: 1; + z-index: 2; font-size: 16px; right: 1px; top: 1px; @@ -44,42 +66,20 @@ padding: 5px; background: rgba(255, 255, 255, 0.55); } - - .card-item { - overflow-y: hidden; - position: relative; - background-position: center center; - background-repeat: no-repeat; - background-size: cover; - min-height: 20px; - } - - .card-item:hover { - box-shadow: 0px 0px 2px #e8e8e8; - } - - .model-menu-card-cell-list .card-detail-row > .anticon-plus { - position: absolute; - right: -30px; - font-size: 16px; - } .model-menu-action-list { line-height: 40px; - .ant-row > .anticon-plus { - position: absolute; - right: -30px; - font-size: 16px; + padding: 0px 180px 0px 0px; + >.ant-row { + padding-top: 10px; + min-height: 55px; + } + button { + min-width: 60px; } } - .card-add-button { - text-align: right; - clear: left; - .anticon-plus { - font-size: 20px; - color: #26C281; - padding: 5px; - margin-right: 10px; - } + + .ant-btn.mk-link { + padding: 0; } } .menu-normal-table-edit-box::after { @@ -88,5 +88,6 @@ clear: both; } .menu-normal-table-edit-box:hover { - box-shadow: 0px 0px 2px #e8e8e8; + z-index: 1; + box-shadow: 0px 0px 4px #1890ff; } -- Gitblit v1.8.0