var hxrefer = encodeURIComponent(document.referrer); var hxcururl = encodeURIComponent(window.location.href); var hxwebtitle = encodeURIComponent(document.title); var hxp = '&r=' + hxrefer + '&cururl=' + hxcururl + '&webtitle=' + hxwebtitle; var hxopenurl = 'https://im.houxue.com/chat/newmessage/index?c=47B1296F9B14BAC4A170D4E0E60D88D3&w=w3722&s=12171&sn=&n=%25E8%25AF%25BE%25E7%25A8%258B%25E9%25A1%25BE%25E9%2597%25AE&p=0&si=&st=0&t=0&phone=400-800-2181&comname=%25E5%259E%2582%25E7%259B%25B4%25E9%25A2%2591%25E9%2581%2593&aid=0&seattype=1&r=&channel=houxue'; if (hxopenurl) { hxopenurl += hxp; } var hxfloathtml = ''; var hxcenterhtml = ''; if(typeof(jQuery) == 'undefined'){ hxfloathtml += '' } hxfloathtml +='' hxfloathtml +='
'; hxfloathtml += ''; hxfloathtml += '
'; hxfloathtml += '
'; hxfloathtml += '联系客服'; hxfloathtml += '
'; hxfloathtml += '
'; hxfloathtml += '
'; hxfloathtml += '
'; hxfloathtml += '
联系我们
'; hxfloathtml += '
400-800-2181
'; hxfloathtml += '
'; hxfloathtml += '课程咨询:'; hxfloathtml += '点我咨询'; hxfloathtml += '
'; hxfloathtml += '
'; hxfloathtml += '学费咨询:'; hxfloathtml += '点我咨询'; hxfloathtml += '
'; hxfloathtml += '
'; hxfloathtml += '预约试听:'; hxfloathtml += '点我预约'; hxfloathtml += '
'; hxfloathtml += '
工作时间:8:30 - 21:30
'; hxfloathtml += '
节假日不休息
'; hxfloathtml += '
'; hxfloathtml += ''; hxfloathtml += '
'; hxfloathtml += ''; hxfloathtml +='
'; document.write(hxfloathtml); //动效 $(function() { if($('#home').length == 0) { $('.zx-float-box-center').css('display','block'); } $('.zx-center-close1,.zx-center-close2').click(function(){ $('.zx-float-box-center').hide(); }); $(window).scroll(function() { if(parseInt($(window).scrollTop()) > 500) { $('.zx-float-box-bottom').show(); } else { $('.zx-float-box-bottom').hide(); } }); $('#zx-float-open').click(function() { $('#zx-float').show(); $(this).hide(); }); $('#zx-float-close').click(function() { $('#zx-float').hide(); $('#zx-float-open').show(); }); $('#zx-float-close').hover(function() { $(this).css('background-position','-25px'); },function() { $(this).css('background-position','0'); }); $('#zx-bm-submit').hover(function() { $(this).css('background','#ff4a64'); },function() { $(this).css('background','#ff4a64'); }); $('#zx-chat-open').hover(function() { $(this).css('background','#ff4a64'); $(this).css('color','#fff'); },function() { $(this).css('background','#fff'); $(this).css('color','#ff4a64'); }); function contactShow() { $('#contact-show').css('color','#fff'); $('#contact-show').css('background','#ff4a64'); $('#contact-show').css('border-color','#ff4a64'); $('#contact-box').show(); } function contactHide() { $('#contact-show').css('color','#999'); $('#contact-show').css('background','#ededed'); $('#contact-show').css('border-color','#e3e3e3'); $('#contact-box').hide(); } function wxqrShow() { $('#wxqr-show').css('background','#ff4a64 no-repeat center url(https://im.houxue.com/asset/images/newseat/houxue/icon-qr-fff.png)'); $('#wxqr-show').css('border-color','#ff4a64'); $('#wxqr-box').show(); } function wxqrHide() { $('#wxqr-show').css('background','#ededed no-repeat center url(https://im.houxue.com/asset/images/newseat/houxue/icon-qr.png)'); $('#wxqr-show').css('border-color','#e3e3e3'); $('#wxqr-box').hide(); } $('#contact-show,#contact-box').hover(function(){ contactShow(); wxqrHide(); },function(){ contactHide(); }); $('#wxqr-show,#wxqr-box').hover(function(){ contactHide(); wxqrShow(); },function(){ wxqrHide(); }); $('#back-to-top').hover(function(){ $(this).css('background','#ff4a64 no-repeat center url(https://im.houxue.com/asset/images/newseat/houxue/icon-backtotop-fff.png)'); $(this).css('border-color','#ff4a64'); },function(){ $(this).css('background','#ededed no-repeat center url(https://im.houxue.com/asset/images/newseat/houxue/icon-backtotop.png)'); $(this).css('border-color','#e3e3e3'); }); $('#back-to-top').click(function() { $('html,body').animate({'scrollTop':0},'normal'); }); $('.contact-zixun').hover(function() { $(this).css('background','#ff4a64 10px no-repeat url(https://im.houxue.com/asset/images/newseat/houxue/icon-zixun-fff.png)'); $(this).css('color','#fff'); },function() { $(this).css('background','#fff 10px no-repeat url(https://im.houxue.com/asset/images/newseat/houxue/icon-zixun.png)'); $(this).css('color','#ff4a64'); }); $('.contact-yuyue').hover(function() { $(this).css('background','#ff4a64 10px no-repeat url(https://im.houxue.com/asset/images/newseat/houxue/icon-yuyue-fff.png)'); $(this).css('color','#fff'); },function() { $(this).css('background','#fff 10px no-repeat url(https://im.houxue.com/asset/images/newseat/houxue/icon-yuyue.png)'); $(this).css('color','#ff4a64'); }); }); //试听报名 var zx_clickstatus = true; function zx_baoming() { var name = $('#zx-bm-name').val(); if(name == '') { alert('请填写您的称呼') $('#zx-bm-name').focus(); return; } var phone = $('#zx-bm-phone').val(); if (phone == '') { alert('请填写您的手机号码') $('#zx-bm-phone').focus(); return; } if (phone.match(/^1[35789]\d{9}$/) == null) { alert('请填写正确的手机号码') $('#zx-bm-phone').focus(); return; } if(zx_clickstatus){ zx_clickstatus = false; }else{ return; } $.ajax({ url:'https://im.houxue.com/chat/chat/offlinemessage', data:'c=47B1296F9B14BAC4A170D4E0E60D88D3&w=w3722&s=12171&p=0&si=&st=0&seat_type=1' + hxp + '&mode=1' + '&phone=' + phone + '&name=' + name, type: "post", dataType: 'jsonp', jsonp: 'callback', success: function (res) { zx_clickstatus = true; if(res.code==200){ alert('您已成功获得试听资格,我们将尽快为您安排免费试听!'); $('#zx-bm-name').val(''); $('#zx-bm-phone').val(''); } else { if(res.msg!=''){ alert(res.msg); }else{ alert('提交失败,请重试!'); } } }, timeout: 30000, error: function () { zx_clickstatus = true; alert('连接超时,请重试!'); } }); } //打开聊天窗口 function chat_open() { var iWidth = 620; var iHeight = 500; var iTop = (window.screen.availHeight - 30 - iHeight) / 2; var iLeft = (window.screen.availWidth - 10 - iWidth) / 2; window.open(hxopenurl,'newchat','height=' + iHeight + ',innerHeight=' + iHeight + ',width=' + iWidth + ',innerWidth=' + iWidth + ',top=' + iTop + ',left=' + iLeft + ',toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no,status=no,z-look=yes,alwaysRaised=yes,depended=yes,hotkeys=yes'); }