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/menu/components/share/searchcomponent/index.scss | 46 ++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 42 insertions(+), 4 deletions(-) diff --git a/src/menu/components/share/searchcomponent/index.scss b/src/menu/components/share/searchcomponent/index.scss index 8751690..48586a9 100644 --- a/src/menu/components/share/searchcomponent/index.scss +++ b/src/menu/components/share/searchcomponent/index.scss @@ -1,16 +1,20 @@ .model-custom-header-search-list { padding: 0px; - .ant-row .ant-col { - float: right; - padding: 0 6px; + >.ant-row { + text-align: right; + >.ant-col { + display: inline-block; + float: none; + padding: 0 6px; + text-align: left; + } } .page-card { position: relative; border-radius: 2px; height: 45px; - padding-top: 8px; .ant-form-item { position: relative; cursor: move; @@ -26,6 +30,9 @@ .ant-input { height: 28px; } + .ant-btn { + height: 28px; + } .data-range .ant-calendar-picker-input { padding: 4px 20px 4px 5px; font-size: 13px; @@ -37,6 +44,7 @@ } } .ant-form-item::after { + display: block; content: ' '; position: absolute; top: 0; @@ -46,6 +54,36 @@ opacity: 0; z-index: 2; } + .ant-form-item-label { + float: left; + } + .ant-form-item-control-wrapper { + float: left; + } + } + .page-card.range-wrap { + .ant-form-item-control-wrapper { + .ant-form-item-control { + .ant-form-item-children { + display: flex; + line-height: 40px; + .ant-input:first-child { + margin-right: 5px; + } + .ant-input:last-child { + margin-left: 5px; + } + } + } + } + } + .page-card.false { + .ant-form-item-label { + display: none; + } + .ant-form-item-control-wrapper { + width: 100%; + } } .ant-calendar-picker { min-width: 100px!important; -- Gitblit v1.8.0