CINXE.COM

我要优惠

<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>我要优惠</title> <meta name="keywords" content=""/> <meta name="description" content=""/> <meta name="author" content="xieyongshuang_gz liuxiaoying_gz"/> <meta content="always" name="referrer"> <link href="//js.3conline.com/pcautonew2/pc/2013/automallBm/wyyh.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="//js.3conline.com/js/jquery-1.4.2.min.js"></script> <!--[if IE 6]><script>document.execCommand("BackgroundImageCache", false, true)</script><![endif]--> </head> <body> <script>if (!window._addIvyID) document.write("<scr" + "ipt src='//www.pconline.com.cn/_hux_/auto/price/detail.js'><\/scr" + "ipt>");</script> <!--栏目计数器--> <span class="spanclass"> <script>document.write("<img style=display:none src=//count.pcauto.com.cn/count.php?channel=7872&screen="+screen.width+"*"+screen.height+"&__uuid=28675:1&refer="+encodeURIComponent(document.referrer)+"&anticache="+new Date().getTime()+"&url="+encodeURIComponent(location.href)+" >");</script> </span> <div style="height:28px;border-bottom:1px solid #e3e3e3;background:#f3f3f3;"> <!--头部--> <script src="//www.pcauto.com.cn/global/navibar/index.html" charset="GBK"></script> </div> <div class="doc"> <div class="logo"> <div class="mark"> <a class="fl" href="//www.pcauto.com.cn/" target="_blank"><img src="//www1.pcauto.com.cn/2013/automall/bm/images/autoLogo.jpg" alt="" /></a> <img class="fl" src="//www1.pcauto.com.cn/2013/automall/bm/images/enquirylogo.jpg"/> </div> <div class="subMark"> <ul> <li class="fir"><i><strong>国内首家</strong></i><i>垂直网站群上市企业</i> </li> <li class="sec"><i><strong>全国精选</strong></i><i>万家汽车经销商合作</i> </li> <li class="thi"><i><strong>百万认证</strong></i><i>车主口碑信赖</i> </li> <li class="last"><i><strong>无需到店</strong></i><i>免费获悉最新优惠</i> </li> </ul> </div> </div> <div class="formbox formbox_add"> <div class="formbox-wrap clearfix"> <div class="info"> <div class="info-hd">购宝马i7让利高达55.52万 欢迎试乘试驾</div> <div class="info-bd"> <div class="info-sub">优惠剩余时间:<em class="red">1</em>天</div> <dl class="info-con-big" id="discountDiv" style="display:none;"> <dt>购车直降:</dt> <dd><em id="discount"></em>万元</dd> </dl> <dl class="info-con-last"> <dt>发布商家:</dt> <dd> <p class="info-name"> <strong class="blue" title="上海上德宝骏汽车销售服务有限公司">上海上德宝骏宝马</strong> <img src="//www1.pcauto.com.cn/2013/automall/images/reStore.png" alt="太平洋汽车网认证经销商" title="太平洋汽车网认证经销商"/> <a target="_blank" class="blue" href="//price.pcauto.com.cn/52833/">进入店铺&gt;&gt;</a> </p> <p title="上海市浦东新区居家桥路571号"><span>地址:</span>上海市浦东新区居家桥路571号</p> <p> <span>电话:</span> <span class="red fb">400-870-9060</span> <img src="//www1.pcauto.com.cn/2013/price2013/s_renz.png" title="太平洋汽车网认证电话,请放心拨打"/> <img title="出售本市" src="//www1.pcauto.com.cn/2013/price2013/s_sbs.png"/> </p> </dd> </dl> </div> </div> <form id="mainForm" action="" method="post"> <div id="ajaxMsg"><span id="ajaxResult"><!-- 提示框DealerCommOrder --></span></div> <input type="hidden" name="dealerId" id="dealerId" value="52833"/> <input type="hidden" name="domainName" value="DealerCommOrder"/> <input type="hidden" name="entryPortal" value="11"/> <input type="hidden" id="referer" name="referer" value=""/> <input type="hidden" id="refererType" name="refererType" value="1"/> <input type="hidden" name="origin" value="1"/> <input type="hidden" id="regionId" name="regionId" value="0"/> <input type="hidden" id="provinceId" name="provinceId" value="0"/> <input type="hidden" id="serialGroupId" name="serialGroupId" value="28675"/> <input type="hidden" id="entryid" name="entryid" value="0"/> <input type="hidden" id="verifyStatus" name="verifyStatus" value="0"/> <div class="form"> <div class="form-hd">登记信息获取底价:</div> <div class="form-sub">实际购车价格还有议价空间,请填写如下信息,经销商将通过短信等方式为您报出最底价</div> <dl class="form-dl form-con-address clearfix"> <dt class="form-dt"><em>*</em>我的城市:</dt> <dd class="form-dd clearfix"> <span id="showCity"> <div class="dCity changeCity"> <div class="curCity"> <span id="curCity"> </span> <a id="changeCityBtn" class="cBtn" href="javascript:void(0)">切换城市<em></em> </a> <div id="changeCityBox" class="layBox hide"> <div class="sArea"> <div class="input"> <input type="text" onclick="if(this.value=='请输入城市名'){this.className='on';this.value='';}" onblur="if(this.value==''){this.className='';this.value='请输入城市名';}" id="sCity" value="请输入城市名"> <div id="sResult" class="cityresult"></div> </div> <div class="citys"> <a href="javascript:void(0)" onclick="showCityData(2,'北京')">北京</a> <a href="javascript:void(0)" onclick="showCityData(3,'上海')">上海</a> <a href="javascript:void(0)" onclick="showCityData(1,'广州')">广州</a> <a href="javascript:void(0)" onclick="showCityData(4,'深圳')">深圳</a> <a href="javascript:void(0)" onclick="showCityData(87,'成都')">成都</a> <a href="javascript:void(0)" onclick="showCityData(76,'武汉')">武汉</a> <a href="javascript:void(0)" onclick="showCityData(725,'天津滨海')">天津滨海</a> </div> <div id="sClose"></div> </div> <div id="letArea" class="letArea"> </div> <div id="cityArea" class="cityArea"> <div class="zCity"> <div class="province">直辖市:</div> <div class="citys"> <a href="javascript:void(0)" onclick="showCityData(2,'北京')">北京</a> <a href="javascript:void(0)" onclick="showCityData(257,'天津')">天津</a> <a href="javascript:void(0)" onclick="showCityData(3,'上海')">上海</a> <a href="javascript:void(0)" onclick="showCityData(77,'重庆')">重庆</a> </div> </div> </div> </div> </div> </div> <script type="text/javascript"> </script> </span> <div id="cityErrTips" class="tips" style="display: none"> <i class="icon icon-err"></i> <span>请选择城市</span> </div> </dd> </dl> <dl class="form-dl form-con-car clearfix"> <dt class="form-dt"><em>*</em>意向车型:</dt> <dd class="form-dd clearfix"> <select class="form-con-car-3" name="modelId" id="modelId" onchange="checkModel();"> <option value='' custome='' caption='true'>2023款</option> <option value='113650' custome='113650' >宝马i7 2023款 xDrive60L 豪华套装</option> <option value='118542' custome='118542' >宝马i7 2023款 xDrive60L M运动套装</option> <option value='118548' custome='118548' >宝马i7 2023款 eDrive50L 领先型 豪华套装</option> <option value='118549' custome='118549' >宝马i7 2023款 eDrive50L 尊享型 豪华套装</option> <option value='120986' custome='120986' >宝马i7 2023款 eDrive50L 领先型 M运动套装</option> <option value='120996' custome='120996' selected='selected' >宝马i7 2023款 eDrive50L 尊享型 M运动套装</option> </select> <div id="modelErrTips" class="tips" style="display: none"> <i class="icon icon-err"></i> <span>请选择车型</span> </div> </dd> </dl> <dl class="form-dl form-con-name clearfix"> <dt class="form-dt"><em>*</em>您的姓名:</dt> <dd class="form-dd clearfix"> <input id="name" name="name" type="text" /> <div id="nameErrTips" class="tips" style="display: none"> <i class="icon icon-err"></i> <span>请输入您的姓名</span> </div> </dd> </dl> <dl class="form-dl form-con-phone clearfix"> <dt class="form-dt"><em>*</em>手机号码:</dt> <dd class="form-dd clearfix"> <input id="phone" name="phone" type="text"/> <div id="phoneErrTips" class="tips" style="display: none"> <i class="icon icon-err"></i> <span>请输入您的电话号码</span> </div> </dd> </dl> <!-- 20200728增加短信验证码 s --> <style type="text/css"> .formbox-wrap { min-height: 350px!important; } .formbox .form { top: 45%!important; } .verCode { width: 120px!important; } .verBut { width: 110px!important; padding: 0 15px; font-size: 14px; margin-left: 20px; color: #ff9900; background: #fff; } .verBut.disable { color: #777; background: #f8f8f8; border: 1px solid #f8f8f8; } </style> <!-- =============zhenglichun-start================ --> <dl class="form-dl form-con-phone clearfix" id="vfCodeBox" style="display:none"> <dt class="form-dt"><em>*</em>验证码:</dt> <dd class="form-dd clearfix"> <input id="verCode" class="verCode" name="verCode" type="text"/> <input id="verificationBut" class="verBut" type="button" onclick="sendVerificationCode()" value="获取验证码"> <div id="verCodeErrTips" class="tips" style="display: none"> <i class="icon icon-err"></i> <span>请正确输入验证码</span> </div> </dd> </dl> <!-- 20200728增加短信验证码 e --> <div class="submit"> <a href="javascript:;" class="btn" id="subtn">获取底价</a> <a href="javascript:;" class="btn btn-disabled" id="subtn_disabled">获取底价</a> </div> <div class="statement" id="agreeChoice" > <label><input id="chkSM" class="checkbox" type="checkbox" autocomplete="off" name="isAgree" value="">我同意</label> <a href="//www1.pcauto.com.cn/zt/gz20171127/declare/pc.html" target="_blank">《个人信息披露及保护声明》</a> </div> <!-- 20190505 增加新的 --> <!--<p style="font-size: 12px; width: 414px; line-height: 24px; padding: 0; text-align: center; color: #777;padding-top: 6px;white-space: nowrap;clear: both;" id="defaultAgree"> <span style="background: url('https://www1.pcauto.com.cn/zt/gz20190505/ico/gth.png') no-repeat 0 center; background-size: 14px; padding-left: 22px;">点击提交即视为同意</span> <a href="//www1.pcauto.com.cn/zt/gz20171127/declare/pc.html" target="_blank" style="color: #477ed1">《个人信息披露及保护声明》</a> </p>--> <!-- =============zhenglichun-end================ --> </div> </form> </div> </div> <!-- 车友询价动态 --> <div class="main"> <div class="enquiry"> <div class="th"><span class="mark"><strong id="nameList_curCity">广州</strong><strong>&nbsp;车友报名动态</strong></span><span class="submark"></span></div> <div class="tb" id="slide"> <ul class="bmul clearfix"> <li class="even"> <i class="tit"><em>陈**</em>184******77</i><i class="time">1分钟前</i> </li> <li class="odd"> <i class="tit"><em>胡**</em>137******76</i><i class="time">1分钟前</i> </li> <li class="even"> <i class="tit"><em>陈**</em>186******66</i><i class="time">1分钟前</i> </li> <li class="odd"> <i class="tit"><em>沈**</em>139******85</i><i class="time">1分钟前</i> </li> <li class="even"> <i class="tit"><em>徐**</em>186******26</i><i class="time">1分钟前</i> </li> <li class="odd"> <i class="tit"><em>林**</em>139******15</i><i class="time">1分钟前</i> </li> <li class="even"> <i class="tit"><em>程**</em>137******79</i><i class="time">2分钟前</i> </li> <li class="odd"> <i class="tit"><em>章**</em>138******61</i><i class="time">2分钟前</i> </li> <li class="even"> <i class="tit"><em>曾**</em>158******36</i><i class="time">3分钟前</i> </li> <li class="odd"> <i class="tit"><em>刘**</em>159******59</i><i class="time">3分钟前</i> </li> <li class="even"> <i class="tit"><em>邓**</em>189******25</i><i class="time">3分钟前</i> </li> <li class="odd"> <i class="tit"><em>陈**</em>139******63</i><i class="time">4分钟前</i> </li> <li class="even"> <i class="tit"><em>刘**</em>158******76</i><i class="time">5分钟前</i> </li> </ul> <ul class="bmul clearfix"> <li class="odd"> <i class="tit"><em>钟**</em>139******62</i><i class="time">5分钟前</i> </li> <li class="even"> <i class="tit"><em>林**</em>137******71</i><i class="time">6分钟前</i> </li> <li class="odd"> <i class="tit"><em>王**</em>136******85</i><i class="time">6分钟前</i> </li> <li class="even"> <i class="tit"><em>王**</em>156******71</i><i class="time">7分钟前</i> </li> <li class="odd"> <i class="tit"><em>张**</em>186******50</i><i class="time">7分钟前</i> </li> <li class="even"> <i class="tit"><em>邓**</em>186******86</i><i class="time">7分钟前</i> </li> <li class="odd"> <i class="tit"><em>常**</em>181******81</i><i class="time">8分钟前</i> </li> <li class="even"> <i class="tit"><em>颜**</em>189******81</i><i class="time">8分钟前</i> </li> <li class="odd"> <i class="tit"><em>张**</em>159******75</i><i class="time">8分钟前</i> </li> <li class="even"> <i class="tit"><em>刘**</em>157******19</i><i class="time">8分钟前</i> </li> <li class="odd"> <i class="tit"><em>徐**</em>186******25</i><i class="time">9分钟前</i> </li> <li class="even"> <i class="tit"><em>艾**</em>187******68</i><i class="time">10分钟前</i> </li> </ul> <ul class="bmul clearfix"> <li class="odd"> <i class="tit"><em>戴**</em>131******88</i><i class="time">11分钟前</i> </li> <li class="even"> <i class="tit"><em>李**</em>151******04</i><i class="time">11分钟前</i> </li> <li class="odd"> <i class="tit"><em>谭**</em>159******28</i><i class="time">11分钟前</i> </li> <li class="even"> <i class="tit"><em>毛**</em>138******77</i><i class="time">11分钟前</i> </li> <li class="odd"> <i class="tit"><em>陶**</em>138******13</i><i class="time">12分钟前</i> </li> <li class="even"> <i class="tit"><em>马**</em>133******49</i><i class="time">12分钟前</i> </li> <li class="odd"> <i class="tit"><em>c**</em>137******80</i><i class="time">12分钟前</i> </li> <li class="even"> <i class="tit"><em>颜**</em>186******58</i><i class="time">13分钟前</i> </li> <li class="odd"> <i class="tit"><em>许**</em>187******01</i><i class="time">13分钟前</i> </li> <li class="even"> <i class="tit"><em>王**</em>180******18</i><i class="time">13分钟前</i> </li> <li class="odd"> <i class="tit"><em>周**</em>159******60</i><i class="time">16分钟前</i> </li> <li class="even"> <i class="tit"><em>何**</em>138******65</i><i class="time">17分钟前</i> </li> </ul> <ul class="bmul clearfix"> <li class="odd"> <i class="tit"><em>刘**</em>150******00</i><i class="time">18分钟前</i> </li> <li class="even"> <i class="tit"><em>苏**</em>186******88</i><i class="time">18分钟前</i> </li> <li class="odd"> <i class="tit"><em>石**</em>138******05</i><i class="time">19分钟前</i> </li> <li class="even"> <i class="tit"><em>李**</em>133******62</i><i class="time">19分钟前</i> </li> <li class="odd"> <i class="tit"><em>顾**</em>159******10</i><i class="time">20分钟前</i> </li> <li class="even"> <i class="tit"><em>龙**</em>157******62</i><i class="time">20分钟前</i> </li> <li class="odd"> <i class="tit"><em>王**</em>187******27</i><i class="time">20分钟前</i> </li> <li class="even"> <i class="tit"><em>谢**</em>135******30</i><i class="time">21分钟前</i> </li> <li class="odd"> <i class="tit"><em>伍**</em>135******86</i><i class="time">21分钟前</i> </li> <li class="even"> <i class="tit"><em>杨**</em>138******38</i><i class="time">21分钟前</i> </li> <li class="odd"> <i class="tit"><em>曾**</em>189******34</i><i class="time">22分钟前</i> </li> <li class="even"> <i class="tit"><em>张**</em>152******66</i><i class="time">23分钟前</i> </li> </ul> <ul class="bmul clearfix"> <li class="odd"> <i class="tit"><em>吴**</em>136******12</i><i class="time">23分钟前</i> </li> <li class="even"> <i class="tit"><em>小**</em>183******37</i><i class="time">23分钟前</i> </li> <li class="odd"> <i class="tit"><em>郭**</em>186******35</i><i class="time">24分钟前</i> </li> <li class="even"> <i class="tit"><em>邓**</em>138******56</i><i class="time">25分钟前</i> </li> <li class="odd"> <i class="tit"><em>黄**</em>158******37</i><i class="time">25分钟前</i> </li> <li class="even"> <i class="tit"><em>张**</em>138******76</i><i class="time">26分钟前</i> </li> <li class="odd"> <i class="tit"><em>李**</em>135******40</i><i class="time">27分钟前</i> </li> <li class="even"> <i class="tit"><em>潘**</em>137******25</i><i class="time">27分钟前</i> </li> <li class="odd"> <i class="tit"><em>陈**</em>177******28</i><i class="time">27分钟前</i> </li> <li class="even"> <i class="tit"><em>周**</em>135******30</i><i class="time">28分钟前</i> </li> <li class="odd"> <i class="tit"><em>昂**</em>159******61</i><i class="time">28分钟前</i> </li> <li class="even"> <i class="tit"><em>左**</em>183******00</i><i class="time">28分钟前</i> </li> </ul> <ul class="bmul clearfix"> <li class="odd"> <i class="tit"><em>谢**</em>186******77</i><i class="time">29分钟前</i> </li> <li class="even"> <i class="tit"><em>胡**</em>186******07</i><i class="time">29分钟前</i> </li> <li class="odd"> <i class="tit"><em>李**</em>134******31</i><i class="time">29分钟前</i> </li> <li class="even"> <i class="tit"><em>张**</em>138******70</i><i class="time">29分钟前</i> </li> <li class="odd"> <i class="tit"><em>郭**</em>186******69</i><i class="time">30分钟前</i> </li> <li class="even"> <i class="tit"><em>张**</em>135******88</i><i class="time">30分钟前</i> </li> <li class="odd"> <i class="tit"><em>曾**</em>152******72</i><i class="time">31分钟前</i> </li> <li class="even"> <i class="tit"><em>华**</em>133******53</i><i class="time">31分钟前</i> </li> <li class="odd"> <i class="tit"><em>鲁**</em>136******11</i><i class="time">31分钟前</i> </li> <li class="even"> <i class="tit"><em>赵**</em>180******78</i><i class="time">33分钟前</i> </li> <li class="odd"> <i class="tit"><em>张**</em>188******34</i><i class="time">34分钟前</i> </li> <li class="even"> <i class="tit"><em>吕**</em>181******18</i><i class="time">34分钟前</i> </li> </ul> <ul class="bmul clearfix"> <li class="odd"> <i class="tit"><em>欧**</em>180******65</i><i class="time">34分钟前</i> </li> <li class="even"> <i class="tit"><em>张**</em>186******12</i><i class="time">35分钟前</i> </li> <li class="odd"> <i class="tit"><em>刘**</em>138******87</i><i class="time">35分钟前</i> </li> <li class="even"> <i class="tit"><em>宋**</em>139******19</i><i class="time">36分钟前</i> </li> <li class="odd"> <i class="tit"><em>潘**</em>136******21</i><i class="time">37分钟前</i> </li> <li class="even"> <i class="tit"><em>张**</em>189******92</i><i class="time">37分钟前</i> </li> <li class="odd"> <i class="tit"><em>黄**</em>135******27</i><i class="time">37分钟前</i> </li> <li class="even"> <i class="tit"><em>赵**</em>189******73</i><i class="time">39分钟前</i> </li> <li class="odd"> <i class="tit"><em>何**</em>139******08</i><i class="time">40分钟前</i> </li> <li class="even"> <i class="tit"><em>陈**</em>181******36</i><i class="time">41分钟前</i> </li> <li class="odd"> <i class="tit"><em>詹**</em>186******13</i><i class="time">42分钟前</i> </li> <li class="even"> <i class="tit"><em>高**</em>186******13</i><i class="time">44分钟前</i> </li> </ul> <ul class="bmul clearfix"> <li class="odd"> <i class="tit"><em>林**</em>137******87</i><i class="time">45分钟前</i> </li> <li class="even"> <i class="tit"><em>何**</em>135******11</i><i class="time">45分钟前</i> </li> <li class="odd"> <i class="tit"><em>陆**</em>138******19</i><i class="time">47分钟前</i> </li> <li class="even"> <i class="tit"><em>杨**</em>186******33</i><i class="time">47分钟前</i> </li> <li class="odd"> <i class="tit"><em>杜**</em>151******16</i><i class="time">47分钟前</i> </li> <li class="even"> <i class="tit"><em>卢**</em>189******75</i><i class="time">47分钟前</i> </li> <li class="odd"> <i class="tit"><em>付**</em>150******72</i><i class="time">47分钟前</i> </li> <li class="even"> <i class="tit"><em>苏**</em>151******19</i><i class="time">48分钟前</i> </li> <li class="odd"> <i class="tit"><em>杜**</em>139******60</i><i class="time">48分钟前</i> </li> <li class="even"> <i class="tit"><em>庞**</em>186******20</i><i class="time">48分钟前</i> </li> <li class="odd"> <i class="tit"><em>陈**</em>138******54</i><i class="time">49分钟前</i> </li> </ul> </div> </div> </div> <script src="//js.3conline.com/min/temp/v1/dpl-jquery.slide.js"></script> <script> new Slide.marquee({ target: $( '#slide ul' ), control: false, effect: 'slide', merge: true, stay:5000, direction: 'y', autoPlay: true }); </script> </div> <!-- 询价调查问卷 begin 2015-07-25 --> <style> .floatcdDiv{position: fixed;left:50%;top:50%;margin-left:-590px; _position: absolute;_top:expression(eval(document.documentElement.scrollTop));_margin-top:80px;} .floatcdDiv a{display:block;background:url(//www1.pcauto.com.cn/zt/gz20150724/icon20150724.png) no-repeat;width:80px;height:80px;} .floatcdDiv a:hover{background-position: 0 -84px;} </style> <div class="floatcdDiv"> <a href="//www.wenjuan.com/s/biY3MzM/" target="_blank"></a> </div> <!-- 询价调查问卷 end 2015-07-25 --> <script class=" defer" src="//www.pcauto.com.cn/global/s_footer/index.html" charset="GBK"></script> <!--页面脚本区S--> <!--所有页面用到的js脚本都必须放到此位置,包括外链js和内嵌js--> <script class=" defer" src="//js.3conline.com/pcauto/price2010/js/auto_dealers_area.js"></script> <script src="//js.3conline.com/min/temp/v1/dpl-dialog_v1.js"></script> <script type="text/javascript" src="//js.3conline.com/pcautonew2/pc/2019/dealer/jquery.validate.js"></script> <script type="text/javascript" src="//js.3conline.com/pcautonew2/pc/2019/dealer/jquery.form.js"></script> <script type="text/javascript" src="//js.3conline.com/pcautonew2/pc/2019/dealer/base.js"></script> <script type="text/javascript" src="//js.3conline.com/pcautonew2/pc/common/jquery.blockUI.js"></script> <!-- 20190903 提交名单解耦 --> <script src="//js.3conline.com/pcautonew2/pc/common/lib/dpl-windowname_v3_ts.js" charset="utf-8"></script> <!-- 车型选择S --> <script src="//js.3conline.com/min/temp/v1/dpl-faker,dpl-related_select.js"></script> <!-- 声明 --> <script> function statementControl(id,id2){ $("#chkSM").click(function() { if(this.checked == true){ $(id).show(); $(id2).hide(); }else{ $(id).hide(); $(id2).show(); return } }); } statementControl('#subtn', '#subtn_disabled') </script> <script> var fakeModel = null; var isSubmit = false; var clueId=0; $(function() { initModel(); //initForm("mainForm", {isreset : false,callback : actionResult}); $("#name").blur(function() { checkName(); }); $("#phone").blur(function() { checkPhone(); }); /*$("#modelId").bind('change',function (e) { checkModel(); })*/ if ($('#vfCodeBox').css("display") != "none") { $("#verCode").blur(function () { checkVerCode(); }); } //初始化网友城市-开始 var area = getPCautoArea(); if(area[0] != ""){ $("#nameList_curCity").html(area[1]); } var _provinceId = 0; var _areaId = area[0]; if(`0`){ _areaId = `0` } regionChange(_provinceId,_areaId); $("#subtn").click(function() { if ($("#modelId").val() == '' || ($("#modelId").val()).indexOf('+') >= 0) { $("#carTips").show(); $("#carErrTips").show(); return; } if ($("#regionId").val() == '') { $("#cityTips").show(); return; } if (!checkName()) { return; } if (!checkPhone()) { return; } if ($('#vfCodeBox').css("display") != "none") { if (!checkVerCode()) { return; } } var code = $.trim($("#verCode").val()); if ($('#vfCodeBox').css("display") == "none") { $('#verifyStatus').val("1"); if (!isSubmit) { isSubmit = true;// 防止重复提交 var uphone = $('#phone').val(); phoneEncode('https://etguard.pcauto.com.cn:81/encrypt.xsp', uphone, function (encryptPhone) { $('#phone').val(encryptPhone); var postData = $('#mainForm').serialize(); $("#subtn").attr("disabled", true); addOrder('https://qdcore.pcauto.com.cn/order/internal/commEntry.xsp', postData, function (d) { $('#phone').val(uphone); addOrderCallBack(d); }); }); } } else { $.getJSON("https://qdfront.pcauto.com.cn/interface/order/verify_msg_code.xsp?phone="+$('#phone').val()+"&code="+code, function(json){ if(json && json.code==0){ $('#verifyStatus').val("1"); if (!isSubmit) { isSubmit = true;// 防止重复提交 var uphone= $('#phone').val(); phoneEncode('https://etguard.pcauto.com.cn:81/encrypt.xsp', uphone, function (encryptPhone) { $('#phone').val(encryptPhone); var postData=$('#mainForm').serialize(); $("#subtn").attr("disabled", true); addOrder('https://qdcore.pcauto.com.cn/order/internal/commEntry.xsp', postData, function(d){ $('#phone').val(uphone); addOrderCallBack(d); }); }); } }else{ alert('验证码错误'); } }); } }); var referer = document.referrer; var refererType = 1; if(referer==''){ referer = window.location.href; refererType = 2; } $("#referer").val(referer); $("#refererType").val(refererType); }); // =============zhenglichun-start================ $(function(){ // 请求判断是否使用短信验证和同意声明 $.ajax({ type: 'GET', url: "https://qdfront.pcauto.com.cn/interface/order/getOrderVerifyCtrl.xsp?positionId=12", dataType: "json", success: function (res) { console.log("res----------",res) if(res && res.status == 200){ if(res.needVerify == 1){ // 需要验证码 $("#vfCodeBox").show() } if (res.checkBoxNeedVerify == 1) { $("#chkSM").attr("checked", "checked"); $('#subtn').show(); $('#subtn_disabled').hide(); // 需要同意勾选 } else { $('#subtn').hide(); $('#subtn_disabled').show(); } }else{ console.log("获取控制状态失败") } } }); }) // =============zhenglichun-end================ //提交回调函数 function addOrderCallBack(rpt) { var param = ""; var award = 0; var lotteryId = 0; if (rpt) { var dealerId = 0; if (rpt.code == 0) { var data = rpt.data; if (data) { var provinceId = 5; var sgId = 0; var modelId = 0; var phone=""; var t = 0;//订单类型 var mallrId = 0;//选中的城市Id(用于给结果页调用汽车商城automall的接口) if (data.dealerId != undefined && data.dealerId != null){ dealerId = data.dealerId; } if (data.provinceId != undefined && data.provinceId != null) { provinceId = data.provinceId; } else { provinceId = $("#provinceId").val(); } if (data.regionId != undefined && data.regionId != null) {//选中的城市Id mallrId = data.regionId; } else { mallrId = $("#regionId").val(); } if (data.sgId != undefined && data.sgId != null) { sgId = data.sgId; } else { sgId = $("#serialGroupId").val(); } if (data.modelId != undefined && data.modelId != null) { modelId = data.modelId; } else { modelId = $("#modelId").val(); } if (data.award != undefined && data.award != null) { award = data.award; } if (data.lotteryId != undefined && data.lotteryId != null) { lotteryId = data.lotteryId; } if(data.t!=undefined && data.t!=null){ t = data.t; } if(data.phone!=undefined && data.phone!=null){ phone = encodeURIComponent(data.phone); } param = "type=0&or=1&t="+t+"&sg=" + sgId + "&p=" + provinceId + "&r=" + mallrId+ "&m=" + modelId + "&d="+dealerId+"&award="+award+"&l="+lotteryId+"&phone="+phone+"&orderEntryId="+data.id; } } else { $("#subtn").attr("disabled", false);//设置提交按钮可用 } // 添加ad监控 var ad = '#ad=4339'; var url =window.location.href; if(url.indexOf('ad=8161')>0){ ad='#ad=8181'; } if(isSafari=navigator.userAgent.indexOf("Safari")>0){ window.location.href = '/order/pc/order_result_old.xsp?' + param + ad; }else{ jumpTo('/order/pc/order_result_old.xsp?' + param + ad); } } else { showError(); $("#subtn").attr("disabled", false);//设置提交按钮可用 } isSubmit = false; } function jumpTo(url) { var link = document.createElement("a"); link.href = url; link.style.display = 'none'; document.body.appendChild(link); link.click(); } //切换优惠价格 function modelChange(){ var modelId = $("#modelId").val(); var modelDiscountMap = {"113650":55.52,"118542":55.52,"118548":28.57,"118549":35.17,"120986":28.57,"120996":35.17}; if(modelId!="" && modelId>0){ if(!modelDiscountMap || modelDiscountMap[modelId]==0){ $("#discountDiv").hide(); $("#discount").html(""); $(".info-con-last").hide().show(); }else{ $("#discount").html(modelDiscountMap[modelId]); $("#discountDiv").show(); $(".info-con-last").hide().show(); } } } function initModel(){ fakeModel = new pc.faker({ className: 'multiFakerBody carFakerBody', target: $('#modelId')[0] }); fakeModel.sync(); modelChange(); } //选择城市后的回调函数 function getCityData(id) { regionChange(0,id); } //切换城市后更换显示城市 function changeAreaName(areaName){ if(""!=areaName && undefined!=areaName){ $("#nameList_curCity").html(areaName); $("#slide").hide(); setTimeout(function() { $("#slide").show(); }, 500); } } //搜索下拉结束 var Tools = { arrayEach: function(arr, callback) { var ret; for (var i = 0, l = arr.length; i < l; i++) { ret = callback.call(arr, arr[i], i, arr); if(ret === false) { break; } else { continue; } } }, trim: function(str) { if (typeof String.prototype.trim === 'function') return str.trim(); return str.replace(/^\s+/, '').replace(/\s+$/, ''); }, hasClass: function(element, className) { var s = ' ' + element.className + ' '; return s.indexOf(' ' + className + ' ') !== -1; }, addClass: function(element, className) { var self = this; var res = this.trim(element.className), parts = className.split(/\s+/); this.arrayEach(parts, function(part) { if (! self.hasClass(element, part)) { res += ' ' + part; } }); element.className = this.trim(res); }, removeClass: function(element, className) { var res = element.className.split(/\s+/), parts = className.split(/\s+/); this.arrayEach(parts, function(part) { for(var i = res.length - 1; i >= 0; i--) { if(res[i] == part) { res.splice(i, 1); } } }); element.className = res.join(' '); }, getByClass: function(className, context, tag) { var classElements = [], ctx = context || document; tag = tag || '*'; var els = ctx.getElementsByTagName(tag); for (var i = 0, ele; (ele = els[i]) !== undefined; i++) { if (this.hasClass(ele, className)) { classElements.push(ele); } } return classElements; }, on: function(obj, type, fn) { if (typeof window.addEventListener === 'function') { obj.addEventListener(type, fn, false); } else { var wrapFn = function() { fn.call(obj, window.event); }; obj.attachEvent('on' + type, wrapFn); } }, isContain: function(a, b){ try{ return a.contains ? a != b && a.contains(b) : !!(a.compareDocumentPosition(b) & 16); }catch(e){ return false; } } } var FIRSTRUN = true; //切换成城市 function regionChange(p,r){ console.log("城市ID----------",p,r) if(FIRSTRUN){ var regionId = getPCautoArea()[0]; r = r || regionId || '1';//初始化城市id $.ajax({ type: "GET", url: "https://qdfront.pcauto.com.cn/qd/common/intf/getRegionInfo", success: function(res) { if(res && res.code == 0){ let pcdList = res.data && res.data.list || [] //按字母分组 let letterMap = {}; pcdList.forEach(p => { //排除直辖市 if([6,7,14,20].indexOf(p.id) == -1){ if(!letterMap[p.letter]){ letterMap[p.letter] = [] } letterMap[p.letter].push(p); } }) //遍历拼接html let letterHtml = ``; let cityHtml = ``; for(let letter in letterMap){ letterHtml += `<a href="javascript:void(0)">${letter}</a>`; cityHtml += `<div class="cityLet">` + `<div class="letter">${letter}</div>` + `<div class="pCity">`; for(let province of letterMap[letter]){ cityHtml += `<div class="province">${province.name}:</div>` + `<div class="citys">`; for(let city of province.city){ cityHtml += `<a href="javascript:void(0)" onclick="showCityData(${city.id},'${city.name}')">${city.name}</a>`; } cityHtml += `</div>`; } cityHtml += `</div>` + `</div>`; } $('#letArea').html(letterHtml); $('#cityArea').append(cityHtml); //搜索框 let CityArr = []; pcdList.forEach(p => { (p.city || []).forEach(c => CityArr.push([c.name, c.pinyin, c.id])) }); var sCity=document.getElementById("sCity"); var sResult=document.getElementById("sResult"); sCity.onkeyup=function(){ var html=''; var text = sCity.value; if (text.length > 0) { var reg = new RegExp('^' + text + '.*', 'i'); var count = 0; for (var i = 0; i < CityArr.length; i++) { var c = CityArr[i]; if (reg.test(c[0]) || reg.test(c[1])) { html += '<a href="javascript:void(0)" onclick="showCityData('+c[2]+',\''+c[0]+'\')"><span>' + c[0] + '</span>' + c[1] + '</a>'; count++; } if (count >= 9) break; } if (count > 0) { html = ' <div class="zdicon">点击直达</div>' + html; } else { html = '<div class="ntextdicon">对不起,找不到您输入的内容</div>'; } sResult.innerHTML = html; sResult.style.display = 'block'; } else { sResult.innerHTML = ''; sResult.style.display = 'none'; } } //字母定位 var letters=document.getElementById("letArea").getElementsByTagName("a"); var cityArea=document.getElementById("cityArea"); var cityLet=Tools.getByClass("cityLet",cityArea); for (var i = 0; i < letters.length; i++) { (function (j) { Tools.on(letters[j],'click',function () { cityArea.scrollTop = cityLet[j].offsetTop; }) })(i); } } } }); FIRSTRUN = false; } $.getJSON("https://qdfront.pcauto.com.cn/qd/common/intf/getCityInfo?cityId=" + r, function(data) { if (data && data.code == 0) {//省份 $("#provinceId").val(data.data.provinceId); $("#regionId").val(r); $('#curCity').html(data.data.name || '请选择城市') changeAreaName(data.data.name); } }); } function showCityData(cid,cityName){// cid 城市id cityName 城市名称 $("#changeCityBox").addClass("hide"); $("#curCity").html(cityName); $("#currentArea").html(""); getCityData(cid,cityName);//点击城市对外函数 $("#sCity").val("请输入城市名"); $("#sCity").removeClass("on"); $("#sResult").hide(); } function showAreaData(cid,areaId,cityName){// cid 城市id areaId地区id cityName 地区名称 $("#changeAreaBox").addClass("hide"); $("#currentArea").html(cityName); getAreaData(cid,areaId,cityName);//点击地区对外函数 } //展开和关闭城市 var changeCityBtn=document.getElementById("changeCityBtn"); var changeCityBox=document.getElementById("changeCityBox"); var sClose = document.getElementById("sClose"); Tools.on(changeCityBtn,'click',function(event){ if(Tools.hasClass(changeCityBox,"hide")){ Tools.removeClass(changeCityBox,"hide"); if(document.getElementById("changeAreaBox")!=null){ Tools.addClass(changeAreaBox,"hide"); } }else{ Tools.addClass(changeCityBox,"hide") } (event || window.event).cancelBubble = true }); Tools.on(changeCityBox,'click',function(event){ (event || window.event).cancelBubble = true }) Tools.on(sClose,'click',function(event){ (event || window.event).cancelBubble = true Tools.addClass(changeCityBox,"hide") }) //车型检查 function checkModel() { if ($("#modelId").val() == '' || ($("#modelId").val()).indexOf('+') >= 0) { $("#modelErrTips").show(); $("#discountDiv").hide(); $("#discount").html(""); $(".info-con-last").hide().show(); } else { $("#modelErrTips").hide(); modelChange(); } } //城市检查 function checkRegion() { if ($("#regionId").val() == '') { $("#cityErrTips").show(); } else { $("#cityErrTips").hide(); } } //姓名判断 function checkName() { var reg = /^[\u4e00-\u9fa5a-zA-Z\s]{1,20}$/; if ($.trim($("#name").val()) == "") { $("#nameErrTips span").text("请输入您的姓名"); $("#nameErrTips").show(); return false; } else if ($("#name").val().length > 10) { $("#nameErrTips span").text("请填写10位数的姓名"); $("#nameErrTips").show(); return false; } else if (!reg.test($.trim($("#name").val()))) { $("#nameErrTips span").text("格式:支持中文和英文"); $("#nameErrTips").show(); return false; } else { $("#nameErrTips").hide(); return true; } } //电话号码正则判断 function checkPhone() { var pattern = /^0{0,1}1[0-9]{10}$/; if ($.trim($("#phone").val()) == "") { $("#phoneErrTips span").text("请输入您的手机号"); $("#phoneErrTips").show(); return false; } else if ($("#phone").val().length != 11) { $("#phoneErrTips span").text("请填写11位数的手机号码"); $("#phoneErrTips").show(); return false; } else if (!pattern.test($.trim($("#phone").val()))) { $("#phoneErrTips span").text("请填写正确的手机号"); $("#phoneErrTips").show(); return false; } else { $("#phoneErrTips").hide(); return true; } } //验证码判断 function checkVerCode() { var pattern = /[0-9]{6}/; var code = $.trim($("#verCode").val()); if (code == "") { $("#verCodeErrTips span").text("请输入验证码"); $("#verCodeErrTips").show(); return false; } else if (code.length != 6 || !pattern.test(code)) { $("#verCodeErrTips span").text("请正确填写验证码"); $("#verCodeErrTips").show(); return false; } else { $("#verCodeErrTips").hide(); return true; } } </script> <!-- 车型选择E --> <script> //20200728增加短信验证码 function sendVerificationCode() { if (!checkPhone()) { return }; $.ajax({ type: "get", url: "https://qdfront.pcauto.com.cn/interface/order/send_msg_code.xsp", data: { phone: $("#phone").val() }, dataType: "jsonp", jsonp: "callback", success: function(data) { if (data.code == 0) { timeFlag = true; var osendCaptcha = document.getElementById("verificationBut"), SEND_TXT = osendCaptcha.value; osendCaptcha.setAttribute("disabled", true); setCountDown(0, 60, function(sec) { osendCaptcha.className = "verBut disable"; osendCaptcha.value = sec + '秒后再次获取'; }, function() { timeFlag = false; osendCaptcha.value = SEND_TXT; osendCaptcha.removeAttribute('disabled'); osendCaptcha.className = "verBut"; }); } else { alert(data.msg); } }, error: function() { alert("网络超时"); } }); } var timeFlag = true; var to = null; /** * 显示倒计时 * @param {number} start 开始时间,0 表示当前时间开始 * @param {number} sec 倒计时多少秒 * @param {function} funIng 倒计时进行中的操作 * @param {function} funEnd 倒计时结束后的操作 */ function setCountDown(start, sec, funIng, funEnd) { if ('number' != typeof start || 0 > start || 'number' != typeof sec || 0 >= sec) return; if (0 == start) { start = (new Date()).getTime(); LEFT_SEC = 60; } else { DIST_SEC = ((new Date()).getTime() - start) / 1000, LEFT_SEC = parseInt(sec - DIST_SEC) || 0; } if (LEFT_SEC <= 0) { LEFT_SEC = 0; timeFlag = false; if ('function' == typeof funEnd) funEnd(); } else { if ('function' == typeof funIng) funIng(LEFT_SEC); if (timeFlag) { clearTimeout(to); to = setTimeout(function() { setCountDown(start, sec, funIng, funEnd); }, 1000); } } }; </script> <!--页面脚本区E--> <script>_submitIvyID();</script> </body> </html>

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