From 12d96556919c652c9592e9e215c01f1ac58b7eb5 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Tue, 30 Nov 2021 17:41:32 +0800 Subject: [PATCH] 本地数据缓存,增加默认识别标记 --- forms/form/cForm.scss | 84 +++++++++++++++++++++++++++++++++++++---- 1 files changed, 75 insertions(+), 9 deletions(-) diff --git a/forms/form/cForm.scss b/forms/form/cForm.scss index 07140a1..1df4dfb 100644 --- a/forms/form/cForm.scss +++ b/forms/form/cForm.scss @@ -6,28 +6,94 @@ @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: 24px 32px; + .title { + display: inline; + .icon { + display: inline-block; + margin-right: 14px; + width: 40px; + height: 40px; + vertical-align: middle; + text-align: center; + line-height: 36px; + color: transparent; + 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; + } + .at-icon { + font-size: 24px; + line-height: 1; + } + } + .tips { + vertical-align: middle; + color: rgb(117, 117, 117); + ; + } + } + .protocol { + display: inline; + color: #2093df; + font-size: 36px; + vertical-align: middle; + } + } .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: 90px; + font-size: 36px; + line-height: 88px; + 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: -3px 0 140px; + padding: 1px 0 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