Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 2237|回復: 0
打印 上一主題 下一主題

'|筦理中心'

[複製鏈接]

2990

主題

2992

帖子

9430

積分

管理員

Rank: 9Rank: 9Rank: 9

積分
9430
跳轉到指定樓層
樓主
發表於 2017-1-4 16:46:56 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
var error_times = 0; $(function(){ //console.log(error_times); if ( error_times >= 5 ) { $('#liimgcode').show(); } // 默認不加載圖片驗証碼,彈出框顯示時加載 if ( $('#pop_login').is(':visible') ) { // 賬號驗証碼 $('#pop_imgcode').attr('src', ''+Math.random()*5); } $('#popup-submit').click(function(){ // 加載驗証 //_pop_login.login(); }); // 發送驗証碼 $(".btn_login_veri").click(function(){ // $("#wrapOut").after($(".wjyBlank_2")); // $("#wrapOut").after($(".login_mod_veri_pop")); // $(".wjyBlank_2").css({"width"("#wjyBlank").width(),"height"("#wjyBlank").height()}) // $(".wjyBlank_2,.login_mod_veri_pop").show(); // $(".login_mod_veri_pop").css({"top": $("#wrapOut").position().top + 100,三重機車借錢, "left": $("#wrapOut").position().left + 200, }); }); $(".btn_colse_veri_pop").click(function(){ $(".wjyBlank_2,蘆洲票貼,.login_mod_veri_pop").hide(); }); $("#btn_reg").unbind("click"); $("#btn_reg").bind('click',北埔抽水肥,function(event) { if ( $('#m_mobile').val() == '' ) { mobile_tips('請填寫手機號'); return false; } if ( ! /1[0-9]{10}/.test($('#m_mobile').val()) ) { mobile_tips('請填寫正確手機號格式'); return false; } if( $('#mobilecode').val() == '' ){ mobile_tips('請獲取手機驗証碼'); return false; } // 驗証是否正確 // if ( parseInt($('#mobile_code_flag').val()) != 1 ) { // mobile_tips('手機驗証碼不正確'); // return false; // } // 手機驗証碼檢測 $.ajax({ type: "post", dataType: 'jsonp',高雄汽車借款, jsonp: 'callback',林口抽水肥, url: "", data: "code=" + $('#mobilecode').val(), success: function(json){ if (json.success) { $('#mobile_code_flag').val(1); do_post($('#m_mobile').val(), $('#mobilecode').val()); } else { mobile_tips(json.message); $('#mobile_code_flag').val(0); } } }); }); }); function do_post(mobile, mobilecode){ $.ajax({ type: "OST", dataType: 'jsonp', jsonp: 'callback', url: "", data: "mobile="+mobile+"&mobilecode=" + mobilecode, success: function(json){ if (json.success) { // 登錄 $.wjybox.hide(); if($("#app_name").val() == 'LsNews' || $("#app_name").val() == 'LsNewsV2' ) { lsNewsStatus(); } else { pop_login_callback(); } } else { // 彈出錯誤 mobile_tips(json.info); } } });
} function mobile_tips(msg){ $('#phone_error_tip').show().find('span').html(msg).parent().fadeOut(3000); // } // 登錄
var _pop_login = { err_times: error_times, login_url: "", flash_callback: function(){ $('#popup-submit').html('登錄'); var response = FlashHelper.getFlash().GetVariable("retText"); outarr = response.split('|'); if ( parseInt(outarr[1]) > 3 ) { } if(outarr[0] == 'error'){ _pop_login.err_times++; console.log(_pop_login.err_times); // 驗証碼顯示 if(_pop_login.err_times >= 5){ $('#liimgcode').show(); } $("#error_tip").show().find('span').html(delHtmlTag(outarr[2])); } else if ( outarr[0] == 'error_img' ) { $("#error_tip").show().find('span').html('驗証碼錯誤'); } else { $.wjybox.hide(); if($("#app_name").val() == 'LsNews' || $("#app_name").val() == 'LsNewsV2' ) { lsNewsStatus(); } else { pop_login_callback(); } } }, login: function(){ var name = $("#user_name").val(); var pass = $("#user_pass").val(); var imgcode = $('#imgcode').val(); var method = 'post'; var body = "user_account="+name+"&password="+pass+"&imgcode="+imgcode+"&callback=callback"; var contentType = 'application/x-www-form-urlencoded'; var fs = FlashHelper.getFlash(); fs.XmlHttp(_pop_login.login_url, "_pop_login.flash_callback", method, body, contentType); $('#popup-submit').html('登錄中'); }
} //第三方登陸
function thirdLogin(name,兒童近視治療,text){ var login_site_url = ""; window.location.href = login_site_url+"/login?snsapi="+name+"&backUrl=http%3A%2F%2F365jia.cn%2Fnews%2F2017-01-04%2FB53818E457967406.html";
} ;(function () { if (!($(".ipt_mod_value").length > 0)) return false; $(".ipt_mod_value").each(function(){ var ff = $(this).val(); $(this).val(ff); $(this).focus(function(){ console.log(ff) if ($(this).val()==ff){ $(this).val(""); $(this).css("color","#a9a9a9"); } }); $(this).blur(function(){ console.log(ff) if ($(this).val()==""){ $(this).val(ff); $(this).css("color","#a9a9a9"); } }); }); $(" .login_ipt_mod_password").focus(function(){ $(this).parent().find(".ipt_mod_password_tips").hide(); }); $(".login_ipt_mod_password").blur(function(){ if ( $(this).val() == "" ) { $(this).parent().find(".ipt_mod_password_tips").show(); }; }); }) (); function delHtmlTag(str)
{ return str.replace(/]+>/g,"");//去掉所有的html標記
} function lsNewsStatus(){ $.getJSON('/login_ajax.php?' + Math.random(), function(data) { if(data.msg_c>0 && !$.cookie('top_login_msg_box_close')) { $("#top_login_channel_info").show(); $('#msg_c').text(data.msg_c); } $('#userProfileInfo').show(); $('#top_login_form').hide(); if(data.is_admin) $("#top_login_is_admin").html('|筦理中心'); $('#userNickname').html(''+data.nickname+''); $('#c_type').val(2); $('#p_login,#reply_login').each(function(){ $(this).hide(); }); $('#p_logout,#reply_logout').each(
萬傢賬號登錄 × 合作賬號登錄 微信登錄 新浪登錄 QQ登錄 短信登錄
驗証即登錄,未注冊將自動創建萬傢賬號
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|小黑屋|醫髮護理專家論壇  

當舖, 飲水機, 不孕症多囊性卵巢症候群近視雷射玻尿酸呼吸照護隆乳飄眉, 割雙眼皮水彩畫室素描廢鐵回收, 未上市, 當舖, 汽車借款, 地中海彩虹生咖啡, 未上市, 最有效的壯陽藥, 抽脂價格, 床墊, 治療脫髮, 泰國透骨膏, 合利他命, 治療關節疼痛, 治療頸椎病, 止痛膏推薦洗牙粉, 早洩藥, 壯陽保健食品, 持久藥推薦, 頸椎病貼膏, 根治頸椎病, 黑藥膏推薦, 灰甲藥, 治療甲溝炎, 鼻子過敏中藥茶, 私密處止痕癢產品, 消脂茶, 護胃保健食品, 腸胃貼, 運動褲, 生髮水, 消脂茶, 改善經痛, 天然安眠藥, 清潔面膜棒, 深層清潔毛孔, 除汗臭噴劑, 唇膏推薦, 緩解關節炎疼痛, 關節炎止痛藥膏, 眉毛增長液, 生髮液, 前列腺治療, 去眼袋眼霜, 調節血糖保健食品, 消炎止痛牙粉, 中藥牙粉, 白內障, 台北當舖, 灰指甲如何治療,

GMT+8, 2025-11-26 05:51 , Processed in 0.133615 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表