Commit 86a98396 authored by honghy's avatar honghy

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

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