...
|
...
|
@@ -114,10 +114,14 @@ class MobileNew extends Page { |
|
|
let itime;
|
|
|
|
|
|
this.selector.getVerifyCodeBtn.removeClass('active');
|
|
|
this.selector.mobileInput.attr('disabled', 'disabled');
|
|
|
this.selector.clearMobile.addClass('hide');
|
|
|
|
|
|
itime = setInterval(() => {
|
|
|
if (count === 0) {
|
|
|
this.selector.getVerifyCodeBtn.text('重新获取').addClass('active');
|
|
|
this.selector.mobileInput.removeAttr('disabled');
|
|
|
this.selector.clearMobile.removeClass('hide');
|
|
|
clearInterval(itime);
|
|
|
} else {
|
|
|
this.selector.getVerifyCodeBtn.text('重新获取 (' + count-- + '秒)');
|
...
|
...
|
@@ -125,6 +129,8 @@ class MobileNew extends Page { |
|
|
|
|
|
if (during && parseInt(during, 10) !== 0) {
|
|
|
this.selector.getVerifyCodeBtn.removeClass('active');
|
|
|
this.selector.mobileInput.attr('disabled', 'disabled');
|
|
|
this.selector.clearMobile.addClass('hide');
|
|
|
}
|
|
|
}
|
|
|
}, 1000);
|
...
|
...
|
|