password_ipt')){
$(this).next().text('密码不能为空!');
$(this).parents('.loginMod').find('.infoBox').addClass('errTop')
}else{
$(this).next().text('用户名或手机号不能为空!');
}
}
})
$(document).keydown(function (event) {
if (event.keyCode === 13) {
$(".BtnLogin").click();
}
})