用戶登錄

記住密碼 找回密碼
還沒有賬號?立即注冊

微信掃碼安全登錄

二維碼已過期

點(diǎn)擊刷新

掃碼即表示同意 《用戶協(xié)議》《隱私協(xié)議》

關(guān)閉
$('.BtnLogin').val("登 錄"); return false; } else { if (data.data.url) { location.href = data.data.url } else { location.href = 'http://www.eganinoue.com/v2/centre';; } } } }) } //換一張圖形驗(yàn)證碼 function next() { var imgSrc = $('#the_code').attr('src')+'?time='+Math.random() $('#the_code').attr('src',imgSrc); } function wxLogin(){ $(".wxLoginBox").show(); } //刷新微信登錄二維碼 function refreshWxCode(that){ that.parent().hide(); } //返回密碼登錄 function backLogin(that){ that.parents('.wxLoginBox').hide(); } //顯示密碼 function showPassword(that){ if(that.hasClass('on')){ that.removeClass('on') that.parents(".iptBox").find('.ipt').attr('type','password') }else{ that.addClass('on') that.parents(".iptBox").find('.ipt').attr('type','text') } } //記住密碼 function rememberPassword(that){ if(that.find('.checkBox').hasClass('on')){ that.find('.checkBox').removeClass('on') }else{ that.find('.checkBox').addClass('on') } } //輸入框輸入移除錯誤樣式 $('.loginMod .ipt').on('blur',function(){ if($(this).val()!=''){ if($(this).parent().hasClass('errorBox')){ $(this).parent().removeClass('errorBox'); $(this).next().text(''); if($(this).hasClass('password_ipt')){ $(this).parents('.loginMod').find('.infoBox').removeClass('errTop') } } }else{ $(this).parent().addClass('errorBox'); if($(this).hasClass('password_ipt')){ $(this).next().text('密碼不能為空!'); $(this).parents('.loginMod').find('.infoBox').addClass('errTop') }else{ $(this).next().text('用戶名或手機(jī)號不能為空!'); } } }) $(document).keydown(function (event) { if (event.keyCode === 13) { $(".BtnLogin").click(); } })