//导航 jQuery(".nav").slide({ type:"menu", titCell:".nli", targetCell:".ndl", effect:"slideDown", delayTime:300, triggerTime:100,returnDefault:true }); //大图 jQuery(".slider").slide({ titCell:".hd ul", mainCell:".bd ul", effect:"fold", autoPlay:true, autoPage:true, trigger:"click",mouseOverStop:false,startFun:function(){var timer = jQuery(".slider .timer");timer.stop(true,true).animate({ "width":"0%" },0).animate({ "width":"100%" },2500);}}); //业务 jQuery(".yw").slide({ mainCell:".ywul",delayTime:0,triggerTime:0,autoPlay:false,delayTime:300 }); //股东 jQuery(".gdjs").slide({ mainCell: ".gdul", autoPage: true, effect: "leftLoop", autoPlay: true, vis: 1 }); jQuery(".hz").slide({mainCell:".hzul",autoPage:true,effect:"leftLoop",autoPlay:true,vis:3}); window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","weixin","tieba","sqq"],"viewText":"分享到:","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin","tieba","sqq"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)]; function SiteSearch(keyword) { if (jQuery(keyword).val().length > 0) { location.href="/Pvuqvu/MjtuTfbsdi.btqy?UfnqmbufJE=12&lfzxpse=" + jQuery(keyword).val(); } } getnewcode = function (Id) { jQuery(Id).html("\"chkcode\""); } /*显示登陆*/ function showlogin() { var NewLine = "\n"; var html = ""; html += "
" + NewLine; html += "
" + NewLine; html += "
帐 号:
" + NewLine; html += "
" + NewLine; html += "
密 码:
" + NewLine; html += "
" + NewLine; html += "
验证码:
" + NewLine; html += "
" + NewLine; html += "
\"点击更新安全码\"
" + NewLine; html += "
" + NewLine; html += "
" + NewLine; jQuery.dialog({ id: 'showlogin', title: '登录', content: html, initialize: function () { //document.getElementById('txtLoginName').focus(); }, lock: true, fixed: true, button: [ { value: '登陆', focus: true } ] }); } showWeixing = function () { $('#wxbox').show(); } closewx = function () { $("#wxbox").hide(); } SaveDate = function () { var investor = $("#txtinvestor").val(); var CodeType = $("#CodeType").val(); var CodeNum = $("#txtCodeNum").val(); var IsRecord = $('input:radio[name="IsRecord"]:checked').val(); var RecordContent = $("txtRecordContent").val(); var rdoAssets = $('input:radio[name="rdoAssets"]:checked').val(); var rdoTAssets = $('input:radio[name="rdoTAssets"]:checked').val(); var rdoIncome = $('input:radio[name="rdoIncome"]:checked').val(); var chkSources = ""; var SourcesContent = $("#txtSourcesContent").val(); var UserID = $("#UserID").val(); $("input[name='chkSources']:checkbox").each(function () { if ($(this).attr("checked") == true) { chkSources += ',' + $(this).attr('value'); } }); chkSources = chkSources.substring(1); jQuery.ajax({ type: "POST", url: "/Interface/FWD_Page_Ajax.ashx?action=SaveDCDate", data: { "investor": investor, "CodeType": CodeType, "CodeNum": CodeNum, "IsRecord": IsRecord, "RecordContent": RecordContent, "rdoAssets": rdoAssets, "rdoTAssets": rdoTAssets, "rdoIncome": rdoIncome, "chkSources": chkSources, "SourcesContent": SourcesContent, "UserID": UserID }, dataType: "json", timeout: 20000, beforeSend: function (XMLHttpRequest) { }, success: function (data, textStatus) { if (data.type == 1) { alert(data.info); window.location = "/default.aspx" } }, error: function (XMLHttpRequest, textStatus, errorThrown) { alert('对不起,加载出错!请重试...') } }); } UserReg = function () { var txtCheckCode = $('#txtCheckCode').val(); var txtLoginName = $('#txtLoginName').val(); var txtLoginPwd = $('#txtLoginPwd').val(); var txtLoginPwdAgin = $('#txtLoginPwdAgin').val(); var txtRealName = $('#txtRealName').val(); // var txtRealName = $('#txtRealName').val(); var txtPhone = $('#txtPhone').val(); var txtEmail = $("#txtEmail").val(); var sex = $('input:radio[name="sex"]:checked').val(); if (txtCheckCode.length == 0) { alert('对不起,请输入验证码!'); return; } if (txtLoginName.length == 0) { alert('对不起,请输入用户名!'); return; } if (txtLoginPwd.length == 0) { alert('对不起,请输入登录密码!'); return; } if (txtLoginPwdAgin.length == 0) { alert('对不起,请输入验证密码!'); return; } if (txtRealName.length == 0) { alert('对不起,请输入姓名!'); return; } if (txtPhone.length == 0) { alert('对不起,请输入电话号码!'); return; } if (txtLoginPwd != txtLoginPwdAgin) { alert('对不起,两次密码输入不一致!'); return; } jQuery.ajax({ type: "POST", url: "/Interface/FWD_Page_Ajax.ashx?action=SaveLDReg", data: { "txtLoginName": txtLoginName, "txtLoginPwd": txtLoginPwd, "txtRealName": txtRealName, "txtPhone": txtPhone, "txtEmail": txtEmail, "sex": sex, "txtCheckCode": txtCheckCode }, dataType: "json", timeout: 20000, beforeSend: function (XMLHttpRequest) { }, success: function (data, textStatus) { if (data.type == 1) { alert(data.info); window.location = "/WJDC20U" + data.UserID; } }, error: function (XMLHttpRequest, textStatus, errorThrown) { alert('对不起,加载出错!请重试...') } }); } //验证是否登录 chkLogin = function () { jQuery.ajax({ type: "post", url: "/Interface/FWD_Page_Ajax.ashx?action=checkLDLogin", data: "", dataType: "json", timeout: 200000, beforeSend: function (XMLHttpRequest) { }, success: function (data, textStatus) { if (data.type == 1) { jQuery('#login').html("Hi," + data.UserName + '欢迎光临 鲁滇基金! 退出'); } } }); } //用户退出登录 UserLoingout = function () { jQuery.ajax({ type: "post", url: "/Interface/FWD_Page_Ajax.ashx?action=loginout", data: "", dataType: "json", timeout: 200000, beforeSend: function (XMLHttpRequest) { }, success: function (data, textStatus) { if (data.type == 1) { window.location.href="/Efgbvmu.btqy"; } } }); } // 找回密码 FindWord = function () { var txtLogin = $('#txtLoginName').val(); var txtEmail = $('#txtEmail').val(); var txtCheckCode = $('#txtCheckCode').val(); if (txtLogin.length == 0) { alert('对不起,请输入用户名!'); return; } if (txtEmail.length == 0) { alert('对不起,请输入登录密码!'); return; } if (txtCheckCode.length == 0) { alert('对不起,请输入验证码!'); return; } jQuery.ajax({ type: "POST", url: "/Interface/FWD_Page_Ajax.ashx?action=getpassword", data: { "txtLogin": txtLogin, "txtCheckCode": txtCheckCode, "txtEmail": txtEmail }, dataType: "json", timeout: 20000, beforeSend: function (XMLHttpRequest) { }, success: function (data, textStatus) { if (data.type == -1) { alert(data.info); getnewcode("#chkimg"); } else { alert(data.info); location.href="/"; } }, error: function (XMLHttpRequest, textStatus, errorThrown) { alert('对不起,加载出错!请重试...') } }); } //重置密码 RestWord = function () { var txtnewpwd = $('#txtnewpwd').val(); var txtnewpwdc = $('#txtnewpwdc').val(); var txtCheckCode = $('#txtCheckCode').val(); var txtUserName = $('#txtUserName').val(); var txtEmail = $('#txtEmail').val(); if (txtnewpwd.length == 0) { alert('对不起,请输入新密码!'); return; } if (txtnewpwdc.length == 0) { alert('对不起,请输入重复密码!'); return; } jQuery.ajax({ type: "POST", url: "/Interface/FWD_Page_Ajax.ashx?action=setpassword", data: { "txtnewpwd": txtnewpwd, "txtnewpwdc": txtnewpwdc, "txtCheckCode": txtCheckCode, "txtUserName": txtUserName, "txtEmail": txtEmail }, dataType: "json", timeout: 20000, beforeSend: function (XMLHttpRequest) { }, success: function (data, textStatus) { if (data.type == -1) { alert(data.info); getnewcode("#chkimg"); } else { alert(data.info); location.href="/"; } }, error: function (XMLHttpRequest, textStatus, errorThrown) { alert('对不起,加载出错!请重试...') } }); } //用户登录 userLogin = function () { var txtLogin = $('#txtLoginName').val(); var txtLoginPwd = $('#txtLoginPwd').val(); var txtCheckCode = $('#txtCheckCode').val(); if (txtLogin.length == 0) { alert('对不起,请输入用户名!'); return; } if (txtLoginPwd.length == 0) { alert('对不起,请输入登录密码!'); return; } if (txtCheckCode.length == 0) { alert('对不起,请输入验证码!'); return; } jQuery.ajax({ type: "POST", url: "/Interface/FWD_Page_Ajax.ashx?action=login", data: { "txtLogin": txtLogin, "txtCheckCode": txtCheckCode, "txtLoginPwd": txtLoginPwd }, dataType: "json", timeout: 20000, beforeSend: function (XMLHttpRequest) { }, success: function (data, textStatus) { if (data.type == -1) { alert(data.info); getnewcode("#chkimg"); } else { location.href="/mjtu15"; } }, error: function (XMLHttpRequest, textStatus, errorThrown) { alert('对不起,加载出错!请重试...') } }); }