Commit ef975929 authored by 吴冠's avatar 吴冠

login

parent 8a31f95c
......@@ -159,7 +159,7 @@
></el-input>
</el-form-item>
<div v-show="Verification" class="phonecode" @click="getMessagecode">获取短信验证码</div>
<div v-show="!Verification" class="phonecode"><span>{{timer}}</span>秒后重新获取</div>
<div v-show="!Verification" class="y5"><span>{{timer}}</span>秒后重新获取</div>
</div>
</el-form>
</div>
......@@ -1423,4 +1423,13 @@ export default {
.y3{
margin-right:-20%
}
.y5{
font-size: 0.14rem;
font-weight: 400;
color: red;
position: absolute;
top: 0.13rem;
left: 4rem;
cursor: pointer;
}
</style>
\ No newline at end of file
......@@ -32,7 +32,7 @@
<el-input v-model="phone.phonecode" placeholder="请输入短信验证码" style="width:1.8rem" maxlength="30"></el-input>
</el-form-item>
<div v-show="Verification" class="phonecode handle" @click = "getPhoneCode">获取短信验证码</div>
<div v-show="!Verification" class="phonecode"><span>{{timer}}</span>秒后重新获取</div>
<div v-show="!Verification" class=" t5"><span>{{timer}}</span>秒后重新获取</div>
</div>
<div class="login-btn">
<el-button type="primary" @click="submitForm2()" style="width: 100%;">登录</el-button>
......@@ -102,15 +102,14 @@
return false;
}
}
let _that = this;
/* let _that = this;
document.onkeypress = function(e) {
var keycode = document.all ? event.keyCode : e.which;
if (keycode == 13) {
var keycode2 = document.all ? event.keyCode : e.which;
if (keycode2 == 13) {
_that.submitForm2();// 登录方法名
return false;
}
};
}; */
},
methods: {
handleClick(tab, event) {
......@@ -335,4 +334,13 @@
/* .pos{
margin-left: 0px;
} */
.t5{
font-size: .14rem;
font-weight: 400;
color: red;
position: absolute;
top: 0.13rem;
left: 2.0rem;
width: 2rem;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment