...
|
...
|
@@ -378,10 +378,10 @@ $regionSelectHeader.on('click', function() { |
|
|
|
|
|
// 密码失去焦点后校验
|
|
|
$passwordInput.on('blur', function() {
|
|
|
$passwordInput.removeClass('focus');
|
|
|
$(this).removeClass('focus');
|
|
|
validatePasswordLocal();
|
|
|
}).on('focus', function() {
|
|
|
$passwordInput.addClass('focus');
|
|
|
$(this).addClass('focus');
|
|
|
hideTip($passwordInput);
|
|
|
});
|
|
|
|
...
|
...
|
@@ -395,7 +395,7 @@ function imgCaptchaBlur() { |
|
|
$imgCaptchaInput.on('focus', function() {
|
|
|
$imgCaptchaInput.addClass('focus');
|
|
|
hideTip($imgCaptchaInput);
|
|
|
$(this).off('blur').on('blur', imgCaptchaBlur)
|
|
|
$(this).off('blur').on('blur', imgCaptchaBlur);
|
|
|
});
|
|
|
|
|
|
$imgCaptchaInput.on('input', function() {
|
...
|
...
|
@@ -595,7 +595,7 @@ function validateCaptchaSms() { |
|
|
function changeLoginType() {
|
|
|
var type = $(this).data('type');
|
|
|
|
|
|
$phoneNumInput.off('blur'); //移除掉手机输入框blur事件
|
|
|
$phoneNumInput.off('blur'); // 移除掉手机输入框blur事件
|
|
|
$phone.removeClass('focus');
|
|
|
|
|
|
if ($(this).hasClass('selected')) {
|
...
|
...
|
@@ -639,7 +639,7 @@ $smsBtn.on('mousedown', function() { |
|
|
if ($smsBtn.hasClass('second-progress')) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
|
|
|
$imgCaptchaInput.off('blur'); // 点发送验证码按钮不需要执行图形验证码的blur事件 因此移除
|
|
|
$imgCaptchaInput.removeClass('focus');
|
|
|
|
...
|
...
|
|