CINXE.COM

观众中心 | AMTS 2025

<!DOCTYPE html> <html> <head> <title>观众中心 | AMTS 2025</title> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width" name="viewport"> <meta name="baidu-site-verification" content="pQtuUQ2X3V" /> <meta name="google-site-verification" content="IYZ4A5TCqn9wCGQ9xUF8vxmGyV11Z8tfIYe3LdT0r5E" /> <link href="/static/common/chosen/chosen.css" rel="stylesheet" type="text/css" /> <link href="/static/common/webuploader/dist/webuploader.css" rel="stylesheet" type="text/css" /> <link href="/static/visitor/cn/css/base.css?v=2024" rel="stylesheet" type="text/css"/> <link href="/static/visitor/cn/css/visitors.css" rel="stylesheet" type="text/css" /> <link rel="icon" href="/favicon.ico" mce_href="/favicon.ico" type="image/x-icon" /> <script type="text/javascript" src="/static/common/picturefill.min.js"></script> <script type="text/javascript" src="/static/common/jquery-1.9.1.min.js"></script> <script type="text/javascript" src="/static/common/jquery.print.js"></script> <script type="text/javascript" src="/static/common/chosen/chosen.jquery.js"></script> <script type="text/javascript" src="/static/common/layer-v3.0.1/layer/layer.js"></script> <script type="text/javascript" src="/static/common/webuploader/dist/webuploader.min.js"></script> <script type="text/javascript" src="/static/visitor/cn/js/js.js"></script> <script type="text/javascript" src="/static/common/smart/smart.js"></script> <script type="text/javascript" src="/static/common/smart/visitor-api.js"></script> <script> smartVstApi.lang="cn"; </script> <link rel="stylesheet" type="text/css" href="/static/visitor/cn/css/animate.css"> <style> @media screen and (max-width: 1400px) { body{ zoom: 0.9; } } @media screen and (max-width: 768px) { body{ zoom: initial; } .login-btn-box { margin-top: 28%; } } </style> </head> <body> <div class="cookie-message-box" style="display: block;"> <div class="container"> <div class="row cookie-message-box__popup"> <div class="col-lg-11 col-md-12 col-sm-12"> <p>我们使用cookies来运作该网站, 并改进其可用性。 关于我们使用的cookies、 如何使用和您如何管理它们的详细信息可通过阅读 <u> <a adhocenable="false" href="https://privacy.reedexpo.com/zh-zh.html" target="_blank">隐私声明</a> </u> 获取。 请注意使用本网站意味着您同意使用cookies.&nbsp; </p> </div> <div class="col-lg-1 col-md-12 col-sm-12 accept"> <div class="btn btn-primary J-accept">接受</div> </div> </div> </div> </div> <div class="login-bg"> <!-- <div class="w1000 mt20"> <div class="language-box"> <span class="language"><a href="/Visitor/en/login">EN</a></span> </div> </div> --> <div class="w1000 login-box clear"> <div class="login-l fl clear login-l2"> <div class="login-home-tit"> <div class="logo-txt login-logo-txt login-logo-txt2"> <h1 class="logo logo2"><a href="javascript:void(0)"><img src="/static/visitor/cn/images/logo.png" alt=""></a></h1> <h1 class="logo-time">上海站 2025.07.09-11</h1> <h2 class="logo-name-cn">上海国际汽车制造技术与装备及材料展览会</h2> <h3 class="logo-name-en">Shanghai International Automotive Manufacturing Technology & Material Show</h3> <p class="logo-name-countdown">上海新国际博览中心W1-W5,E1-E3馆</p> </div> <div class="logo-txt login-logo-txt login-logo-txt2"> <h1 class="logo logo2"><a href="javascript:void(0)"><img src="/static/visitor/cn/images/logo_.jpg" alt=""></a></h1> <h1 class="logo-time">华南站 2025.10.28-30 </h1> <h2 class="logo-name-cn">AMTS South China 2025</h2> <h2 class="logo-name-en">深圳国际会展中心(宝安新馆16号馆)</h2> </div> </div> <div class="login-txt-box"> <p class="login-txt">关于主办方 - 励进展览 励进展览(上海)有限公司,是励展博览集团与上海恒进展览有限公司在中国成立的合资公司,也是励展博览集团的成员公司。励进展览将作为汽车工程行业盛会——AMTS上海国际汽车制造技术与装备及材料展览会、与智能自动化生产装配行业盛会——AHTE上海国际工业装配与传输技术展览会的主办方,整合励展博览集团国内外专业资源与恒进展览二十年行业资源,继续深耕行业,致力为汽车工程与工业装配领域提供一站式的整合营销解决方案。 </p> </div> <div class="login-ewm-box clear"> <p class="login-ewm-txt fl"><span class="txt-red">立即关注AMTS </span><br>获取最新展会和行业动态:</p> <div class="login-ewm fl"> <img src="/static/visitor/cn/images/ewm.jpg" alt=""> </div> </div> <!-- <div class="login-ewm-advertising"> <img src="images/advertising-cn.png"> </div> --> </div> <div class="login-r fr login-r2"> <div class="login-r-top"> <p class="login-prompt">如果您是<span class="txt-red">首次登录</span>观众中心,<br>请点击 “ <strong>观众预登记</strong> ” 完成注册。</p> <div class="login-online-btn-box mt10 index-exhibition-visit"> <!-- 2019-12-11 关闭 --> <a class="btn login-online-btn txti-l" href="/Visitor/reg"> <strong class="fs30">观众预登记</strong><br> <span class="fs16">快速登录,尊享VIP服务</span> </a> <!-- 2019-12-11 关闭 --> <!-- <a class="btn login-online-btn txti-l J-close" href="javascript:;"> <strong class="fs30">观众预登记</strong><br> <span class="fs16">快速登录,尊享VIP服务</span> </a> --> </div> </div> <ul class="login-wrap"> <li class="login-li clear"> <p class="login-title">观众登录</p> <p class="login-prompt">如果您曾<span class="txt-red">在线注册</span>,您只需进行 <br> “ <strong>登录</strong> ” 确认或是修改信息,<br>即可成功注册为今年展会的观众。</p> </li> <li class="login-li clear"> <input type="text" class="login-name login-input" id="txtLoginUserName" placeholder="手机号"> <p class="fr attention attention-name">&ensp;</p> </li> <!--<li class="login-li clear">--> <!--<input type="password" class="login-password login-input" id="txtLoginPwd" placeholder="密码">--> <!--<p class="fr attention attention-password"> &ensp;</p>--> <!--</li>--> <!--<li class="login-li clear">--> <!--<div class="login-hint-box login-captcha fl">--> <!--<input type="text" class="login-input" id="txtVcode" placeholder="验证码">--> <!--<p class="fr attention attention-captcha"> &ensp;</p>--> <!--</div>--> <!--<div class="Captcha fr">--> <!--<img src="/captcha.html" id="ImgVcode" onclick="this.src='/captcha.html'" alt="看不清楚?点击可获取新的验证码.">--> <!--</div>--> <!--</li>--> <li class="login-li clear"> <div class="login-hint-box login-captcha fl"> <input type="text" class="login-input" id="txtVcode" placeholder="手机验证码"> <p class="fr attention attention-captcha"> &ensp;</p> </div> <div class="Captcha fr"> <div class="logon-code" onclick="getcode()">获取验证码</div> </div> </li> <!--<li class="clear">--> <!--<input type="checkbox" class="ProductCate ProductCateFirst">--> <!--记住密码--> <!--<a href="/visitor/forget.html" class="forget fr">忘记密码?</a>--> <!--</li>--> <li><button class="btn login-btn" id="btnGoLogin" onclick="DoLogin()" type="button">登录</button></li> </ul> </div> <script type="text/javascript"> $(".J-close").click(function(){ alert('观众注册系统暂时关闭'); }) var goLogin = false; $("#txtLoginUserName").focus(); $("#btnGoLogin").removeAttr("disabled").html("登录"); $('.login-name').focus(function(){ $(".attention-name").html("&ensp;"); }); $('.login-password').focus(function(){ $(".attention-password").html("&ensp;"); }); $('#txtVcode').focus(function () { $(".attention-captcha").html("&ensp;"); }); $("#txtLoginUserName").add("#txtLoginPwd").add("#txtVcode").keypress(function (e) { var keyCode = e.which; if (keyCode == 13) { if ($("#txtLoginUserName").val().length == 0) { $("#txtLoginUserName").focus(); return; } if ($("#txtLoginPwd").val().length == 0) { $("#txtLoginPwd").focus(); return; } DoLogin(); return false; } }) </script> </div> <footer class="login-footer"> <p class="footer-copyright"> &nbsp;&nbsp; 沪ICP备18043030号-1</p> </footer> <!--未开放--> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-802952-2', 'auto'); ga('send', 'pageview'); </script> <script type="text/javascript"> (function() { var tag=""; var untag=""; var jsf=".ad7.com/u/1/90acf9a8abb2b1116a7621bae3e525b4.js"; var ad7 = document.createElement("script"); ad7.id="_mutmzc"; if (/^https/.test(location.href)) {ad7.src ='https://js-ssl'+jsf+'?tag='+tag+'&untag='+untag;} else {ad7.src = 'http://js'+jsf+'?tag='+tag+'&untag='+untag;} var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ad7, s); }()); </script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?16c7bc9f41c6ded73976408c5f1e2f03"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> </div> <style type="text/css"> .search-popup-box { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 200; display: none; } .search-popup { position: absolute; left: 50%; top: 30%; width: 665px; box-sizing: border-box; margin-left: -332px; padding: 10px; box-shadow: 0 0 5px rgba(0,0,0,0.8); background: #fff; border-radius: 4px; } .audience-popup-txt{ height: 140px; text-align: center; font-size: 20px; color:#d1202f; line-height: 36px; border: 2px #d1202f solid; border-radius: 4px; line-height: 130px; } .search-popup-box{ z-index: 1001; } </style> <!-- 我要参观 弹窗 --> <div class="search-popup-box"> <div class="search-popup audience-popup"> <p class="audience-popup-txt">AMTS 2018 观众预登记将于2017年11月正式启动,敬请期待</p> <!-- <i class="search-popup-close glyphicon glyphicon-remove "></i> --> </div> </div> <script type="text/javascript"> //我要参观 弹窗事件 function audience(){ $('.audience-popup, .search-popup-box').show(); } $('.audience-popup').on('click', function(e) { e.stopPropagation(); }); $('body').click(function(e) { $('.audience-popup, .search-popup-box').hide(); }); </script> <ins id="newBridge"><!-- target: nodeBoard --><ins class="nb-nodeboard-base nb-nodeboard-position-base nb-nodeboard-left-bottom nb-hide" id="nb_nodeboard"><ins class="nb-nodeboard-contain-base nb-nodeboard-contain"><ins class="nb-nodeboard-top nb-nodeboard-top-0" style="background-color: transparent;"><ins class="nb-head-title">请您留言</ins><ins class="nb-nodeboard-close" id="nb_nodeboard_close" data-type="min"></ins></ins><form id="nb_nodeboard_form" autocomplete="off" class="nb-board-form" action="//p.qiao.baidu.com/cps4//bookmanage/saveBook.action?userId=27192915" method="post" accept-charset="utf-8"><ins id="nb_nodeboard_set" class="nb-nodeboard-set"><ins class="nb-nodeboard-content"><textarea id="nb-nodeboard-set-content-js" name="content" data-ph="请在此输入留言内容,我们会尽快与您联系。(必填)" placeholder="请在此输入留言内容,我们会尽快与您联系。(必填)" class="nb-nodeboard-set-content nb-nodeboard-param"></textarea></ins><ins class="nb-nodeboard-name" style="z-index:6;"><ins class="nb-nodeboard-icon nodeName"></ins><input id="nb_nodeboard_set_name" data-write="1" name="visitorName" maxlength="30" class="nb-nodeboard-input nb-nodeboard-param" type="text" data-ph="姓名(必填)" placeholder="姓名(必填)"></ins><ins class="nb-nodeboard-name" id="nb_nodeboard_phone" style="z-index:5;"><ins class="nb-nodeboard-icon nodePhone"></ins><input id="nb_nodeboard_set_phone" name="visitorPhone" maxlength="30" class="nb-nodeboard-input nb-nodeboard-param" data-write="1" type="text" data-ph="电话(必填)" placeholder="电话(必填)"></ins><ins class="nb-nodeboard-name" id="nb_nodeboard_mail" style="z-index:4;"><ins class="nb-nodeboard-icon nodeMail"></ins><input id="nb_nodeboard_set_email" name="visitorEmail" maxlength="50" class="nb-nodeboard-input nb-nodeboard-param" type="text" data-write="1" data-ph="邮箱(必填)" placeholder="邮箱(必填)"></ins><ins class="nb-nodeboard-name nb-nodeboard-ext-input" style="z-index:2;"><ins class="nb-nodeboard-icon nodeExt"></ins><input id="nb_nodeboard_ext_2" name="item0" class="nb-nodeboard-input nb-nodeboard-param" maxlength="50" type="text" data-write="1" data-ph="公司(必填)" placeholder="公司(必填)"></ins><ins class="nb-nodeboard-verifycode" style="z-index:100;"><input type="text" name="verifyCode" class="nb-nodeboard-param" placeholder="验证码" data-write="1" data-ph="验证码"><div class="nb-nodeboard-verifyimg" id="nb_nodeboard_verifyimg" style="background-image: url(//p.qiao.baidu.com/cps4//bookmanage/genCode.action?bid=158589818989884232&amp;t=1586419935794)"></div></ins></ins></form><ins class="nb-nodeboard-success" id="nb_nodeboard_success"><ins class="nb-success-box"><ins class="nb-success-icon"></ins><ins class="nb-success-title" id="nb_node_messagetitle">感谢留言</ins><ins class="nb-success-content" id="nb_node_messagecontent">我们会尽快与您联系</ins><ins id="nb_nodeboard_return" class="nb-sucess-close">关闭</ins></ins></ins><ins class="nb-nodeboard-send" id="nb_node_contain"><ins id="nb_nodeboard_send" class="nb-nodeboard-send-btn nb-nodeboard-send-btn-0">发送</ins></ins></ins></ins><!-- end --><!-- target: iconIcon --><ins class="nb-icon-wrap nb-icon-base icon-right-bottom nb-icon-skin-0 nb-icon-icon" id="nb_icon_wrap" style=";width:144px;"><ins class="nb-icon-inner-wrap" style="height:52px;width:144px;;"><ins class="nb-icon-bridge0 nb-icon-bridge-base" data-type="iconInvite"></ins></ins></ins><!-- end --><!-- target: invite --><ins class="nb-invite-wrap nb-invite-wrap-base nb-position-base nb-middle " id="nb_invite_wrap" style="width:400px;display:none;margin-left: -200px;margin-top: -88px;"><ins class="nb-invite-body nb-invite-skin-0" style="height:175px;;"><ins class="nb-invite-tool nb-invite-tool-base" id="nb_invite_tool" style=""></ins><ins class="nb-invite-text nb-invite-text-base"><ins class="nb-invite-welcome nb-invite-welcome-base nb-show" id="nb_invite_welcome"><p style="color: #fff">欢迎来到本网站,请问有什么可以帮您?</p></ins></ins><ins class="nb-invite-btn-base nb-invte-btns-0"><ins class="nb-invite-cancel nb-invite-cancel-base" id="nb_invite_cancel">稍后再说</ins><ins class="nb-invite-ok nb-invite-ok-base" id="nb_invite_ok">现在咨询</ins></ins></ins></ins><!-- end --></ins><div id="ad7_ad_div_uid1" style="display: none; position: absolute;"><img src="http://a.ad7.com/cm/?p=t3B4ND5Dk35zq1KT7DBXqD5TtQtLkjGTkEKlN%2F48k35tgZKlN%2F48k35673K4p%2F44&amp;bk=webKit&amp;l=zh-cn&amp;sw=1920&amp;sh=1080&amp;an=&amp;uf=&amp;t=2021-3-9%2016%3A12%3A16"></div><div class="xl-chrome-ext-bar" id="xl_chrome_ext_{4DB361DE-01F7-4376-B494-639E489D19ED}" style="display: none;"> <div class="xl-chrome-ext-bar__logo"></div> <a id="xl_chrome_ext_download" href="javascript:;" class="xl-chrome-ext-bar__option">下载视频</a> <a id="xl_chrome_ext_close" href="javascript:;" class="xl-chrome-ext-bar__close"></a> </div> <script type="text/javascript"> $(function(){ // if(!$('#is_on').val()){ // layer.open({ // type: 1 // ,title: false //不显示标题栏 // ,closeBtn: false // ,area: '900px;' // ,shade: 0.8 // ,id: 'LAY_layuipro' //设定一个id,防止重复弹出 // ,resize: false // ,btnAlign: 'c' // ,moveType: 1 //拖拽模式,0或者1 // ,content: '<div class="Popup-wind-wrap"><span class="Popup-wind-t">感谢您的关注与支持,C-star 2019已经圆满闭幕,期待与您相约C-star 2021!</span></div>' // ,success: function(layero){ // // } // }); // } var search = window.location.search; if(search == '?action=login'){ $('.login-index').hide(); $('.mb-register').hide(); $('.login-page').show(); } }) $('#loginBtn, #returnLogin').click(function(event) { $('.mb-register').hide(); $('.login-index').hide(); $('.login-page').show(); }); $('.registerBtn').click(function(event) { $('.login-index').hide(); $('.login-page').hide(); $('.mb-register').show(); }); var window_w = $(document.body).width(); var me; if(window_w > 768){ me = $('.pc-login'); }else{ me = $('.mb-page'); } var mobileCodeTimerInterval; function mobileCodeTimer(timer) { me.find(".captcha_text").show(); me.find("#btnGetMobileCode").addClass("btnDisabled").attr("disabled", "disabled"); mobileCodeTimerInterval = window.setInterval(function () { var timeStr = timer; me.find("#mobile-code-acquiring").html('60秒后获取'); timer--; me.find("#mobile-code-acquiring").html(timeStr + "秒后获取"); if (timer < 0) { me.find("#mobile-code-acquiring").removeClass("btnDisabled").removeAttr("disabled").show().html("获取验证码"); window.clearInterval(mobileCodeTimerInterval); } }, 1000) } </script> <script type="text/javascript"> GetVcode(1); GetVcode(2); function GetVcode(data){ var window_w = $(document.body).width(); if(window_w > 768){ var me = $('.pc-login'); }else{ var me = $('.mb-page'); } if(data == 1){ var $obj = me.find('#ImgVcode'); var src = $obj.attr('src'); $obj.click(function(event) { $obj.attr('src', src + "?v="+Math.random()) }); }else{ var $obj = me.find('#ImgVcode2'); console.log('GetVcode', $obj) var src = $obj.attr('src'); $obj.click(function(event) { $obj.attr('src', src + "?v="+Math.random()) }); } me.find("#txtVcode").val(""); me.find("#txtVcode2").val(""); } var goLogin = false; me.find("#txtLoginUserName").focus(); me.find("#btnGoLogin").removeAttr("disabled").html("登录"); me.find('.login-name').focus(function () { me.find(".attention-name").html("&ensp;"); }); me.find('.login-password').focus(function () { me.find(".attention-password").html("&ensp;"); }); me.find('#txtRegisterPwd2').focus(function(){ me.find(".attention-password2").html("&ensp;"); }); me.find('#txtVcode,#txtVcode2').focus(function () { me.find(".attention-captcha").html("&ensp;"); }); me.find('#txtRegisterUserName').focus(function () { me.find("#txtRegisterUserName").html("&ensp;"); }); me.find("#txtmobileCode,#txtRegisterUserName,#txtVcode2,#txtRegisterPwd,#txtRegisterPwd2,#txtLoginUserName,#txtLoginPwd,#txtVcode").blur(function(){ me.find(".attention").html(""); }); function DoLogin() { var window_w = $(document.body).width(); if(window_w > 768){ var me = $('.login-wrap'); }else{ var me = $('.mb-page'); } if (goLogin) { return; } var userName = me.find("#txtLoginUserName").val(); var userPwd = me.find("#txtLoginPwd").val(); if (me.find("#txtLoginUserName").length == 0) { me.find("#txtLoginUserName").focus(); //alert("请输入您的登录名"); alert('请输入您的登录名'); goLogin = false; return; } var txtVcode = me.find("#txtVcode").val(); if (me.find("#txtVcode").length == 0) { me.find("#txtVcode").focus(); alert('请输入验证码'); goLogin = false; return; } var postData = { account : userName, smscode : txtVcode }; goLogin = true; me.find("#btnGoLogin").attr("disabled", "disabled").html("正在登录..."); me.find("#btnGoLogin").focus(); smartVstApi.post("login",postData,function(rst){ goLogin = false; me.find("#btnGoLogin").removeAttr("disabled").html("登录"); if (rst.code===1) { me.find("#btnGoLogin").html("正在跳转……"); var redirect = "/visitor"; if (redirect) { document.location = redirect; } else { document.location = '/visitor'; } } else { layer.msg(rst.msg); me.find("#ImgVcode").trigger("click"); } }); } function Doregister(data){ var window_w = $(document.body).width(); if(window_w > 768){ var me = $('.pc-login'); }else{ var me = $('.mb-page'); } var RegisterUserName = me.find("#txtRegisterUserName").val(); if(RegisterUserName.length == 0){ me.find("#txtRegisterUserName").focus(); me.find(".attention-name2").html("请输入您的手机"); return; } if(RegisterUserName.length != 11){ me.find("#txtRegisterUserName").focus(); me.find(".attention-name2").html("请输入11位手机号"); return; } var txtVcode2 = me.find("#txtVcode2").val(); if(txtVcode2.length == 0){ me.find("#txtVcode2").focus(); me.find(".attention-captcha").html("请输入验证码"); return; } var txtmobileCode = me.find("#txtmobileCode").val(); if (txtmobileCode.length == 0) { me.find("#txtmobileCode").focus(); me.find(".attention-mobile").html("请输入手机验证码"); me.find("#txtmobileCode").attr('placeholder',' ') goLogin = false; return; } var RegisterPwd = me.find("#txtRegisterPwd").val(); if(RegisterPwd.length == 0){ me.find("#txtRegisterPwd").focus(); me.find(".attention-password").html("请输入密码"); return; } if(RegisterPwd.length <6 || RegisterPwd.length >25){ me.find("#txtRegisterPwd").focus(); me.find(".attention-password").html("登录密码应该设置为6-25位"); return; } var RegisterPwd2 = me.find("#txtRegisterPwd2").val(); if(RegisterPwd2.length == 0){ me.find("#txtRegisterPwd2").focus(); me.find(".attention-password2").html("请输入再次密码"); return; } if(RegisterPwd != RegisterPwd2){ me.find("#txtRegisterPwd2").blur(); me.find(".attention-password2").html("两次输入的密码不一样"); return; } var postData = { "mobile":RegisterUserName, "password":RegisterPwd, "smscode":txtmobileCode }; var storage = { "mobile":RegisterUserName, "password":RegisterPwd, } // smartVstApi.post("reg",postData,function(rst){ smartVstApi.post("accReg",postData,function(rst){ // goRegister = false; if (rst.code === 1) { document.location = '/visitor/reg'; } else { layer.msg(rst.msg); } }); // $.ajax({ // url:"reg", // type:"post", // data:postData, // dataType:"json", // success:function(data){ // if(data.msgType == 1){ // localStorage.setItem("txtMobile",RegisterUserName) // window.location.href = "register.aspx"; // }else{ // $("#txtmobileCode").parents(".login-hint-box").removeClass("row-success").addClass("row-error").find(".checkTips").html("手机验证码错误"); // } // }, // compile:function(){ // } // }) } $("#txtLoginUserName").add("#txtLoginPwd").add("#txtVcode").keypress(function (e) { var keyCode = e.which; if (keyCode == 13) { if ($("#txtLoginUserName").val().length == 0) { $("#txtLoginUserName").focus(); return; } if ($("#txtLoginPwd").val().length == 0) { $("#txtLoginPwd").focus(); return; } DoLogin(); return false; } }) function getcode(){ var val = $("#txtLoginUserName").val(); if(val.length != 11){ layer.msg("请输入正确的手机号"); return; } if($(".logon-code").hasClass("btnDisabled")){ return; } $.ajax({ url: "/visitor/send_sms_code", type: "post", dataType: "json", data: { "mobile": val }, success: function (data) { if(data.code==1){ // 成功后获取验证码 mobileCodeTimer(60); }else{ layer.msg(data.msg) } }, complete: function(){ } }) } var mobileCodeTimerInterval; function mobileCodeTimer(timer) { $(".logon-code").addClass("btnDisabled").attr("disabled", "disabled"); mobileCodeTimerInterval = window.setInterval(function () { var timeStr = timer; $(".logon-code").html(timeStr+'s重新获取'); timer--; if(timer<0) { $(".logon-code").removeClass("btnDisabled").removeAttr("disabled").show(); $(".logon-code").removeAttr("disabled").html("获取验证码"); window.clearInterval(mobileCodeTimerInterval); } }, 1000) } </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10