...
|
...
|
@@ -13,10 +13,6 @@ var $registerPage = $('.register-page'), |
|
|
$pwdTip1 = $pwdTips.find('#pwd-tip1'),
|
|
|
$errTip = $('#err-tip'),
|
|
|
$registerBtn = $('#register-btn'),
|
|
|
$countDown = $('#count-down'),
|
|
|
$successBtn = $('.success-btn'),
|
|
|
countDown = 5,
|
|
|
clearT,
|
|
|
captchaImage = new Captcha('#captcha-img').init();
|
|
|
|
|
|
var $sendCaptcha = $('#send-captcha'),
|
...
|
...
|
@@ -641,18 +637,4 @@ exports.init = function(page) { |
|
|
});
|
|
|
}
|
|
|
});
|
|
|
|
|
|
// 注册成功页面5秒后跳转
|
|
|
if ($('.success-box').length > 0) {
|
|
|
clearT = setInterval(function() {
|
|
|
|
|
|
if (countDown === 0) {
|
|
|
|
|
|
window.location.href = $successBtn.attr('data-url');
|
|
|
|
|
|
clearInterval(clearT);
|
|
|
}
|
|
|
$countDown.text(countDown--);
|
|
|
}, 1000);
|
|
|
}
|
|
|
}; |
...
|
...
|
|