CINXE.COM

微信询盘

<!DOCTYPE html><html lang="zh-cn"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta name="applicable-device" content="pc"><meta http-equiv="Cache-Control" content="no-transform"><meta http-equiv="Cache-Control" content="no-siteapp"><meta name="renderer" content="webkit"><script type="text/javascript">document.domain = 'huangye88.com';var staticurl = '//static.huangye88.cn';var flag=0;</script><link rel="canonical" href="http://my.huangye88.com/xunpan/wx.do" /> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <title>微信询盘</title> <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> <style type="text/css"> .fwx_body{ width: 680px; margin: 0 auto; background: #efefef; border-radius: 10px; position: fixed; top: 50%; left: 50%; margin-top: -314px; margin-left:-340px;} .fwx_title{ height:50px; line-height:50px; background: #fff; position: relative;} .fwx_title>.companyname{ padding-left: 20px;padding-right: 60px;width: 600px; overflow: hidden; font-size: 18px; font-weight: bold; color: #000;} .fwx_title>span{ font-size:26px; color: #999; position:absolute; right: 20px; line-height:40px; top:5px;cursor:pointer} ul.fwx_cont{ list-style: none; padding: 0px; margin: 0px; overflow:auto; height: 330px; } ul.fwx_cont li{padding:10px 20px; overflow: hidden;} .im-msg-main{} .fwxleft{} .fwxright{} .photos{overflow: hidden; } .photos img{ width: 40px; height: 40px; border-radius: 40px; float: left; } .photos span{ font-size: 14px; color: #333; float: left; line-height: 40px; padding-left: 10px; } .fwxleft .msgtxt{font-size: 14px;max-width: 500px;max-width: 500px; border-radius:10px;background: #fff; color: #333; padding: 10px 20px; line-height: 24px;border-top-left-radius: 0px; float: left; margin-left: 50px;} .fwxright .msgtxt{font-size: 14px;max-width: 500px; border-radius: 10px;background: #ff8330; color: #fff; padding: 10px 20px; line-height: 24px;border-top-right-radius: 0px; float: right; } .fwxleft .msgtxt img{ width: 100px;} .fwx_foot{border-top: 1px solid #e6e6e6; background: #fff; padding: 20px;} .textarea{display: flex; margin-bottom: 10px;} .textarea textarea{ flex: 1; height: 60px; line-height: 20px; border:1px solid #e6e6e6; font-size: 14px;text-indent: 5px;} .wrapbox{ display:flex; } .wrap_l{ flex: 5; } .contactbox,.yanzhengbox{ line-height: 40px; font-size: 14px; color: #666;} .contactbox input{ width: 230px; height: 40px; line-height: 40px; border:1px solid #e6e6e6; text-indent: 3px;} .wrap_r{flex: 1;} .yanzhengbox{ margin-top: 10px; } .yanzhengbox input.m_yzm{ width: 110px; height: 40px; line-height: 40px; border: 1px solid #e6e6e6; text-indent:3px;} .yanzhengbox input.m_username{ width: 230px; height: 40px; line-height: 40px; border: 1px solid #e6e6e6; text-indent:3px;} .yanzhengbox span{ margin-left: 35px; max-width: 230px; max-height: 40px; display:inline-block; border: 0 none; } .contactbox span{ padding: 0 10px; } .wrap_r input{ background: #ff6600; color: #fff; height:94px; line-height: 94px; border-radius: 5px; width: 100%; border: 0 none; font-size: 16px; font-weight: bold; cursor: pointer; } input:focus,textarea:focus{ border: 1px solid #ff6600; outline: 0 none; } .post_tip{height: 30px;line-height: 30px;font-size: 14px;color: #999;text-align: center; font-size: 12px; padding-top: 5px;} .post_tip>a{color: #666; text-decoration: none;} .get-confirm {background-color: #F9F9F9;border: 1px solid #DDDDDD;border-radius: 3px 3px 3px 3px;color: #888888;cursor: pointer;float: right;height: 40px;line-height: 40px;margin-right: 50px;text-align: center;width: 120px;} </style> </head> <body> <div class="fwx_body"> <div class="fwx_title"> <div class="companyname">山东荣启智能科技有限公司</div> <span onClick="closefram();">×</span> </div> <ul class="fwx_cont" id="mu"> <li class="im-msg-main fwxleft"> <div class="photos"> <img src="//static.huangye88.cn/images/nophoto.png"><span>李彬</span> </div> <div class="msgtxt">欢迎光临山东荣启智能科技有限公司,请发送您要咨询的内容,我们会及时回复。</div> </li> </ul> <form id="xinform" name="xinform" method="POST" action="http://my.huangye88.com/xunpan/wx.do?pc=1" target="toxunpan" onSubmit="return chk();"> <div class="fwx_foot"> <div class="textarea"> <textarea name="info[description]" placeholder="请输入咨询内容" id="description" autocomplete="off"></textarea> </div> <div class="wrapbox"> <div class="wrap_l"> <div class="contactbox"> <input type="text" id="mobile" name="info[mobile]" placeholder="请输入手机号" autocomplete="off"> <input type="hidden" name="info[mid]" value="0" autocomplete="off"><input type="hidden" name="info[uid]" value="3829427" autocomplete="off"><input type="hidden" name="info[from]" value="com" autocomplete="off"><input type="hidden" id="posted" autocomplete="off"> <input class="m_username" name="info[realname]" placeholder="请输入联系人姓名" autocomplete="off"> </div> <div class="yanzhengbox"> <input class="m_yzm" type="text" id="vdcode" name="info[vdcode]" placeholder="请输入图片验证码" autocomplete="off"><img src="http://my.huangye88.com/virfycoder/" style="cursor:pointer;width:110px;height:40px;margin-left:10px;" title="看不清?点击更换" align="absmiddle" onclick="this.src='http://my.huangye88.com/virfycoder/?random='+Math.random();" /> <input class="m_yzm" id="smscode" name="info[smscode]" placeholder="请输入手机验证码" autocomplete="off"> <a class="get-confirm" onClick="sendsms2()" id="sentmsgbtn">获取手机验证码</a> </div> </div> <div class="wrap_r"><input type="submit" value="发送"></div> </div> </div> </form> </div> <iframe id="toxunpan" name="toxunpan" style="display:none;width:0px;height:0px;border:0px solid #fff;"></iframe> <script type="text/javascript" src="//static.huangye88.cn/js/jquery.js"></script> <script language="javascript" type="text/javascript"> var r='<li class="im-msg-main fwxright"><div class="msgtxt"><<msg>></div></li>',smtype=2; var l='<li class="im-msg-main fwxleft"><div class="photos"><img src="//static.huangye88.cn/images/nophoto.png"><span>李彬</span></div><div class="msgtxt">已收到您的消息,尽快给您回电,也可以加我微信沟通。<br><img src="https://oss11.huangye88.net/live/user/3829427/1730989180093183800-0.jpg@1e_1c_220w_220h_90Q"></div></li>'; var b=document.getElementById('mu'); function closefram() { window.close(); } function msg(m, s) { if(s==1) { $('#posted').val(''); alert(m); } else if(s==2) { var rm=r.replace('<<msg>>', m); b.innerHTML+=rm; if($('#posted').val()!='2') { b.innerHTML+=l; $('#posted').val(2); } $('#description').val(''); var getreviewHeight = $('#mu').prop("scrollHeight"); $('#mu').animate({scrollTop: getreviewHeight}, 50); } } function chk() { if($('#description').val()=='') alter('请填写咨询详情'); if($('#posted').val()) { msg($('#description').val(), 2); $('#description').val(''); return false; } $('#posted').val(1); return true; } function sendsms2(){ if(typeof(smtype)=='undefined') { smtype = 0; } var vdcode = $('#vdcode'); var mobile = $('#mobile'); var button = $('#sentmsgbtn'); var u = '/newmember/sendmsm.do?mobile='+mobile.val()+'&vdcode='+vdcode.val()+'&t=2&random='+Math.random(); $.ajax({ type: "get", async: false, url: u, dataType: "json", success: function(data) { if(data['r']) { button.html('等待 60 秒'); button.on('click', function() {return}); var counter = 59; var timer = setInterval(function(){ button.html('等待 ' + counter + ' 秒'); counter--; }, 1000); setTimeout(function(){ clearInterval(timer); button.html('获取手机验证码'); button.on('click', function() {sendsms2();}); }, 60 * 1000); } else { msg(data['m'], 1); } } }); } </script> </body> </html>