diff --git a/f/web-kboss/src/views/login/indexNew.vue b/f/web-kboss/src/views/login/indexNew.vue index 92890a7..80657fd 100644 --- a/f/web-kboss/src/views/login/indexNew.vue +++ b/f/web-kboss/src/views/login/indexNew.vue @@ -1210,10 +1210,186 @@ $dark_gray: #889aa4; } /* 响应式 */ -@media screen and (max-width: 760px) { +@media screen and (max-width: 768px) { + .main-box { + min-height: 100vh; + min-height: 100dvh; + height: auto; + width: 100%; + padding: 92px 18px 24px; + flex-direction: column; + justify-content: flex-start; + align-items: center; + overflow-x: hidden; + overflow-y: auto; + background-position: center top; + box-sizing: border-box; + } + + .conter { + width: 100%; + max-width: 390px; + margin-top: 0; + display: flex; + justify-content: center; + align-items: flex-start; + } + + .left { + display: none; + } + + .right { + width: 100%; + display: flex; + justify-content: center; + } + + .logo-top, + .logo-top1 { + top: 16px; + left: 18px; + object-fit: contain; + z-index: 20; + } + + .logo-top { + width: 132px !important; + height: auto !important; + max-height: 46px; + } + + .logo-top1 { + width: 168px !important; + height: auto !important; + max-height: 52px; + } + .login-form { - width: 90% !important; - padding: 30px 20px; + width: 100%; + max-width: 360px; + margin: 0 auto; + padding: 24px 20px 22px; + border-radius: 18px; + } + + .main-content-box { + margin-top: 0 !important; + } + + .login-text { + margin-bottom: 10px; + font-size: 22px; + } + + .login-mode-tabs, + .two-btn { + width: 100%; + } + + .login-mode-tabs { + margin: 14px 0; + + button { + height: 36px; + font-size: 13px; + } + } + + .login-form-l { + width: 100%; + } + + ::v-deep .login-form-l .el-form-item__content { + width: 100%; + } + + ::v-deep .login-form-l .el-form-item { + width: 100% !important; + margin-bottom: 22px !important; + } + + ::v-deep .login-form-l .el-input__inner { + font-size: 13px; + } + + .login-form-style { + .invitecode { + flex: 1; + width: auto !important; + min-width: 0; + } + } + + .login-form-l > div[style*="display:flex"] { + width: 100%; + } + + .login-btn { + width: 100% !important; + height: 42px; + margin-bottom: 10px !important; + font-size: 15px; + } + + .getCodeStyleNew { + width: 104px; + flex-shrink: 0; + margin-left: 8px !important; + font-size: 12px; + } + + .two-btn { + font-size: 13px; + } + + .forgot-password, + .go-register { + font-size: 13px; + } + + .message-footer { + position: absolute; + right: 16px; + bottom: 14px; + left: 16px; + display: block; + width: auto; + height: auto; + margin: 0 auto; + padding: 0; + color: rgba(0, 0, 0, 0.62); + font-size: 10px; + line-height: 16px; + text-align: center; + + .item { + display: inline; + margin: 0; + } + + span { + display: inline; + margin: 0 5px; + white-space: normal; + } + } +} + +@media screen and (max-width: 375px) { + .main-box { + padding-right: 10px; + padding-left: 10px; + } + + .login-form { + max-width: 340px; + padding: 22px 16px 20px; + } + + .getCodeStyleNew { + width: 92px; + font-size: 11px; } } diff --git a/f/web-kboss/src/views/registrationPage/indexNew.vue b/f/web-kboss/src/views/registrationPage/indexNew.vue index a054c9a..d793b49 100644 --- a/f/web-kboss/src/views/registrationPage/indexNew.vue +++ b/f/web-kboss/src/views/registrationPage/indexNew.vue @@ -41,7 +41,7 @@