From 67036fb0ed31d77ca33b660ce5f9f47c29ae65c0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 03 三月 2024 11:47:46 +0800 Subject: [PATCH] 2024-03-03 --- src/templates/sharecomponent/searchcomponent/index.scss | 96 ++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 85 insertions(+), 11 deletions(-) diff --git a/src/templates/sharecomponent/searchcomponent/index.scss b/src/templates/sharecomponent/searchcomponent/index.scss index fb53173..b82e0a3 100644 --- a/src/templates/sharecomponent/searchcomponent/index.scss +++ b/src/templates/sharecomponent/searchcomponent/index.scss @@ -1,31 +1,60 @@ .model-table-search-list { - padding: 1px 24px 20px; + padding: 16px 24px 20px; min-height: 87px; + position: relative; border-bottom: 1px solid #d9d9d9; - .anticon-question-circle { - color: #c49f47; - position: relative; - left: -15px; - top: 5px; + .quickly-add { + display: none; + } + .switch-field-show { + position: absolute; + z-index: 1; + right: 20px; + bottom: 5px; } > .ant-row { min-height: 65px; + >.ant-col { + padding: 0 12px!important; + } } - .ant-row .ant-col-6 { - padding: 0 12px!important; + + .mk-search-item-wrap { + display: inline-block; + float: none; + vertical-align: top; } - .ant-row.ant-form-item .ant-col { - padding: 0; + .mk-search-item-wrap.action { + .ant-form-item { + white-space: nowrap; + } + .ant-form-item-label, .ant-form-item-control-wrapper { + display: inline-block; + } } + .mk-search-item-wrap.action.hide-button { + span { + text-decoration: line-through #ff4d4f; + } + } + .page-card { position: relative; background: #ffffff; border-radius: 2px; padding-bottom: 15px; + height: 55px; .ant-form-item { margin-bottom: 0px; + .ant-form-item-label { + float: left; + } + label[title=" "]::after, label[title=" "]::after { + display: none; + } .ant-form-item-control-wrapper { + float: left; .ant-select { width: 100%; margin-top: 4px; @@ -41,6 +70,9 @@ font-size: 13px; } } + .ant-form-explain { + display: none; + } } >div::after { display: block; @@ -55,7 +87,7 @@ z-index: 2; } } - .page-card.false { + .page-card.label-hide { .ant-form-item-label { display: none; } @@ -63,8 +95,50 @@ width: 100%; } } + .page-card.checkcard { + .ant-form-item-control-wrapper { + .ant-form-item-control { + line-height: 1; + } + } + } + .page-card.range-wrap { + .ant-form-item-control-wrapper { + .ant-form-item-control { + .ant-form-item-children { + display: flex; + .ant-input:first-child { + margin-right: 5px; + } + .ant-input:last-child { + margin-left: 5px; + } + } + } + } + } + .page-card.advanced { + .ant-form-item-label label { + color: orange; + } + } + .page-card.no-query { + .ant-form-explain { + color: #13c2c2; + } + } .ant-calendar-picker { min-width: 100px!important; width: 100%; } + .check-card-edit-box { + margin-top: 5px!important; + } +} +.model-table-search-list.show-field { + .page-card { + .ant-form-explain { + display: block; + } + } } \ No newline at end of file -- Gitblit v1.8.0