gaoshp
2024-06-13 fd7586c8d91473d2850af1e48b12f1a289e6b8d1
src/views/login/index.vue
@@ -6,9 +6,10 @@
            </div>
        </div>
        <div class="login_main">
            <div class="login-form">
                <div class="title-name">制造信息管理系统</div>
                <password-form></password-form>
            <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>
@@ -64,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(){
@@ -79,7 +79,7 @@
<style scoped>
   .login_bg {width: 100%;height: 100%;background: #fff;display: flex;}
    .login_adv {width: 100%;background-color: #555;background-size: cover;background-position: center center;background-repeat: no-repeat;position: relative;background-size: 100% 100%;}
    .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;}
@@ -91,7 +91,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-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;}
@@ -99,7 +98,6 @@
    .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;}
 
@@ -119,7 +117,7 @@
    .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;margin-top: 56px;line-height: 24px;margin-bottom:46px;}
    .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;}