...
|
...
|
@@ -134,8 +134,7 @@ class RegisterNew { |
|
|
if (this.view.mobileInput.val() &&
|
|
|
this.view.passwordInput.val() &&
|
|
|
this.view.verifyCodeInput.val() &&
|
|
|
this.view.getVerifyCodeBtn.data('oneClick') &&
|
|
|
this.view.protocolCheckbox.hasClass('icon-cb-radio')) {
|
|
|
this.view.getVerifyCodeBtn.data('oneClick')) {
|
|
|
this.view.regBtn.addClass('active');
|
|
|
} else {
|
|
|
this.view.regBtn.removeClass('active');
|
...
|
...
|
@@ -152,6 +151,11 @@ class RegisterNew { |
|
|
return;
|
|
|
}
|
|
|
|
|
|
if (!this.view.protocolCheckbox.hasClass('icon-cb-radio')) {
|
|
|
showErrTip('您必须同意YOHO!BUY有货服务条款后,才能进行注册!');
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
let validateResult = validatePWD(password, result => {
|
|
|
if (!result.valid) {
|
|
|
showErrTip(result.msg);
|
...
|
...
|
|