From e659867fb59ad88f121d446e56df53389d88960d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 03 四月 2023 12:09:35 +0800 Subject: [PATCH] 2023-04-03 --- src/mob/components/formdragelement/index.scss | 65 ++++++++++++++++++++++++++++++++ 1 files changed, 65 insertions(+), 0 deletions(-) diff --git a/src/mob/components/formdragelement/index.scss b/src/mob/components/formdragelement/index.scss index 436e4e2..5aeda26 100644 --- a/src/mob/components/formdragelement/index.scss +++ b/src/mob/components/formdragelement/index.scss @@ -88,6 +88,14 @@ } } } + .am-list-item:not(.up_down) { + .am-list-line { + .am-input-label { + width: 28%; + max-width: 120px; + } + } + } .am-list-item.up_down { height: auto; .am-list-line { @@ -107,6 +115,31 @@ } } } + .am-list-item.picker:not(.up_down) { + .am-list-line { + .am-input-control { + padding-right: 0px; + } + } + } + .am-list-item.up_down.picker { + .am-list-line { + .am-input-control { + line-height: 40px; + padding-right: 20px; + } + .am-list-extra { + top: auto; + right: 10px; + bottom: 13px; + } + } + } + .ant-form-item.actived { + .am-input-label { + color: #1890ff; + } + } .am-list-item.check-card { height: auto; .am-list-line { @@ -117,6 +150,16 @@ } .am-input-label { width: auto; + } + } + } + .am-list-item.check-card.left_right { + .am-list-line { + display: flex; + .am-input-label { + width: 28%; + max-width: 120px; + line-height: 1; } } } @@ -225,6 +268,17 @@ } } } + .am-list-item.checkbox.left_right { + .am-list-line { + display: flex; + .ant-checkbox-group { + float: right; + } + .am-input-control { + padding-right: 0px; + } + } + } .am-list-item.checkbox.mk-radio { .ant-checkbox-inner { border-radius: 50%; @@ -302,6 +356,17 @@ content: '*'; } } + .ant-form-item:not(.required) { + .am-input-label::before { + display: inline-block; + margin-right: 4px; + color: transparent; + font-size: 14px; + font-family: SimSun, sans-serif; + line-height: 1; + content: '*'; + } + } .ant-form-item.no-boder { .am-list-line { border-bottom: none; -- Gitblit v1.8.0