From dcf9c9e0410fe1186239e3f8d6f7bdc789c08010 Mon Sep 17 00:00:00 2001 From: lzhe <lzhe@example.com> Date: 星期三, 05 六月 2024 18:00:39 +0800 Subject: [PATCH] 1 --- src/views/login/index.vue | 118 ++++++++++++++++++++++++++++------------------------------- 1 files changed, 56 insertions(+), 62 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index cd988fc..3cc1203 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -1,17 +1,17 @@ <template> <div class="login_bg"> - <div class="login_adv" style="background-image: url(img/auth_banner.jpg);"> - <div class="login_log"> - <img src="./loginlog.png" /> - </div> - <div class="login_adv__bottom">漏 {{$CONFIG.APP_NAME}}</div> - </div> - <div class="login_main"> - <div class="login-form"> - <div class="title-name">鍗忓悓鍒堕�犵鐞嗙郴缁�</div> - <password-form></password-form> - </div> - </div> + <div class="login_adv" style="background-image: url(img/bg-login.fb434d90.jpg);"> + <div class="login_adv__bottom"> + 漏 {{$CONFIG.APP_NAME}} + </div> + </div> + <div class="login_main"> + <div class="login-form" style="margin-top: 26px;"> + <!-- <div class="title-name">鍒堕�犱俊鎭鐞嗙郴缁�</div> --> + <div class="title-name" style="background-image: url(img/20240414142903.png);"></div> + <password-form style="margin-top:25px;"></password-form> + </div> + </div> </div> </template> @@ -65,7 +65,6 @@ this.$store.commit("clearViewTags") this.$store.commit("clearKeepLive") this.$store.commit("clearIframeList") - console.log('%c SCUI %c Gitee: https://gitee.com/lolicode/scui', 'background:#666;color:#fff;border-radius:3px;', '') }, methods: { configDark(){ @@ -80,53 +79,48 @@ <style scoped> .login_bg {width: 100%;height: 100%;background: #fff;display: flex;} - .login_adv {width: 33.3%;background-color: #555;background-size: cover;background-position: center center;background-repeat: no-repeat;position: relative;} - .login_adv .login_log {text-align: center;} - .login_adv .login_log img {width:80%;padding-top:40%;} - .login_adv__title {color: #fff;padding: 40px;position: absolute;top:0px;left:0px;right: 0px;z-index: 2;} - .login_adv__title h2 {font-size: 40px;} - .login_adv__title h4 {font-size: 18px;margin-top: 10px;font-weight: normal;} - .login_adv__title p {font-size: 14px;margin-top:10px;line-height: 1.8;color: rgba(255,255,255,0.6);} - .login_adv__title div {margin-top: 10px;display: flex;align-items: center;} - .login_adv__title div span {margin-right: 15px;} - .login_adv__title div i {font-size: 40px;} - .login_adv__title div i.add {font-size: 20px;color: rgba(255,255,255,0.6);} - .login_adv__bottom {position: absolute;left:0px;right: 0px;bottom: 0px;color: #fff;padding: 40px;background-image:linear-gradient(transparent, #000);z-index: 3;} - .login_adv__mask {position: absolute;top:0px;left:0px;right: 0px;bottom: 0px;background: rgba(0,0,0,0.5);z-index: 1;} - - .login_main {display: flex;flex: 1;align-items: center;background: #fff;text-align: center;} - .login-form {} - .login-header {margin-bottom: 40px;} - .login-header .logo {display: flex;align-items: center;} - .login-header .logo img {width: 40px;height: 40px;vertical-align: bottom;margin-right: 10px;} - .login-header .logo label {font-size: 26px;font-weight: bold;} - .login-oauth {display: flex;justify-content:space-around;} - .login-form .el-divider {margin-top:40px;} - - .login-form {} - .login-form:deep(.el-tabs) .el-tabs__header {margin-bottom: 25px;} - .login-form:deep(.el-tabs) .el-tabs__header .el-tabs__item {font-size: 14px;} - - .login-form:deep(.login-forgot) {text-align: right;} - .login-form:deep(.login-forgot) a {color: var(--el-color-primary);} - .login-form:deep(.login-forgot) a:hover {color: var(--el-color-primary-light-3);} - .login-form:deep(.login-reg) {font-size: 14px;color: var(--el-text-color-primary);} - .login-form:deep(.login-reg) a {color: var(--el-color-primary);} - .login-form:deep(.login-reg) a:hover {color: var(--el-color-primary-light-3);} - - .login_config {position: absolute;top:20px;right: 20px;} - - .login-form:deep(.login-msg-yzm) {display: flex;width: 100%;} - .login-form:deep(.login-msg-yzm) .el-button {margin-left: 10px;--el-button-size:42px;} - - .qrCodeLogin {text-align: center;position: relative;padding: 20px 0;} - .qrCodeLogin img.qrCode {background: #fff;padding:20px;border-radius:10px;} - .qrCodeLogin p.msg {margin-top: 15px;} - .qrCodeLogin .qrCodeLogin-result {position: absolute;top:0;left:0;right: 0;bottom: 0;text-align: center;background: var(--el-mask-color);} - .title-name {font-weight: 900;font-size: 24px;color: rgb(59, 142, 142);margin-top: 56px;line-height: 24px;margin-bottom:46px;} - @media (max-width: 1000px){ - .login_main {display: block;} - .login_main .login_config {position: static;padding:20px 20px 0 20px;text-align: right;} - .login_adv {display: none;} - } + .login_adv {width: 100%;background-color: #555;background-size: cover;background-position: center center;background-repeat: no-repeat;position: relative;} + .login_adv__title {color: #fff;padding: 40px;position: absolute;top:0px;left:0px;right: 0px;z-index: 2;} + .login_adv__title h2 {font-size: 40px;} + .login_adv__title h4 {font-size: 18px;margin-top: 10px;font-weight: normal;} + .login_adv__title p {font-size: 14px;margin-top:10px;line-height: 1.8;color: rgba(255,255,255,0.6);} + .login_adv__title div {margin-top: 10px;display: flex;align-items: center;} + .login_adv__title div span {margin-right: 15px;} + .login_adv__title div i {font-size: 40px;} + .login_adv__title div i.add {font-size: 20px;color: rgba(255,255,255,0.6);} + .login_adv__bottom {position: absolute;left:0px;right: 0px;bottom: 0px;color: #fff;padding: 40px;background-image:linear-gradient(transparent, #000);z-index: 3;} + .login_adv__mask {position: absolute;top:0px;left:0px;right: 0px;bottom: 0px;background: rgba(0,0,0,0.5);z-index: 1;} + .login_main {position: absolute;top: 0;right:118px;width: 370px;height: 440px;top: 52%;-webkit-transform: translateY(-50%);transform: translateY(-50%);background: #fff;text-align: center;padding: 22px 25px 28px;} + .login-header {margin-bottom: 40px;} + .login-header .logo {display: flex;align-items: center;} + .login-header .logo img {width: 40px;height: 40px;vertical-align: bottom;margin-right: 10px;} + .login-header .logo label {font-size: 26px;font-weight: bold;} + .login-oauth {display: flex;justify-content:space-around;} + .login-form .el-divider {margin-top:40px;} + + .login-form:deep(.el-tabs) .el-tabs__header {margin-bottom: 25px;} + .login-form:deep(.el-tabs) .el-tabs__header .el-tabs__item {font-size: 14px;} + + .login-form:deep(.login-forgot) {text-align: right;} + .login-form:deep(.login-forgot) a {color: var(--el-color-primary);} + .login-form:deep(.login-forgot) a:hover {color: var(--el-color-primary-light-3);} + .login-form:deep(.login-reg) {font-size: 14px;color: var(--el-text-color-primary);} + .login-form:deep(.login-reg) a {color: var(--el-color-primary);} + .login-form:deep(.login-reg) a:hover {color: var(--el-color-primary-light-3);} + + .login_config {position: absolute;top:20px;right: 20px;} + + .login-form:deep(.login-msg-yzm) {display: flex;width: 100%;} + .login-form:deep(.login-msg-yzm) .el-button {margin-left: 10px;--el-button-size:42px;} + + .qrCodeLogin {text-align: center;position: relative;padding: 20px 0;} + .qrCodeLogin img.qrCode {background: #fff;padding:20px;border-radius:10px;} + .qrCodeLogin p.msg {margin-top: 15px;} + .qrCodeLogin .qrCodeLogin-result {position: absolute;top:0;left:0;right: 0;bottom: 0;text-align: center;background: var(--el-mask-color);} + .title-name {font-weight: 900;font-size: 24px;color: #409eff;width: 100%;height: 39px;background-size: 100%;background-repeat: no-repeat;} + @media (max-width: 1000px){ + .login_main {display: block;} + .login_main .login_config {position: static;padding:20px 20px 0 20px;text-align: right;} + .login_adv {display: none;} + } </style> -- Gitblit v1.9.3