From 6338006e0f85af8d4915abfbe67696b2b17dd6ce Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Thu, 13 May 2021 21:10:19 +0800 Subject: [PATCH] Merge branch 'master' of ssh://dev.zhiheiot.com:29418/mob-components --- forms/form/cForm.scss | 61 ++++++++++++++++++++++++++---- 1 files changed, 52 insertions(+), 9 deletions(-) diff --git a/forms/form/cForm.scss b/forms/form/cForm.scss index 07140a1..fa48852 100644 --- a/forms/form/cForm.scss +++ b/forms/form/cForm.scss @@ -8,26 +8,69 @@ .c-form { width: 100%; .c-form-item { + .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: 24px 32px; + .title { + display: inline; + .icon { + @include flexbox(inline, center center); + margin-top: 4px; + margin-right: 14px; + width: 40px; + min-width: 40px; + height: 40px; + color: transparent; + font-size: 24px; + line-height: 1; + border: 2px solid rgba(97, 144, 232, .2); + border-radius: 50%; + background-color: #fff; + box-sizing: border-box; + transition: all .2s; + &.checked { + color: #fff; + border: none; + background-color: #6190e8; + } + } + .tips { + color: rgb(117, 117, 117); + ; + } + } + .protocol { + display: inline; + color: #2b69de; + 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; } } } -- Gitblit v1.9.1