Commit ec7fbb88 authored by honghy's avatar honghy Committed by wux

APP多语言-登录/注册/忘记密码,样式调整

parent a737b90f
......@@ -127,7 +127,7 @@
if(this.FormData.mobile == ''){
return uni.showToast({
title: this.$lang.lang.notices.phone,
icon: 'error',
icon: 'none',
})
}
if (this.leftTime < 60) {
......@@ -167,4 +167,7 @@
<style>
@import url("../../static/css/forget.css");
.area picker{
width: 80upx;
}
</style>
......@@ -257,14 +257,14 @@ export default {
if (this.mobile == '') {
return uni.showToast({
title: this.$lang.lang.notices.phone,
icon: 'error'
icon: 'none'
})
}
if (this.password == '' && this.loginType == 1) {
return uni.showToast({
title: this.$lang.lang.notices.password,
icon: 'error'
icon: 'none'
})
}
......@@ -305,7 +305,7 @@ export default {
if (this.mobile == '') {
return uni.showToast({
title: this.$lang.lang.notices.phone,
icon: 'error'
icon: 'none'
})
}
if (this.leftTime < 60) {
......
......@@ -256,32 +256,32 @@ export default {
if (this.mobile == "") {
return uni.showToast({
title: this.$lang.lang.notices.phone,
icon: "error",
icon: "none",
});
}
if (this.code == "") {
return uni.showToast({
title: this.$lang.lang.notices.code,
icon: "error",
icon: "none",
});
}
if (this.password == "") {
return uni.showToast({
title: this.$lang.lang.notices.password,
icon: "error",
icon: "none",
});
}
if (this.passworded == "") {
return uni.showToast({
title: this.$lang.lang.notices.nextPsd,
icon: "error",
icon: "none",
});
} else {
var reg1 = new RegExp("^(?=.*[0-9])(?=.*[a-zA-Z])(.{6,32})$");
if (!reg1.test(this.passworded)) {
return uni.showToast({
title: this.$lang.lang.notices.numPsd,
icon: "error",
icon: "none",
});
}
}
......@@ -352,4 +352,7 @@ export default {
position: absolute;
right: 70px;
}
.login-area picker{
width: 60upx;
}
</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