lyfO_o
2022-04-29 29f79ffbde54016168714b02cd1c77b464bf229a
src/views/login/components/login-form.vue
@@ -44,6 +44,12 @@
                  </span>
            </el-button>
        </div>
        <div style="padding-top: 20px" class="login-form-button">
            <el-button class="register-btn"  @click="handleRegister">
                <span style="color: black">注册</span>
            </el-button>
        </div>
    </div>
    <!--    <el-form ref="loginForm" :model="loginForm" :rules="loginRules" :inline="false" class="loginForm" @keydown.enter.native="handleSubmit">-->
<!--        <div class="title-container">-->
@@ -133,6 +139,9 @@
        created(){
        },
        methods: {
            handleRegister(){
              this.$router.push({path:'/register'})
            },
            showLoginPwd() {
                if (this.loginPasswordType === 'password') {
                    this.loginPasswordType = ''
@@ -232,8 +241,15 @@
    }
    .login-form-login-button {
        width: 364px;
        height: 48px;
        height: 40px;
        background: #4778FF;
        border-radius: 4px;
    }
    .register-btn{
        width: 364px;
        height: 40px;
        color: white;
        border-radius: 4px;
    }
</style>