From b85aa12acad18f3b0ce9d590a87e5f4016ed9b1a Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Mon, 08 Nov 2021 12:04:35 +0800 Subject: [PATCH] 修复增加options的问题 --- forms/form/cForm.scss | 61 +++++++++++++++++++++--------- 1 files changed, 43 insertions(+), 18 deletions(-) diff --git a/forms/form/cForm.scss b/forms/form/cForm.scss index 976150c..9698a87 100644 --- a/forms/form/cForm.scss +++ b/forms/form/cForm.scss @@ -6,31 +6,39 @@ @import "../../common/sassMixin"; .c-form { + display: block; width: 100%; + background-color: #fff; .c-form-item { + .at-input { + background-color: transparent; + } + .at-input__title { + margin-right: 20px; + } .at-input__title--required { position: relative; &::before { - @include position(absolute, 50% -0.5rem n n); + @include position(absolute, 50% -23px n n); transform: translateY(-50%); } } } .c-form-agreement { - padding: 0.512rem 0.68267rem; + padding: 24px 32px; .title { display: inline; .icon { @include flexbox(inline, center center); - margin-top: 0.08533rem; - margin-right: 0.3rem; - width: 0.85333rem; - min-width: 0.85333rem; - height: 0.85333rem; + margin-top: 4px; + margin-right: 14px; + width: 40px; + min-width: 40px; + height: 40px; color: transparent; - font-size: 0.512rem; + font-size: 24px; line-height: 1; - border: 0.04267rem solid rgba(97, 144, 232, .2); + border: 2px solid rgba(97, 144, 232, .2); border-radius: 50%; background-color: #fff; box-sizing: border-box; @@ -49,21 +57,38 @@ .protocol { display: inline; color: #2b69de; - font-size: 0.65rem; + font-size: 30px; } } .c-form-submit { - margin-top: 0.8rem; - padding: 0 0.42667rem; + margin-top: 37px; + padding: 0 20px 30px; [type=primary] { - font-size: 0.7rem; - line-height: 2.2; - border: 1PX solid #1e8ad2; - background: #1e8ad2; + height: 80px; + font-size: 33px; + line-height: 78px; + border: 1PX solid #2093df; + background: #2093df; &:not([disabled]):active { opacity: .6; - border: 1PX solid #1e8ad2; - background: #1e8ad2; + border: 1PX solid #2093df; + background: #2093df; + } + &::after { + display: none; + } + } + &.c-form-submit-fixed { + margin-bottom: 130px; + padding: 0; + .c-form-submit-inner { + @include position(fixed, n 0 0 n, 0); + width: 100%; + } + [type=primary] { + height: 90px; + line-height: 88px; + border-radius: 0; } } } -- Gitblit v1.9.1