From a757b75163d77acc5111637fbe20ec61d895a72b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 11 八月 2021 23:15:29 +0800 Subject: [PATCH] 2021-08-11 --- src/pc/components/login/normal-login/index.scss | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 104 insertions(+), 0 deletions(-) diff --git a/src/pc/components/login/normal-login/index.scss b/src/pc/components/login/normal-login/index.scss index 17eeab1..3112f0b 100644 --- a/src/pc/components/login/normal-login/index.scss +++ b/src/pc/components/login/normal-login/index.scss @@ -1,4 +1,5 @@ .login-edit-box { + display: inline-block; position: relative; box-sizing: border-box; background: #ffffff; @@ -28,11 +29,13 @@ background: rgba(255, 255, 255, 0.55); } .login-edit-form { + border-radius: inherit; .ant-form-item { font-size: 16px; margin: 0 15px 15px; .ant-input { height: 35px; + background: transparent; } } button:not(.vercode) { @@ -46,6 +49,74 @@ margin-bottom: 0; } } + .login-way-wrap { + height: 50px; + line-height: 50px; + margin-bottom: 10px; + display: flex; + border-radius: inherit; + .login-way { + flex: 1; + width: 50%; + font-size: 17px; + text-align: center; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + padding: 0 16px; + transition: all 0.3s; + border: 1px solid transparent; + border-top: 0!important; + } + .login-way.active, .login-way:hover { + color: #1890ff; + } + .login-way:not(.active) { + cursor: pointer; + background: #fafafa; + border: 1px solid #e8e8e8; + } + .login-way:first-child { + border-left: 0; + border-top-left-radius: inherit; + } + .login-way:last-child { + border-right: 0; + border-top-right-radius: inherit; + } + } + .login-way-wrap.simple { + .login-way { + font-size: 18px; + text-align: left; + padding: 0 15px; + line-height: 60px; + } + } + .form-scan-wrap { + padding: 30px; + text-align: center; + font-size: 12px; + line-height: 35px; + .qr-wrap { + position: relative; + width: 60%; + padding-top: 60%; + margin: 0 auto; + + .qrcode-box { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + canvas { + width: 100%!important; + height: 100%!important; + } + } + } + } } .login-edit-box::after { display: block; @@ -56,3 +127,36 @@ z-index: 1; box-shadow: 0px 0px 4px #1890ff; } + +.mk-mob-view .login-edit-box { + display: block; + .login-way-wrap.simple { + display: none; + } + .login-way-wrap { + padding: 0 15px; + border-radius: 0; + .login-way { + border: 0; + background: transparent!important; + transition: all 0.3s; + border-bottom: 2px solid transparent; + } + .login-way.active, .login-way:hover { + color: #1890ff; + } + .login-way.active { + border-bottom: 2px solid #1890ff; + } + } + .ant-input { + border: 0; + border-radius: 0; + border-bottom: 1px solid #d9d9d9; + box-shadow: none!important; + } + .ant-input-group-addon { + border: 0; + border-radius: 0; + } +} -- Gitblit v1.8.0