From e1cee96b38805bcccf48e7bcb9d296f2bc54c720 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 24 一月 2025 11:10:32 +0800 Subject: [PATCH] 2025-01-24 --- src/tabviews/custom/components/table/normal-table/index.scss | 245 ++++-------------------------------------------- 1 files changed, 21 insertions(+), 224 deletions(-) diff --git a/src/tabviews/custom/components/table/normal-table/index.scss b/src/tabviews/custom/components/table/normal-table/index.scss index 3d3f54b..30ecedf 100644 --- a/src/tabviews/custom/components/table/normal-table/index.scss +++ b/src/tabviews/custom/components/table/normal-table/index.scss @@ -1,237 +1,34 @@ -.commontable { +.custom-normal-table { position: relative; - min-height: calc(100vh - 94px); - padding-top: 16px; - padding-bottom: 80px; - .box404 { - padding-top: 30px; + background-color: #fff; + + .normal-header { + margin-bottom: 10px; } - .commontable-main-action { - min-height: 25px; - .button-list { - padding-right: 110px; - } + .mk-search-wrap { + border-bottom: 1px solid #efefef; + padding-top: 10px; } - .ant-modal-mask { - position: absolute; + .button-list.toolbar-button { + padding-right: 60px; } - .ant-modal-wrap { - position: absolute; - } - .action-modal .ant-modal { - top: 40px; - max-width: 95%; - .ant-modal-body { - max-height: calc(100vh - 265px); - } - } - > .ant-spin { - position: absolute; - z-index: 10; - left: calc(50% - 22px); - top: calc(50vh - 70px); - } - > .ant-card { - margin: 0 20px 20px; - > .ant-card-head { + .ant-collapse { + background-color: transparent; + border-radius: 0px; + > .ant-collapse-item { border: 0; - padding: 0; - min-height: 30px; - .ant-card-head-title { - padding: 10px 0 0; - span { - color: #1890ff; - display: inline-block; - padding: 0 10px; - font-size: 15px; - border-bottom: 1px solid #1890ff; - i { - margin-right: 10px; - } + >.ant-collapse-header { + padding: 0; + .normal-header { + padding-right: 40px; } } } - > .ant-card-body { - padding: 0; - } - } - .main-table-box { - position: relative; - .main-pickup { - position: absolute; - right: 35px; - top: -22px; - z-index: 1; - } - .custom-control { - position: absolute; - z-index: 1; - right: 0px; - top: -23px; - font-size: 18px; - padding: 3px; - cursor: pointer; - } - >.async-spin { - line-height: 150px!important; - } - } - > .ant-tabs { - width: 100%; - padding: 0px 20px; - margin-bottom: 20px; - .ant-tabs-tab:not(.ant-tabs-tab-active) { - cursor: pointer; - } - .ant-tabs-tab.ant-tabs-tab-active { - cursor: default; - } - } - .common-table-copy { - position: fixed; - z-index: 2; - bottom: 65px; - right: 30px; - width: 40px; - height: 40px; - } - .ant-table-fixed-left, .ant-table-fixed-right { - z-index: 1; - } - > .chart-view { - position: relative; - padding: 0 20px; - >.ant-tabs { - .ant-tabs-bar { - position: relative; - z-index: 1; - margin: 0; - border: 0; - .ant-tabs-nav-scroll { - text-align: right; - padding-right: 20px; - .ant-tabs-ink-bar { - display: none!important; - } - .ant-tabs-tab { - padding: 6px 5px; - margin-right: 5px; - } - } - } - } - >.ant-col { - min-height: 100px; - } - >.card-view.ant-col-24 { - padding: 0!important; - .card-row-box { + .ant-collapse-item:last-child > .ant-collapse-content { + border-radius: 0; + .ant-collapse-content-box { padding: 0; } - } - .chart-title { - position: relative; - color: rgba(0, 0, 0, 0.65); - font-weight: 400; - font-size: 16px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - margin: 0px; - padding: 5px 10px; - float: left; - max-width: 50%; - } - .chart-table.chart-title { - position: absolute; - top: 0px; - } - .canvas { - clear: both; - } - } -} - -.menu-tree-modal { - .ant-modal-body { - min-height: 300px; - .menu-header { - text-align: center; - span { - font-weight: 600; - margin-right: 20px; - } - .ant-typography { - font-weight: 600; - display: inline-block; - } - } - .ant-tree li .ant-tree-node-content-wrapper { - cursor: default; - } - } -} - -.commontable.bg-gray { - background: #f0f2f5; - >.top-search { - background: #ffffff; - padding: 10px 10px; - margin: 0 20px; - } - .chart-view { - margin-bottom: 20px; - .ant-col:last-child { - .line-chart-plot-box { - margin-bottom: 0px; - } - .card-row-box { - margin-bottom: 0px; - } - .normal-data-table { - margin-bottom: 0px; - } - } - >.ant-col { - min-height: 50px; - } - } - .line-chart-plot-box { - background: #ffffff; - padding: 10px; - margin-bottom: 20px; - } - .card-row-box { - min-height: 130px; - background: #ffffff; - padding-bottom: 10px; - margin-bottom: 20px; - } - .commontable-main-action { - padding: 0 10px; - background: #ffffff; - } - .normal-data-table { - padding: 0 10px 10px; - margin-bottom: 20px; - background: #ffffff; - } - .main-pickup { - right: 45px; - } - .custom-control { - right: 10px; - } - > .ant-tabs { - margin: 0px 20px 20px; - padding: 0px; - width: calc(100% - 40px); - background: #ffffff; - .top-search { - padding: 0 10px 10px; - } - .button-list.toolbar-button { - padding: 15px 10px 5px; } } } \ No newline at end of file -- Gitblit v1.8.0