CINXE.COM

深圳大昌行宝昌MINI询价试驾_太平洋汽车网

<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>深圳大昌行宝昌MINI询价试驾_太平洋汽车网</title> <meta name="keywords" content="深圳大昌行宝昌MINI询价,深圳大昌行宝昌MINI预约试驾"/> <meta name="description" content="深圳大昌行宝昌汽车销售服务有限公司询价试驾,销售电话:,地址:深圳市龙华区大浪街道浪口社区浪口工业园47号1层。买放心车,就上太平洋汽车网汽车商城。"/> <meta name="Author" content="yejunting_gz liyichun_gz"> <meta content="always" name="referrer"> <meta http-equiv="mobile-agent" content="format=html5;url=https://qdfront.pcauto.com.cn/order/wap/ask.xsp?did=1099213&sgid=7132&mid=118683" /> <link rel="alternate" media="only screen and(max-width: 640px)" href="https://qdfront.pcauto.com.cn/order/wap/ask.xsp?did=1099213&sgid=7132&mid=118683"/> <script src="//www.pcauto.com.cn/3g/wap2013/intf/1305/intf1727.js" charset="utf-8" class=" defer"></script> <script> deviceJump.init({ "wap":"https://qdfront.pcauto.com.cn/order/wap/ask.xsp?did=1099213&sgid=7132&mid=118683", "wap_3g":"https://qdfront.pcauto.com.cn/order/wap/ask.xsp?did=1099213&sgid=7132&mid=118683" }); if (!window._addIvyID) document.write("<scr"+"ipt src='//www.pconline.com.cn/_hux_/auto/default/index.js'><\/scr"+"ipt>"); </script> <link href="//js.3conline.com/pcautonew2/pc/2016/qichewangzhanting/zhantinghy_mb01.css" rel="stylesheet" type="text/css" /> <link href="//js.3conline.com/pcautonew2/pc/2018/xdj/form_jxs.min.css" rel="stylesheet"> <!-- 20200609增加短信验证码 --> <style type="text/css"> .b-input .b-slist a { box-sizing: border-box; width: 100%; margin: 0; border: none; border-top: 1px dotted #ccc; padding: 0 20px; } .b-input .b-slist a:hover { color: #333; } .b-input .b-slist { padding-bottom: 10px; padding-bottom: 0; } .layCityBox .b-slist { min-width: 195px; } .verBut { border: 1px solid #ff9900; border-radius: 5px; height: 48px; width: 227px; padding: 0 15px; line-height: 46px; font-size: 14px; float: left; margin-left: 20px; color: #ff9900; background: #fff; } .verBut.disable { color: #777; background: #f8f8f8; border: 1px solid #f8f8f8; } </style> <!-- 20200609增加短信验证码 --> </head> <body> <script src="//www.pconline.com.cn/_hux_/auto/price/detail.js"></script> <!--栏目计数器--> <span class="spanclass"> <script>document.write("<img style=display:none src=//count.pcauto.com.cn/count.php?channel=7221&screen="+screen.width+"*"+screen.height+"&__uuid=7132:1&refer="+encodeURIComponent(document.referrer)+"&anticache="+new Date().getTime()+"&url="+encodeURIComponent(location.href)+" >");</script> </span> <!--公共头部--> <style> #sc_header, #sc_header .navL .trigger1 s, #sc_header .navL .wap, #sc_header .navL .wap a s,#sc_header .navL .meg, #sc_header .pcSites .sites a, #sc_header .nav-user, #sc_header .nav-signin .ava,.nav-dd-head .arr,#sc_header .nav-bbs,#off .nav-signin .nav-dd-body ul li i,#on .nav-msg a,#on .nav-msg a .num{background:url(//www1.pcauto.com.cn/2013/head/images/hb.png) no-repeat 0 0;} #sc_header .red{color:#c00} #sc_header ul,#sc_header li{list-style:none;margin:0px;padding:0px;} #sc_header i,#sc_header em{font-style:normal;} #sc_header img{border:none} #sc_header .hsplit{display:block; height:0; line-height:0; margin:4px 0; padding:0; border-top:1px dashed #D7D7D7; font-size:0;width:100%; min-width:71px;} #sc_header .clear{clear:both;} .clearfix:after{content:'';display:block;clear:both;visibility:hidden;overflow:hidden;height:0;line-height:0;} .clearfix{zoom:1;} #sc_header{ position:relative; margin:0px; padding:0px; height:30px; width:100%; overflow:visible; font-size:12px; text-align:center; background:#E8ECEB url(//www1.pcauto.com.cn/2012/automall/images/sc_bg_re.png) repeat-x; z-index:100;} #sc_header *{margin:0; padding:0;} #sc_header .clear{clear:both; font-size:0; line-height:0; width:0; height:0; overflow:hidden;} #sc_header a, #sc_header a:link{color:#000; text-decoration:none; vertical-align:baseline;} #sc_header a:hover{color:#F60; text-decoration:underline;} #sc_header #topnavm {margin:0 auto; width:1000px; height:30px; background:url(//www1.pcauto.com.cn/2012/automall/images/sc_bg_re.png) repeat-x; font: normal 12px/22px \5B8B\4F53; text-align:left;} #sc_header #sc_logo{float:left; display:inline; text-decoration:none; font-size:0; line-height:0;margin-top:3px;} #sc_header #sc_logo img{border:none;} #sc_header .drop{float:left; position:relative; display:inline; width:99px; height:30px;} #sc_header .drop .trigger{display:block; position:absolute; top:0; left:0; margin-top:3px; padding:2px 0 6px 7px; width:92px; font-style:normal; color:#464646; cursor:pointer; z-index:5;} #sc_header .drop .trigger s{position:absolute; top:12px; right:11px; height:4px; width:7px; background:url(//www1.pcauto.com.cn/2012/head/images/hb2.png) no-repeat -63px -86px; -webkit-transition:-webkit-transform .2s ease-in; -webkit-backface-visibility:hidden; -moz-transition:-moz-transform .2s ease-in; -o-transition:-o-transform .2s ease-in; transition:transform .2s ease-in; cursor:pointer;} #sc_header .drop .con{display:none; position:absolute; left:0; top:29px; border:1px solid #D7D7D7; width:95px; background:#FFF; z-index:4;} #sc_header .aHover .trigger1 s{-moz-transform:rotate(180deg); -webkit-transform:rotate(180deg); -o-transform:rotate(180deg); transform:rotate(180deg); filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);_top:0} #sc_header .con{display:none;position:absolute;z-index:4;background:#fff;border:1px solid #D7D7D7;padding:25px 1px 1px 1px;top:0;left:0;width:98px;} #sc_header .con a{padding:0 5px;display:block;height:24px;line-height:24px} #sc_header .con a:hover{ background:#3953A8;color:#fff;} #sc_header .aHover .con1{display:block} #sc_header .con{display:none;position:absolute;z-index:4;background:#fff;border:1px solid #D7D7D7;padding:1px;top:0;left:0;width:98px;} #sc_header .con a{padding:0 5px;display:block;height:24px;line-height:24px} #sc_header .con a:hover{ background:#3953A8;color:#fff;} #sc_header .drop .split{margin:0 10px; font-size:0; line-height:0; width:192px; height:0; border-bottom:1px dashed #ccc;} #sc_header .aHover .trigger{padding:1px 0 3px 6px; width:91px; border:1px solid #D7D7D7; border-bottom:none; background:#FFF; color:#ff6600;} /*修改padding底部为3px*/ #sc_header .aHover .trigger s{top:11px; right:10px; -moz-transform:rotate(180deg); -webkit-transform:rotate(180deg); -o-transform:rotate(180deg); transform:rotate(180deg); filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2); _top:0;} #sc_header .aHover .con{display:block;} #sc_header .sc_dealer{background: url("//www1.pcauto.com.cn/2012/head/images/hb2.png") no-repeat -68px -24px;display:inline;float:left;height:22px;line-height:22px;margin:5px 0 0 2px; padding-left:9px;position:relative;} #sc_header .sc_store{background: url("//www1.pcauto.com.cn/2012/head/images/hb2.png") no-repeat -68px -24px;display:inline;float:left;height:22px;line-height:22px;margin:5px 0 0 7px; padding-left:9px;position:relative;} #sc_header .sc_dealerlog{ background: url("//www1.pcauto.com.cn/2012/head/images/hb2.png") no-repeat -68px -24px; display: inline-block; padding-left:12px; _margin-top:4px; margin-left:6px; color:#c00; height:22px; line-height:22px;} #sc_header .sc_dealerlog a{ color:#c00;} #sc_header .user{position:relative; float:right; display:inline; margin-top:1px; padding-right:5px; line-height:26px;} #sc_header .nav-dd-head{position:relative;} #sc_header .nav-dd-head .arr{position:absolute;top:8px;right:8px;cursor:pointer;background-position:-63px -86px;height:4px;width:7px; -webkit-transition:-webkit-transform .2s ease-in; -webkit-backface-visibility:hidden; -moz-transition:-moz-transform .2s ease-in; -o-transition:-o-transform .2s ease-in; transition:transform .2s ease-in;} #sc_header .nav-dd-body{position:absolute; top:27px; left:0; padding:4px 5px; line-height:24px; border:1px solid #D7D7D7; background:#FFF;} #sc_header .nav-dd-body li{} #sc_header .nav-dd-body .ls-h{color:#aaa;} #sc_header .nav-dd-body .ls-hb{color:#aaa; font-weight:bold;} #sc_header .nav-dd-body a{padding:0 5px; display:block; height:24px; zoom:1; } #sc_header .nav-dd-body a:hover{color:#F60;} /*登录框s*/ .loginForm{float:left;} #ajaxLogon{line-height:28px; color:#464646;float:left; display:inline;} #ajaxLogon a{color:#464646} #ajaxLogon i{font-style:normal}/*覆盖旧样式*/ /*登陆前*/ #sc_header .nav-user{position:relative; float:left; height:28px; background:none;} #sc_header .nav-reg{position:absolute; right:6px;} #sc_header .nav-signin{position:relative; width:72px; height:18px;} #sc_header .nav-signin .nav-dd-head{position:absolute; top:0; left:0;padding-left:29px; width:43px; border-right:1px solid #C0C0C0;z-index:100;} #sc_header .nav-signin .nav-dd-head .ava{position:absolute; top:-1px; left:-1px; width:20px; height:20px;background-position:0 -78px;} #sc_header .nav-signin .nav-dd-head .arr{position:absolute;top:8px;right:8px;cursor:pointer;background-position:-63px -86px;height:4px;width:7px; -webkit-transition:-webkit-transform .2s ease-in; -webkit-backface-visibility:hidden; -moz-transition:-moz-transform .2s ease-in; -o-transition:-o-transform .2s ease-in; transition:transform .2s ease-in;} #sc_header .nav-signin .nav-dd-body{display:none;position:absolute; top:23px; left:-5px; width:105px; border:1px solid #D7D7D7; background:#FFF; z-index:99;} #sc_header .nav-signin .nav-dd-body ul li{height:24px; line-height:24px;} #sc_header .nav-signin .nav-dd-body ul .txz{margin-bottom:6px; padding-bottom:6px; border-bottom:1px dashed #D7D7D7;} #sc_header .nav-signin .nav-dd-body ul li a{display:block; position:relative; padding-left:27px;text-indent:0;} #sc_header .nav-signin .nav-dd-body ul li i{position:absolute; display:block; width:16px; height:20px; top:2px; left:3px;} #sc_header .nav-signin .nav-dd-body ul .txz i{background-position:0 -24px;} #sc_header .nav-signin .nav-dd-body ul .tqq i{background-position:-17px -24px;} #sc_header .nav-signin .nav-dd-body ul .tsn i{background-position:-34px -24px;} #sc_header .nav-signin .nav-dd-body ul .twx i{background-position:-54px -171px;} #sc_header .nav-dd-active .nav-dd-head{top:-6px; left:-5px; padding-top:5px; padding-left:33px; height:24px; border:1px solid #D7D7D7; border-bottom:none; background:#FFF;} #sc_header .nav-dd-active .nav-dd-head .ava{top:4px; left:3px;} #sc_header .nav-dd-active .nav-dd-head .arr{top:13px;} #sc_header .nav-dd-active .nav-dd-body{display:block;} #sc_header .nav-bbs{display:none;} #sc_header .nav-bbs{position:relative; float:left; margin-left:6px; padding-left:11px; width:69px; height:28px;background-position:-64px -20px;} #sc_header .nav-bbs .nav-dd-head{position:absolute; width:69px; height:26px; line-height:28px; z-index:100;} #sc_header .nav-bbs .nav-dd-head .arr{top:12px; right:10px;} #sc_header .nav-bbs .nav-dd-body{display:none; position:absolute; top:27px; left:0; border:1px solid #D7D7D7; white-space:nowrap; z-index:99;} #sc_header .nav-bbs .ls-h,#sc_header .nav-bbs .ls-hb{padding:0 5px;} #sc_header .nav-bbs-dd-active .nav-dd-head{top:0; left:0; padding-left:10px;height:27px;line-height:26px; background:#fff; border:1px solid #D7D7D7; border-bottom:none;} #sc_header .nav-bbs-dd-active .nav-dd-body{display:block;} #sc_header .nav-bbs-dd-active .nav-dd-head .arr{top:11px;} .nav-msg-active-bg,.sub-nav-msg{display:none;} #on, #off{float:left;} #off .nav-user{position:relative;float:left; margin-top:4px; width:111px; height:18px; line-height:18px; border:1px solid #C0C0C0; background-repeat:repeat-x;} /*登陆后*/ #on .ava{float:left; display:inline;margin-top:4px; margin-right:5px; width:20px; height:20px;} #on #nav-nick{float:left; color:#777;} #on #nav-nick:hover{color:#F60;} #on .nav-u-c{float:left; position:relative; width:85px; height:28px;} #on .nav-user .nav-dd-head{margin:0 2px 0 3px; padding:0 10px; width:61px;} #on .nav-dd-active .nav-dd-head{top:-1px; left:0; margin:0 1px 0 2px; padding-top:1px; border:1px solid #D7D7D7; border-bottom:none; height:27px; line-height:26px; background:#FFF; z-index:100;} #on .nav-user .nav-dd-head .arr{top:12px; right:10px;} #on .nav-dd-active .nav-dd-head .arr{top:12px;} #on .nav-user .nav-dd-body{display:none; left:2px; width:71px;} #on .nav-dd-active .nav-dd-body{display:block;} #on .nav-msg{float:left; display:inline; margin-right:12px;} #on .nav-msg a{position:relative; display:block; width:16px; height:12px; margin-top:8px; background-position:-54px -100px;} #on .nav-msg a .num{display:none; position:absolute; padding:0 3px; top:-6px; left:10px; height:12px; color:#FFF; line-height:12px; background:#F60; text-align:center; vertical-align:middle; font-family: verdana; font-weight:bold; font-size:10px; -webkit-text-size-adjust:none; -webkit-border-radius:2px; -moz-border-raidus:2px; -o-border-radius:2px; -ms-border-radius:2px; border-radius:2px; white-space:nowrap; cursor:pointer;} #on .nav-msg .n{background-position:-54px -113px;} #on .nav-msg .n .num{display:block;} #on .nav-signout{float:left; display:inline; color:#aaa;} </style> <div id="sc_header"> <div id="topnavm"> <a href="//price.pcauto.com.cn/home/" target="_blank" id="sc_logo"> <img width="68" height="25" src="//www1.pcauto.com.cn/zt/20150105/automall/csb_logo.png"> </a> <div onmouseout="this.className='drop'" onmouseover="this.className='drop aHover'" class="drop"> <a href="//www.pcauto.com.cn/" class="trigger">太平洋汽车<s></s></a> <div class="con"> <a href="//price.pcauto.com.cn/" target="_blank">汽车报价</a> <a href="//www.pcauto.com.cn/qcbj/citymap/" target="_blank">全国车市</a> <a href="//price.pcauto.com.cn/cars/6/" target="_blank">汽车大全</a> <a href="//www.pcauto.com.cn/nation/" target="_blank">新车频道</a> <a href="//bbs.pcauto.com.cn/" target="_blank">汽车论坛</a> <a href="//price.pcauto.com.cn/top/" target="_blank" class="bb">汽车排行榜</a> </div> </div> <span class="sc_dealer"><a href="//price.pcauto.com.cn/shangjia/" target="_blank">经销商</a></span> <span class="sc_store"><a href="//mall.pcauto.com.cn/" target="_blank">汽车商城</a></span> <span class="user"> <span id="ajaxLogon"><script>document.write('数据读取中...');</script></span> <span class="sc_dealerlog"><a href="https://cheshangjia.pcauto.com.cn/" target="_blank">商家登录</a></span> </span> <div class="clear"></div> </div> </div> <script> ;(function(){ if(!document.getElementById('ajaxLogon')) return; var loginJs = { "price.pcauto.com.cn\\/\\d+\\/":"//www1.pcauto.com.cn/2013/login/logon_4s.js" }; var url = location.href, loginUrl = location.protocol+"//www1.pcauto.com.cn/2013/login/logon2.js", re; if (document.getElementById('i_navibar_mark')) { loginUrl = location.protocol+"//www1.pcauto.com.cn/2013/login/logon.js"; } else if (!document.getElementById('zt_header') && !document.getElementById('sc_header')) { for (var u in loginJs) { re = new RegExp(u); if(url.search(re)>-1){ loginUrl=loginJs[u]; break; } } } window.ajaxLoginUrl = loginUrl; })(); /*判断平行进口车经销商参数*/ (function(){ if(typeof(_mchHeader) == "undefined" || !_mchHeader){ return; } /*名车汇logo*/ document.getElementById('sc_logo').setAttribute('href','//mall.pcauto.com.cn/import/'); /*经销商链接*/ var delar=document.getElementById('topnavm').getElementsByTagName('span')[0].getElementsByTagName('a')[0]; delar.setAttribute('href','//mall.pcauto.com.cn/import/shangjia/'); /*商家登录*/ var login=document.getElementById('topnavm').getElementsByTagName('span')[2].getElementsByTagName('span')[1].getElementsByTagName('a')[0]; login.setAttribute('href','//mingche.pcauto.com.cn/home/login.do'); })(); </script><link rel="stylesheet" href="//js.3conline.com/pcautonew2/pc/2018/1127jxs/css/newAdd2_1810.css"><div class="mheader mheaderyh" id="addDF"> <div class="clearfix inner"><a href="//price.pcauto.com.cn/1099213/" class="logo" target="_blank"><img src="https://img.pcauto.com.cn/images/upload/upc/tx/auto5/2308/02/c43/374152021_1690960238451.png" /></a><div class="logotext"><p><a href="//price.pcauto.com.cn/1099213/"><em>深圳大昌行宝昌MINI</em></a><i>标准商家</i><a href="http://www.dichedai.com/" target="_blank" > <i dftag="true" id="cooperation_df" style="display: none;" class="cooperation_df"><em class="cooperation_icon"></em> 东风金融合作商 </i> </a></p><span><i>地址:</i><em title="深圳市龙华区大浪街道浪口社区浪口工业园47号1层">深圳市龙华区大浪街道浪口社区浪口工业园47号1层</em><a href="//price.pcauto.com.cn/1099213/contact.html#ad=8786" target="_blank">查看地图>></a></span></div><span class="phoneto"> 优惠咨询:<b>400-876-5903</b> </span><img class="orgimgs" src="//www1.pcauto.com.cn/20161208/cheshangbang/images/rtopbg.jpg" height="130" /> </div> </div><div class="topnavs "> <ul class="clearfix inner"> <li class=""><a href="//price.pcauto.com.cn/1099213/"><i class="i01"></i>店铺首页</a></li> <li class=""><a href="//price.pcauto.com.cn/1099213/model.html" ><i class="i02"></i>车型展厅</a></li> <li class=""><a href="//price.pcauto.com.cn/1099213/market.html" ><i class="i03"></i>促销优惠</a></li><li class=""><a href="//price.pcauto.com.cn/1099213/news.html" ><i class="i05"></i>店铺资讯</a></li> <li class=""><a href="//price.pcauto.com.cn/1099213/contact.html" ><i class="i04"></i>联系我们</a></li> </ul> </div><div style="display: none;width: 100%;height: 100%;overflow: hidden;position: fixed;z-index: 100000;top: 0px;left: 0px;"> <div class="yhjPopbg"></div> <div class="yhjPop"> <div class="bar"><span class="mark">优惠券</span><span class="close" id="JyhjClose">X</span></div> <iframe width="410" height="720" scrolling="no" id="Jfmyhj" src="about:blank"></iframe> </div> </div> <script src="//js.3conline.com/min/temp/v1/lib-jquery1.4.2,dpl-jquery.slide.js"></script> <script type="text/javascript"> $(function(){ let dealerId = '1099213'; $.getScript("//www.dichedai.com/dealer/checkAuthority.do?dealerId="+dealerId+"&callback=judgeEnable"); }); function judgeEnable(json){ if(json && json.enabled == 1){ $("[dftag=true]").show(); $("#addDF").attr('class','mheader mheaderyh mheaderdf'); $.getScript("//jr.pcauto.com.cn/interface/outer/auto/getAdvertisementContents.jsp?locationId=122&targetId=0&callback=getAdvertisementContents"); }else { let df = $("[dftag=true]"); $.each(df,function(i,d){ $(d).detach(); }) } } function getAdvertisementContents(json){ let contents = json.contents; if(contents.length > 0 ){ var content = contents[0]; var manufacturerId = '0'||0; if(content.targetId==manufacturerId){ if(content.pcContent != null && content.pcContent != "" && content.pcUrl != null && content.pcUrl != ""){ $("[dftag=true2]").show(); $("#adImg").attr("src",content.pcContent.replace('http://','//')); $("#adUrl").attr("href",content.pcUrl); } } } } </script> <div class="main"> <div class="clearfix inner"> <div class="topnavt"> <a class='current' href="https://qdfront.pcauto.com.cn/order/pc/dealer/place_order.xsp?dealerId=1099213&amp;type=0&amp;modelId=118683" target="_self"> 询问底价 </a> <a class='' href="https://qdfront.pcauto.com.cn/order/pc/dealer/place_order.xsp?dealerId=1099213&amp;type=3&amp;modelId=118683" target="_self">分期购车</a> <a class='' href="https://qdfront.pcauto.com.cn/order/pc/dealer/place_order.xsp?dealerId=1099213&amp;type=2&amp;modelId=118683" target="_self">预约试驾</a> <a class='' href="https://qdfront.pcauto.com.cn/order/pc/dealer/place_order.xsp?dealerId=1099213&amp;type=4&amp;modelId=118683" target="_self">置换购车</a> </div> <div class="form-content clearfix" id="form-content"> <div class="form-sg form-sgn clearfix" id="form-sg"> <dl> <dt><img src="" id="form-sg-pic" height="90" alt=""></dt> <dd> <div class="form-sg-name clearfix"> <span id="form-sg-name"></span> <div class="form-sg-model"> <a href="javascript:" class="form-sg-da" id="form_sg_da" data-tips="请选择意向品牌车系" data-tips1="切换车型">切换车型<em></em></a> </div> <div class="form-con-tips" id="sg_tips"></div> </div> <div class="form-sg-md" id="form-sg-md"></div> <div class="form-sg-tag" id="form-sg-tag"></div> <div class="form-sg-lp" id="form-sg-lp"></div> </dd> </dl> </div> <!-- 询问底价,预约试驾,分期购车 --> <div class="form-con clearfix"> <ul class="clearfix"> <li> <span class="ltit">购车城市:</span> <input class="form-con-input" type="text" readonly="true" placeholder="选择城市" id="area"> <a href="javascript:" class="form-con-drop" id="cityChoose"><em></em></a> <div class="form-con-dcon layCityBox" id="cityShow"></div> <div class="form-con-tips form-con-tips-ts" id="area_tips"></div> </li> <li> <span class="ltit">姓<i class="t1"></i>名:</span> <input class="form-con-input" type="text" placeholder="请输入姓名" id="name"> <div class="form-con-tips" id="name_tips"></div> </li> <li> <span class="ltit">手机号码:</span> <input class="form-con-input" type="text" placeholder="请输入手机号码" id="phone"> <div class="form-con-tips" id="phone_tips"></div> </li> <li class="form-con-ts" id="gcfs" style="display: none"> <span class="ltit">购车方式:</span> <label for="buyType1" class="form-con-radio"><input id="buyType1" name="buyType" type="radio" checked="checked" value="0" > 全款购车</label> <label for="buyType2" class="form-con-radio"><input id="buyType2" name="buyType" type="radio" value="1" > 贷款购车</label> </li> <li id="gcsj" style="display: none"> <span class="ltit">购车时间:</span> <div class="form-con-tags"> <a href="javascript:" class="tags-item current" data-value="3个月以内">3个月以内</a> <a href="javascript:" class="tags-item" data-value="3个月以上">3个月以上</a> </div> </li> <li id="captchaContent" style="display: none"> <span class="ltit">验<i class="t2"></i>证<i class="t2"></i>码:</span> <input id="captcha" name="captcha" class="form-con-input form-con-input-code" type="text" placeholder="请输入验证码" /> <img width="80" height="50" src="//captcha.pcauto.com.cn/captcha/v.jpg" id="yzm" class="yzm yzmchanges"/> <div class="form-con-tips" id="code_tips"></div> </li> <!-- =============zhenglichun-start================ --> <!-- 20200609增加短信验证码 --> <li id="vfCodeBox" style="display:none"> <span class="ltit">验<i class="t2"></i>证<i class="t2"></i>码:</span> <input id="verCode" name="verCode" class="form-con-input form-con-input-code" type="text" placeholder="请输入验证码" /> <input id="verificationBut" class="verBut" type="button" onclick="sendVerificationCode()" value="获取验证码"> <div class="form-con-tips" id="code_tips"></div> </li> <!-- 20200609增加短信验证码 --> <style> .form-con-btn .btn_disabled{ background: #ddd; color: #888; cursor: default; } </style> <li class="form-con-btn"> <span class="ltit">&nbsp;</span> <a href="javascript:" id="btn">获取底价</a> <a href="javascript:" id="btn_disabled" style="display: none;">获取底价</a> </li> <li id="agreeChoice" > <span class="ltit">&nbsp;</span> <div class="form-con-sm"> <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> <div class="form-con-tips" id="chkSM_tips"></div> </li> <!-- 20190505 增加新的 --> <!-- <li id="defaultAgree"> <span class="ltit">&nbsp;</span> <p style="font-size: 12px; width: 400px; line-height: 24px; padding: 0; color: #777; float:left" > <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> </li>--> <!-- =============zhenglichun-start================ --> </ul> </div> <!-- 20190401 微信在线咨询 S --> <div class="box-sales" id="box-sales"> <div class="box-sales-hd"> <span>微信在线咨询</span> </div> <div class="box-sales-bd" id="box-sales-bd"> </div> </div> <!-- 微信在线咨询 E --> </div> <!-- 车友报名动态 --> <div class="addmost"> <div class="htitle"><i><span id="nameList_curCity">深圳</span> 车友报名动态</i></div> </div> <div class="mdtable" id="slide"> <ul><li><em>李**</em><span>186******11</span><i>1分钟前</i></li><li><em>何**</em><span>139******08</span><i>1分钟前</i></li><li><em>何**</em><span>189******00</span><i>1分钟前</i></li><li><em>谢**</em><span>136******48</span><i>1分钟前</i></li><li><em>徐**</em><span>137******51</span><i>1分钟前</i></li><li><em>蔡**</em><span>151******82</span><i>1分钟前</i></li><li><em>袁**</em><span>139******28</span><i>1分钟前</i></li><li><em>张**</em><span>133******68</span><i>2分钟前</i></li><li><em>蒋**</em><span>158******16</span><i>3分钟前</i></li><li><em>陈**</em><span>135******33</span><i>4分钟前</i></li><li><em>苏**</em><span>186******78</span><i>5分钟前</i></li><li><em>颜**</em><span>189******81</span><i>6分钟前</i></li></ul><ul><li><em>周**</em><span>186******23</span><i>6分钟前</i></li><li><em>石**</em><span>138******39</span><i>6分钟前</i></li><li><em>许**</em><span>136******86</span><i>6分钟前</i></li><li><em>张**</em><span>136******00</span><i>7分钟前</i></li><li><em>张**</em><span>183******91</span><i>8分钟前</i></li><li><em>黄**</em><span>139******82</span><i>9分钟前</i></li><li><em>崔**</em><span>132******78</span><i>10分钟前</i></li><li><em>董**</em><span>138******01</span><i>10分钟前</i></li><li><em>高**</em><span>183******60</span><i>11分钟前</i></li><li><em>肖**</em><span>151******78</span><i>11分钟前</i></li><li><em>林**</em><span>189******22</span><i>13分钟前</i></li><li><em>张**</em><span>135******68</span><i>13分钟前</i></li></ul><ul><li><em>骆**</em><span>139******11</span><i>13分钟前</i></li><li><em>安**</em><span>159******52</span><i>13分钟前</i></li><li><em>罗**</em><span>135******31</span><i>14分钟前</i></li><li><em>吴**</em><span>159******38</span><i>14分钟前</i></li><li><em>徐**</em><span>186******26</span><i>14分钟前</i></li><li><em>王**</em><span>138******87</span><i>15分钟前</i></li><li><em>廖**</em><span>186******22</span><i>15分钟前</i></li><li><em>伍**</em><span>134******60</span><i>15分钟前</i></li><li><em>苏**</em><span>151******19</span><i>15分钟前</i></li><li><em>田**</em><span>139******47</span><i>16分钟前</i></li><li><em>刘**</em><span>159******39</span><i>16分钟前</i></li><li><em>江**</em><span>136******59</span><i>16分钟前</i></li></ul><ul><li><em>陈**</em><span>186******91</span><i>17分钟前</i></li><li><em>张**</em><span>186******66</span><i>17分钟前</i></li><li><em>王**</em><span>186******83</span><i>18分钟前</i></li><li><em>张**</em><span>138******12</span><i>18分钟前</i></li><li><em>章**</em><span>138******61</span><i>18分钟前</i></li><li><em>黎**</em><span>139******20</span><i>19分钟前</i></li><li><em>李**</em><span>137******16</span><i>19分钟前</i></li><li><em>姜**</em><span>138******72</span><i>20分钟前</i></li><li><em>周**</em><span>150******39</span><i>20分钟前</i></li><li><em>陈**</em><span>132******97</span><i>20分钟前</i></li><li><em>董**</em><span>133******22</span><i>21分钟前</i></li><li><em>王**</em><span>158******71</span><i>21分钟前</i></li></ul><ul><li><em>刘**</em><span>137******00</span><i>21分钟前</i></li><li><em>黄**</em><span>155******46</span><i>21分钟前</i></li><li><em>苟**</em><span>136******02</span><i>21分钟前</i></li><li><em>陈**</em><span>188******87</span><i>22分钟前</i></li><li><em>王**</em><span>186******51</span><i>22分钟前</i></li><li><em>王**</em><span>156******11</span><i>23分钟前</i></li><li><em>杜**</em><span>186******42</span><i>24分钟前</i></li><li><em>袁**</em><span>158******23</span><i>24分钟前</i></li><li><em>王**</em><span>139******07</span><i>25分钟前</i></li><li><em>詹**</em><span>186******13</span><i>25分钟前</i></li><li><em>黄**</em><span>135******27</span><i>25分钟前</i></li><li><em>龙**</em><span>135******18</span><i>26分钟前</i></li></ul><ul><li><em>秦**</em><span>186******59</span><i>26分钟前</i></li><li><em>陈**</em><span>189******77</span><i>27分钟前</i></li><li><em>章**</em><span>186******89</span><i>27分钟前</i></li><li><em>谭**</em><span>130******01</span><i>28分钟前</i></li><li><em>朱**</em><span>186******69</span><i>28分钟前</i></li><li><em>李**</em><span>133******77</span><i>28分钟前</i></li><li><em>徐**</em><span>186******25</span><i>29分钟前</i></li><li><em>王**</em><span>136******85</span><i>29分钟前</i></li><li><em>黄**</em><span>134******03</span><i>29分钟前</i></li><li><em>沈**</em><span>139******85</span><i>30分钟前</i></li><li><em>季**</em><span>153******54</span><i>30分钟前</i></li><li><em>胡**</em><span>151******22</span><i>31分钟前</i></li></ul><ul><li><em>刘**</em><span>186******13</span><i>33分钟前</i></li><li><em>欧**</em><span>139******22</span><i>33分钟前</i></li><li><em>潘**</em><span>153******91</span><i>35分钟前</i></li><li><em>盘**</em><span>180******72</span><i>36分钟前</i></li><li><em>李**</em><span>137******20</span><i>36分钟前</i></li><li><em>宋**</em><span>139******19</span><i>36分钟前</i></li><li><em>邓**</em><span>136******80</span><i>36分钟前</i></li><li><em>杨**</em><span>181******16</span><i>37分钟前</i></li><li><em>闫**</em><span>139******37</span><i>37分钟前</i></li><li><em>马**</em><span>159******22</span><i>38分钟前</i></li><li><em>曾**</em><span>136******58</span><i>39分钟前</i></li><li><em>阿**</em><span>186******26</span><i>39分钟前</i></li></ul><ul><li><em>黎**</em><span>186******24</span><i>40分钟前</i></li><li><em>蔡**</em><span>138******47</span><i>41分钟前</i></li><li><em>郭**</em><span>138******73</span><i>41分钟前</i></li><li><em>谢**</em><span>180******80</span><i>42分钟前</i></li><li><em>乐**</em><span>137******31</span><i>43分钟前</i></li><li><em>s**</em><span>186******03</span><i>43分钟前</i></li><li><em>张**</em><span>138******76</span><i>44分钟前</i></li><li><em>陈**</em><span>153******64</span><i>44分钟前</i></li><li><em>谭**</em><span>158******03</span><i>46分钟前</i></li><li><em>黄**</em><span>186******10</span><i>46分钟前</i></li><li><em>李**</em><span>186******86</span><i>46分钟前</i></li><li><em>陈**</em><span>184******77</span><i>47分钟前</i></li></ul> </div> </div> </div> <!--右侧浮标--> <div class="fixMod"> <div class="suggest"><a href="//my.pcauto.com.cn/action/report/report.jsp" target="_blank"><i class="icon"></i><em>意见反馈</em></a></div> <div class="goTop" id="JgoTop"><a href="javascript:window.scrollTo(0,0);"><i class="icon"></i><em>返回顶部</em></a></div> </div> <!--内容结束--> <!--js开始--> <script src="//js.3conline.com/min/temp/v1/lib-jquery1.10.2.js"></script> <script src="//js.3conline.com/min/temp/v1/dpl-jquery.slide.js"></script> <script src="//js.3conline.com/js/ztlib/checkForm2.0.js" charset="utf-8"></script> <script src="//js.3conline.com/min2/temp/v2/plugin-locate,plugin-locate_auto.js" charset="utf-8"></script> <script src="//www.pcauto.com.cn/global/1603/intf8771.js" charset="gbk"></script> <script src="//js.3conline.com/pcauto/2017/price/js/pcCityPop.js" charset="gbk"></script> <script src="//js.3conline.com/pcautonew2/pc/lib/cxpop.js" charset="utf-8"></script> <!-- 20190903 提交名单解耦 --> <script src="//js.3conline.com/pcautonew2/pc/common/lib/dpl-windowname_v4_ts.js" charset="utf-8"></script> <!-- 20190401 新增js --> <script> // =============zhenglichun-start================ $(function(){ // 请求判断是否使用短信验证和同意声明 $.ajax({ type: 'GET', url: "https://qdfront.pcauto.com.cn/interface/order/getOrderVerifyCtrl.xsp?positionId=10", 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"); } }else{ console.log("获取控制状态失败") } } }); }) // =============zhenglichun-end================ var cityId = ''; // 20190401新增城市id入口 var dealerIds = '1099213'; var boxSales = { action: '//pocket.pcauto.com.cn/interface/sales/get_sales_list.jsp', cityId: '', proId: '', brandId: '', sgId: '', hasData: 0, o: { o1: $('#box-sales'), o2: $('#box-sales-bd') }, show: function () { if (this.hasData == 1) { this.o.o1.show(); } }, hide: function () { this.o.o1.hide(); }, getDateDiff: function(oldTime, nowTime){ var minute = 1000 * 60; var hour = minute * 60; var day = hour * 24; var halfamonth = day * 15; var month = day * 30; var now = nowTime; var diffValue = now - oldTime; if(diffValue < 0){return;} var monthC =diffValue/month; var weekC =diffValue/(7*day); var dayC =diffValue/day; var hourC =diffValue/hour; var minC =diffValue/minute; if(monthC>=1){ // result="" + parseInt(monthC) + "月前"; result="7天前"; // 特殊处理 } else if(weekC>=1){ // result="" + parseInt(weekC) + "周前"; result="7天前"; // 特殊处理 } else if(dayC>=1){ if (parseInt(dayC) > 7) { result="7天前"; // 特殊处理 } else { result=""+ parseInt(dayC) +"天前"; } } else if(hourC>=1){ result=""+ parseInt(hourC) +"小时前"; } else if(minC>=1){ result=""+ parseInt(minC) +"分钟前"; }else { result="刚刚"; } return result; }, showData: function (data) { // console.log(data) this.hasData = 0; if (data.code == 1) { if (data.data && data.data.list && data.data.list.length > 0) { this.hasData = 1; var html = ''; var d = data.data.list; var i = 0; for (i = 0; i < d.length; i++) { html += '<dl>'; html += ' <dt>'; html += ' <div class="box-sales-pic">'; html += ' <img src="'+d[i].headUrl+'" alt="" />'; html += ' </div>'; html += ' <div class="box-sales-info">'; html += ' <i class="i1">'; html += ' <em>'+d[i].name+'</em>'; html += ' <span>实名认证</span>'; html += ' </i>'; html += ' <i class="i2">'+d[i].shortName+'</i>'; html += ' <i class="i3">'+this.getDateDiff(d[i].loginTime, data.data.serverTime)+'回复过</i>'; html += ' </div>'; html += ' </dt>'; html += ' <dd>'; html += ' <a href="javascript:">'; html += ' <i>微信咨询</i>'; html += ' <span class="sales-tym"> '; html += ' <cite></cite> '; html += ' <em>微信扫码咨询</em> '; html += ' <img width="112" height="112" src="'+d[i].xcxQrCode+'" alt=""> '; html += ' </span>'; html += ' </a>'; html += ' </dd>'; html += '</dl>'; } this.o.o2.html(html); this.show(); } else { this.hide(); } } else { this.hide(); } }, getData: function () { var t = this; // 获取车系 $.ajax({ type: "get", url: this.action, data: { regionId: this.cityId, pageNum: 1, pageSize: 3, brandId: this.brandId, sgId: this.sgId, provinceId: this.proId, dealerIds:dealerIds }, dataType: "jsonp", jsonp: "callback", jsonpCallback:'get_sales_list1', cache: true, timeout: 0, // timeout默认是0, 当类型是jsonp时,必须要设置timeout大于0才能执行ajax的error回调 success: function(data){ t.showData(data); }, error: function(status){ } }); }, set: function (json) { if (!(json.brandId || json.sgId) && !(json.cityId || json.proId)) { return; } if (json.brandId) { this.brandId = json.brandId } if (json.sgId) { this.sgId = json.sgId } if (json.cityId) { this.cityId = json.cityId } if (json.proId) { this.proId = json.proId } this.getData(); }, init: function (json) { this.set(json); } } </script> <script> var brandId = '205'; //品牌id var serialId = '7132';// 车系id var modelId = '118683'; //车型id var mName = 'MINI CABRIO 2023款 2.0T COOPER S 海岸线纪念版'; //车型名称 var mPrice = '37.88';//车型官方价 var regionId = '4'; //城市id var dealerId = '1099213'; //经销商id var saleProvince = ''; //省份 var saleProvinceId = '5'; // 省份id var saleCity = '深圳'; //城市 var saleCityId = '4'; // 城市id var saleCityIds = ''; // 本市区域 var saleType = '1'; // 0售本市,1售本省,2售全国(不限),3售多市 var isAllot = 0; //是否自动分配商家,1:是,0:否 var redirect_url1 = "";//验证码的下一个页面 var redirect_url2 = "";//验证码页 saleType = parseInt(saleType); // 20190401 新增 右侧认证销售 boxSales.set({ sgId: serialId, cityId: saleCityId }); var formBm = { /** * 页面用到的接口集合 */ action: { region_ipArea: 'https://qdfront.pcauto.com.cn/qd/common/intf/getCityByCode', // 获取城市信息 ?m=getCityById&encode=utf8&cityCode= serial_group_infos: '//price.pcauto.com.cn/price/api/v1/serialgroup/serial_group_infos', // 获取车系信息 getModelBySerialGroupId: '//jr.pcauto.com.cn/interface/inner/getModelBySerialGroupId.jsp', // 获取金融车型信息 serialGroupId=1726&productId=3072 impressions: '//price.pcauto.com.cn/comment/interface/auto/serial/get_comment_impressions_sg_json.jsp', // 获取印象 getLowestModelPrice4All: 'https://qdfront.pcauto.com.cn/interface/order/price/getLowestModelPrice4All.xsp',//获取全国最低价 getModelPriceByDid: 'https://qdfront.pcauto.com.cn/interface/order/price/getModelPriceByDid.xsp',//获取该经销商报价 order_serial_json_chooser: 'https://qdfront.pcauto.com.cn/interface/order/dealer/order_serial_json_chooser.xsp' // 当前支持的品牌+车系 dealerId=46624 }, /** * 获取cookie * @param {[string]} name [cookie名] * @return {[string]} [匹配到的cookie值] */ getCookie: function(name) { return decodeURIComponent(document.cookie.replace(new RegExp(".*(?:^|; )" + name + "=([^;]*).*|.*"), "$1")) }, /** * 事件计算 * @param {[number]} id [事件id] */ count : function(id){ var img = new Image; img.src = "//count.pcauto.com.cn/count.php?channel="+id+"&screen="+screen.width+"*"+screen.height+"&refer="+encodeURIComponent(document.referrer)+"&anticache="+new Date().getTime()+"&url="+encodeURIComponent(location.href)+"&from=event"; }, /** * 车型数据 */ modelData: { mId: '', mName: '', bId: '', bName: '', sgId: '', sgName: '', modelId: '', modelName: '' }, /** * 现有车系(置换购车) */ sgData: { }, /** * 获取车型 * @Author 你的名字 * @param {[object]} sgbox [获取到车型后要显示的jq对象] * @param {Function} fn [获取成功后的回调] */ getModle: function (sgbox, fn) { var t = this; if (serialId) { // 获取车系 $.ajax({ type: "get", url: t.action.serial_group_infos, data: { sgid:serialId, ptl:1 }, dataType: "jsonp", jsonp: "callback", jsonpCallback:'seriaData', cache: true, timeout: 0, // timeout默认是0, 当类型是jsonp时,必须要设置timeout大于0才能执行ajax的error回调 success: function(data){ if (data.sgId) { $('#form-sg-pic').attr('src', data.baiPicSrc_180x135 || data.sgPhotoSrc); $('#form-sg-name').html(data.sgName); t.modelData.sgId = data.sgId; t.modelData.sgName = data.sgName; t.modelData.bId = data.bId; t.modelData.bName = data.bName; t.modelData.mId = data.manuId; t.modelData.mName = data.manuName; sgbox && sgbox.show(); fn && fn(); } }, error: function(status){ } }); } }, handleModel: function (pids, sids) { var t = this; var sgbox = $('#form-sg'); var sgctr = $('#form_sg_da'); var mdstr = $('#form-sg-md'); var sg_tips = $('#sg_tips'); var hasHide = false; var hasDone = false; var json = { id: 'form_sg_da', sales: false, price: true, modelShowType: 2, mrBack: function(data, dat){ if(data && data.chexing.id && data.chexing.title){ t.modelData.modelId = data.chexing.id; t.modelData.modelName = data.chexing.title; mdstr.html(data.chexing.title + ' ('+data.chexing.price+')'); }else if (dat && dat.dataC && dat.dataC.cars && dat.dataC.cars.length > 0) { if(modelId > 0){ t.modelData.modelId = modelId; t.modelData.modelName = mName; t.modelData.price = mPrice; mdstr.html(mName+'('+mPrice+')'); }else{ t.modelData.modelId = dat.dataC.cars[1].id; t.modelData.modelName = dat.dataC.cars[1].text; mdstr.html(dat.dataC.cars[1].text+'('+dat.dataC.cars[1].price+')'); } } t.getAther(); // 获取本地报价和印象 }, openBack: function () { sgctr.addClass('form-sg-dahover'); sg_tips.html(''); }, closeBack: function () { sgctr.removeClass('form-sg-dahover'); } } if(sids){ json.sids = sids; } if(pids){ json.pids = pids; } if (serialId) { sgbox.removeClass('form-sgn'); sgctr.html(sgctr.attr('data-tips1')+'<em></em>'); this.getModle(sgbox, function () {}); json.defaults = [brandId,serialId, modelId];//分别是品牌id,车系id,车型id json.step3 = function (data) { t.modelData.modelId = data.chexing.id; t.modelData.modelName = data.chexing.title; serialId = data.chexi.id; mdstr.html(data.chexing.title + ' ('+data.chexing.price+')'); t.getModle(null, function () {}); t.getAther(); // 获取本地报价和印象 if (!hasHide) { hasHide = true; $("#carTips").hide(); $("#carErrTips").hide(); } } } else { sgctr.html(sgctr.attr('data-tips')+'<em></em>'); sgbox.show(); json.step3 = function (data) { t.modelData.modelId = data.chexing.id; t.modelData.modelName = data.chexing.title; sgbox.removeClass('form-sgn'); serialId = data.chexi.id; mdstr.html(data.chexing.title + ' ('+data.chexing.price+')'); t.getModle(null, function () {}); t.getAther(); // 获取本地报价和印象 if (!hasHide) { hasHide = true; $("#carTips").hide(); $("#carErrTips").hide(); }; if (!hasDone) { hasDone = true; sgctr.html(sgctr.attr('data-tips1')+'<em></em>'); } } } var p33 = new cxpop(json); // 置换旧车系 if (document.getElementById('oldCar')) { var sosBtn = $('#oldCar'); var oldCar_tips = $('#oldCar_tips'); var json = { id: 'oldCarChoose', sales: false, price: true, step: 2, openBack: function () { sosBtn.addClass('form-sg-dahover'); }, closeBack: function () { sosBtn.removeClass('form-sg-dahover'); }, step2: function (data) { t.sgData = { bId: data.brand.id, bName: data.brand.title, sgId: data.chexi.id, sgName: data.chexi.title } $('#oldCar').val(data.chexi.title); $('#oldCarId').val(data.chexi.id); oldCar_tips.html(''); } } var p34 = new cxpop(json); } }, model: function () { var t = this; $.ajax({ type: "get", url: t.action.order_serial_json_chooser, data: { dealerId:dealerId }, dataType: "jsonp", jsonp: "callback", jsonpCallback:'order_serial_json_chooser', cache: true, timeout: 0, // timeout默认是0, 当类型是jsonp时,必须要设置timeout大于0才能执行ajax的error回调 success: function(data){ if (data && data.firms) { var pids = ''; var sids = ''; var i = 0; var n = data.firms.length; for (i = 0; i < n; i++) { if (!pids) { pids = data.firms[i].bid; sids = data.firms[i].id; } else { pids += ','+ data.firms[i].bid; sids += ','+ data.firms[i].id; } } t.handleModel(pids, sids); } else { t.handleModel(); } }, error: function(status){ t.handleModel(); } }); }, /** * 显示地区信息 * @param {[string]} city 城市名字 * @param {[string]} cityId 城市id * @param {[string]} cityCode 城市编码 * @param {[string]} obj [点击对象] */ showArea: function (city, cityId, cityCode, obj) { regionId = cityId; var isok = true; var str = ''; if (saleType == 0) { // 0售本市 if (cityId != saleCityId) { isAllot = 1; isok = false; str = '温馨提示:该商家无法接待'+ saleCity +'外的客户,汽车商城将推荐更合适的商家为您服务。'; } } else if (saleType == 1) { // 1售本省 // 遍历省份之类的,校验是否在范围内 var i = 0; var n = areaData.length; var j = 0; var m = 0; var np = 0; for (i = 0; i < n; i++) { m = areaData[i].citys.length; for (j = 0; j < m; j++) { if (cityId == areaData[i].citys[j].cityId) { if (areaData[i].proId) { np = areaData[i].proId } else { // 直辖市, 变成判断城市 np = '00' } } } } if (np == '00') { if (cityId != saleCityId) { isAllot = 1; isok = false; str = '温馨提示:该商家无法接待'+ saleProvince +'外的客户,汽车商城将推荐更合适的商家为您服务。'; } } else { if (saleProvinceId != np) { isAllot = 1; isok = false; str = '温馨提示:该商家无法接待'+ saleProvince +'外的客户,汽车商城将推荐更合适的商家为您服务。'; } } } else if (saleType == 2) { // 2售全国(不限) if('true'){ isAllot =0 ; } } else if (saleType == 3) { // 3售多市 var i = 0; var n = areaData.length; var j = 0; var m = 0; var np = 0; for (i = 0; i < n; i++) { m = areaData[i].citys.length; for (j = 0; j < m; j++) { if (cityId == areaData[i].citys[j].cityId) { if (areaData[i].proId) { np = areaData[i].proId } else { // 直辖市, 变成判断城市 np = '00' } } } } // 匹配省份 var sta = [0,0]; if (np != '00') { // 有省份id if (saleCityIds.indexOf('p' + np + ',') != -1) { sta[0] = 1; } } else { // 没有,流到城市 sta[0] = 1; } if (cityId) { // 有城市id if (saleCityIds.indexOf('r' + cityId + ',') != -1) { sta[1] = 1; } } if (!sta[0] || !sta[1]) { isok = false; str = '温馨提示:该商家无法接待您选择区域的客户,汽车商城将推荐更合适的商家为您服务。'; isAllot = 1; }else{ isAllot = 0; } } if (isok) { $('#area_tips').html('<i class="icon-success"></i>'); } else { $('#area_tips').html('<i class="icon-error"></i>' + str); } $('#area').val(city).removeClass('form-con-gray'); this.cityData = { city: city, cityId: cityId, cityCode: cityCode }; return { isok: isok, str: str } }, getAreaById: function (id, fn) { var t = this; var param = { cityId: id } $.ajax({ type: "get", url: t.action.region_ipArea, data: param, timeout: 0, // timeout默认是0, 当类型是jsonp时,必须要设置timeout大于0才能执行ajax的error回调 success: function(data){ fn && fn(data); }, error: function(status){ } }); }, /** * 城市定位和城市选择弹窗 */ bindArea: function () { var t = this; // 有城市id,直接拿数据 if (regionId) { t.getAreaById(regionId, function (res) { if (res.code==0 && res.data.list && res.data.list.length > 0) { var cityInfo = res.data.list[0]; t.showArea(cityInfo.cityName, cityInfo.cityId, cityInfo.cityCode) } }); } else { // ip定位 LocateAuto.init({ device: 'pc', cityCode: '', callback:function(data){ t.showArea(data.city, data.cityId, data.cityCode) } }); } //城市选择 var cityPop1 = new cityPop({ "openBtn": "cityChoose", //打开弹框按钮ID "cityBox": "cityShow", //弹层ID "searchInp": "sCity1", //搜索框ID "searchResult": "sResult1", //搜索结果层ID "hotsCity": "hotsCity1", //热门城市ID "tipNo": "tipNo1", //无结果提示ID "tipGo": "tipGo1", //直达提示ID "resultList": "resultList1", //搜索结果列表ID "closeBtn": "sClose1", //关闭按钮ID "letArea": "letArea1", //字母列表ID "cityArea": "cityArea1" //城市列表ID }, function (e) { var e = window.event || e, target = e.srcElement || e.target, isAnchor = target.getAttribute("data") == "anchor" ? true : false; isSearchCity = target.getAttribute("data") == "search" ? true : false; if (target.tagName.toLowerCase() === "a" || target.parentNode.tagName.toLowerCase() === "a") { if (!isAnchor) { var city; var code = target.getAttribute("data-code"); var cityId = target.getAttribute("data-mid"); if (!isSearchCity) { city = target.innerHTML; } else { city = target.childNodes[0].innerHTML; } curCity = city;//城市名 curCityId = cityId;//城市id curCode = code;//ip库城市id t.showArea(curCity, curCityId, curCode, target) e.preventDefault ? (e.preventDefault()) : (e.returnValue = false); } } }); }, bind: function () { //自动填写用户信息 /* var userInfo = this.getCookie('_pcauto_order_info_'); if (userInfo.indexOf('__') != -1) { var arr = userInfo.split("__"); $("#name").val(arr[0]); $("#phone").val(arr[1]); } *///20190421 //名单滚动 new Slide({ target: $( '#slide ul' ), control: false, effect: 'slide', merge: true, stay:5000, direction: 'y', autoPlay: true }); }, /** * 表单单项检查 */ checkForm: function () { var t = this; // 地区校验 var area_tips = $('#area_tips'); window.carea = new checkForm({ id: '#area', placeholderClass: 'form-con-gray', //ie下灰色提示样式 rule: function (d) { var str = '',v = d.val(),ck = true; if (!v || v == d.attr('placeholder')) {str = '请选择地区';ck = false;} if (ck) { var st = t.showArea(t.cityData.city, t.cityData.cityId, t.cityData.cityCode); if (!st.isok) { str = st.str; ck = st.isok; } } return { "status": ck, "msg": str } }, ruleResult: function (t, data) { if (!data.status) { area_tips.html('<i class="icon-error"></i>' + data.msg); } else { area_tips.html('<i class="icon-success"></i>'); } }, blurCheck: true, keyupCheck: true }); // 姓名校验 var name_tips = $('#name_tips'); window.cname = new checkForm({ id: '#name', placeholderClass: 'form-con-gray', //ie下灰色提示样式 rule: function (d) { var str = '',v = d.val(),reg = /^[A-Za-z\u4e00-\u9fa5]{1,20}$/,ck = true; if (!v || v == d.attr('placeholder')) {str = '请输入姓名';ck = false;} if (ck) { if (v.length > 5) {str = '请填写5位数以内的姓名';ck = false;} } if (ck) { if (!reg.test(v)) {str = '仅支持中文和英文';ck = false;} } return { "status": ck, "msg": str } }, ruleResult: function (t, data) { if (!data.status) { name_tips.html('<i class="icon-error"></i>' + data.msg); } else { name_tips.html('<i class="icon-success"></i>'); } }, blurCheck: true, keyupCheck: true }); // 电话校验 var phone_tips = $('#phone_tips'); window.cphone = new checkForm({ id: '#phone', placeholderClass: 'form-con-gray', //ie下灰色提示样式 rule: function (d) { var str = '',v = d.val(),reg = /^1[3-9]\d{9}$/,ck = true; if (!v || v == d.attr('placeholder')) {str = '请输入手机号';ck = false;} if (ck) { if (!reg.test(v)) {str = '请输入正确的手机号';ck = false;} } return { "status": ck, "msg": str } }, ruleResult: function (t, data) { if (!data.status) { phone_tips.html('<i class="icon-error"></i>' + data.msg); } else { phone_tips.html('<i class="icon-success"></i>'); } }, blurCheck: true, keyupCheck: true }); // 个人信息披露及保护声明校验 var chkSM_tips = $('#chkSM_tips'); window.cchkSM = new checkForm({ id: '#chkSM', rule: function (d) { var str = '',v = d[0].checked,reg = /^1[3-9]\d{9}$/,ck = true; if (!v) {str = '请勾选《个人信息披露及保护声明》';ck = false;} return { "status": ck, "msg": str } }, ruleResult: function (t, data) { if (!data.status) { chkSM_tips.html('<i class="icon-error"></i>' + data.msg); } else { chkSM_tips.html(''); } }, clickCheck: true }); // 验证码校验 var code_tips = $('#code_tips'); window.ccaptcha = new checkForm({ id: '#captcha', rule: function (d) { var str = '',v = d[0].value,reg = /^[A-Za-z0-9]{5}$/,ck = true; if (!v) {str = '请填写验证码';ck = false;} if (ck) { if (!reg.test(v)) {str = '请填写正确的验证码';ck = false;} } return { "status": ck, "msg": str } }, ruleResult: function (t, data) { if (!data.status) { code_tips.html('<i class="icon-error"></i>' + data.msg); } else { code_tips.html(''); } }, blurCheck: true, keyupCheck: true }); // 现有车系校验 if('0' == '4'){ var oldCar_tips = $('#oldCar_tips'); window.coldcar = new checkForm({ id: '#oldCar', rule: function (d) { var str = '',v = d[0].value,reg = /^[A-Za-z0-9]{5}$/,ck = true; if (!v) {str = '选择现有车系';ck = false;} return { "status": ck, "msg": str } }, ruleResult: function (t, data) { if (!data.status) { oldCar_tips.html('<i class="icon-error"></i>' + data.msg); } else { oldCar_tips.html(''); } }, blurCheck: true, keyupCheck: true }); } }, /** * 提交表单 */ submitForm: function () { var t = this; var isSubmit = false; var captchaContent = $('#captchaContent'); var code_tips = $('#code_tips'); captchaContent.bind('click', function () { code_tips.html(''); }); $('#btn').bind('click', function () { // 提交中,直接返回 if (isSubmit) { return; } var status = true, dc = null; if (t.modelData && !t.modelData.modelId) { var sg_tips = $('#sg_tips'); sg_tips.html('<i class="icon-error"></i> 请选择车型'); status = false; } // 检查地区 dc = carea.checks(); if (!dc.status) {status = false;} // 检查姓名 dc = cname.checks(); if (!dc.status) {status = false;} // 检查电话 dc = cphone.checks(); if (!dc.status) {status = false;} // 检查个人信息声明 dc = cchkSM.checks(); if (!dc.status) {status = false;} // 检查现有车系(置换购车) if('0' == '4'){ dc = coldcar.checks(); if (!dc.status) {status = false;} } // 验证码按需校验,如果打开开关的才校验 if ($('#captchaContent').css("display") != "none") { dc = ccaptcha.checks(); if (!dc.status) {status = false;} } var vfCodeBoxStatus = false; if ($('#vfCodeBox').css("display") == "none") { vfCodeBoxStatus = true; } if (!status) { //校验不通过 }else if (vfCodeBoxStatus) { isSubmit = true; var mid = t.modelData.modelId;//车型id var sgid = t.modelData.sgId;//车系id var rid = t.cityData.cityId;// 城市数据 var name = cname.getValue(); // 获取姓名 var phone = cphone.getValue();// 获取电话 var oldSerialGroupId = '';//置换购车中的现有车系 var gcfs = ''; // 购车方式 var gcsj = ''; // 购车时间 var code = '';//验证码 //置换购车-现有车系 if('false'){ oldSerialGroupId = $("#oldCarId").val(); } // 如果开启购车方式,获取值 if (t.gcfs) { $('#gcfs input').each(function () { if ($(this).prop('checked')) { gcfs = $(this).val(); } }); if (gcfs == 1) { $('#gcsj a').each(function () { if ($(this).hasClass('current')) { gcsj = $(this).attr('data-value'); } }); } } if ($('#captchaContent').css("display") != "none") { code = ccaptcha.getValue(); } var referer = window.location.href; //分期购车计数 if('false'){ t.count(855); } var entryPortal=1; var orderEntryUrl = 'https://qdcore.pcauto.com.cn/order/internal/commEntry.xsp'; if('DealerCommOrder' == 'DealerDrive'){ orderEntryUrl = 'https://qdcore.pcauto.com.cn/order/internal/driveEntry.xsp'; entryPortal=3; }else if('DealerCommOrder'=='DealerReplace'){ orderEntryUrl = 'https://qdcore.pcauto.com.cn/order/internal/replaceEntry.xsp'; entryPortal=4; } //特殊链接导入名单 var orderPortal = 0 ; var entryid=0; if('0' == '-1'){ orderPortal = 14; orderEntryUrl = 'https://qdcore.pcauto.com.cn/order/internal/outerEntry.xsp'; entryPortal=0; entryid=1169; }else if(orderPortal == 0 && '0' != ''){ orderPortal = '0'; }else if('0' == '3'){ orderPortal = 16; entryPortal=2; } var orderEntryId=0; phoneEncode('https://etguard.pcauto.com.cn:81/encrypt.xsp', phone, function (encryptPhone) { var postData={ dealerId:'1099213', domainName:'DealerCommOrder', referer:referer, refererType:2, origin:1, isAllot:isAllot, buyDate:gcsj, payType:gcfs, fenqi:'0', dealerFinProdId:'0', finDownPayment:'0', loanAmount:'0', monthlyPayment:'0', serialGroupId: sgid, original_serialGroupId:oldSerialGroupId, modelId: mid, regionId: rid, name: name, phone: encryptPhone, captcha: code, mtCode :'0', orderPortal : orderPortal, needGuard: 1, entryPortal:entryPortal, entryid: entryid }; postData.verifyStatus = 1; addOrder(orderEntryUrl, postData, function(d){ if(d && d.code==0){ var data = d.data; orderEntryId = data.id; if(data && (typeof data=='string')){ data=eval("("+data+")"); }; var param = ""; var award = 0; var lotteryId = 0; if (data) { if(data.repeat){ alert("会话超时,请刷新页面重新提交!"); isSubmit = false; return; } if (data.captchaResult != undefined) { if (data.captchaResult == -1) $("#code_tips").html('<i class="icon-error"></i>请输入验证码'); else $("#code_tips").html('<i class="icon-error"></i>请重新输入验证码'); var yzm = $('#yzm'); $('#captchaContent').show(); yzm.attr('src', '//captcha.pcauto.com.cn/captcha/v.jpg?' + new Date().getTime()); yzm.unbind(); yzm.bind('click', function () { yzm.attr('src', '//captcha.pcauto.com.cn/captcha/v.jpg?' + new Date().getTime()); }); isSubmit = false;//按钮可提交 return; } var provinceId = 5; var sgId = 0; var modelId = 0; var phone=""; var t = 0;//订单类型 var dealerId = 0; var regionId = 0; if (data.dealerId != undefined && data.dealerId != null){ dealerId = data.dealerId; } if (data.provinceId != undefined && data.provinceId != null) { provinceId = data.provinceId; } if (data.sgId != undefined && data.sgId != null) { sgId = data.sgId; } else { sgId = serialId; } if (data.modelId != undefined && data.modelId != null) { modelId = data.modelId; } else { modelId = modelId; } 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); } if(data.regionId!=undefined && data.regionId!=null){ regionId = data.regionId; } param = "dealerId=1099213&type=0&t="+t+"&sg=" + sgId + "&p=" + provinceId + "&r"+ regionId + "&m=" + modelId + "&d="+dealerId+"&award="+award+"&l="+lotteryId+"&phone="+phone+"&clueId="+data.id+"&orderEntryId="+orderEntryId + "&referer=" + encodeURIComponent(location.href); // 添加ad监控 //20151231调整:询价ad=4339 , 试驾ad=5753 , 置换ad=5754 var ad ; var type = '0'; if(type== 0){ ad = '#ad=4339'; }else if(type== 2){ ad = '#ad=5753'; }else if(type== 4){ ad = '#ad=5754'; } var name = $('#name').val(); if('true'){ if(type==3){//分期购车不传ad号 redirect_url1 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_information.xsp?' + param; redirect_url2 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_verify.xsp?dealerId=1099213&redirect_url='+encodeURIComponent(redirect_url1)+ "&orderEntryId="+orderEntryId+"&tId="+data.tId+"&phone="+encodeURIComponent(data.phone)+"&modelId="+data.modelId+"&serialGroupId="+data.sgId+"&regionId="+data.regionId+"&name="+encodeURIComponent(name); }else{ redirect_url1 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_information.xsp?' + param; redirect_url2 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_verify.xsp?dealerId=1099213&redirect_url='+encodeURIComponent(redirect_url1)+ "&orderEntryId="+orderEntryId+"&tId="+data.tId+"&phone="+encodeURIComponent(data.phone)+"&modelId="+data.modelId+"&serialGroupId="+data.sgId+"&regionId="+data.regionId+"&name="+encodeURIComponent(name); } }else{ if(type==3){ redirect_url1 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_information.xsp?' + param; redirect_url2 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_verify.xsp?dealerId=1099213&redirect_url='+encodeURIComponent(redirect_url1)+ "&orderEntryId="+orderEntryId+"&tId="+data.tId+"&phone="+encodeURIComponent(data.phone)+"&modelId="+data.modelId+"&serialGroupId="+data.sgId+"&regionId="+data.regionId+"&name="+encodeURIComponent(name); }else{ redirect_url1 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_information.xsp?' + param; redirect_url2 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_verify.xsp?dealerId=1099213&redirect_url='+encodeURIComponent(redirect_url1)+ "&orderEntryId="+orderEntryId+"&tId="+data.tId+"&phone="+encodeURIComponent(data.phone)+"&modelId="+data.modelId+"&serialGroupId="+data.sgId+"&regionId="+data.regionId+"&name="+encodeURIComponent(name); } } //是否为拉黑手机号 $.getJSON("https://qdfront.pcauto.com.cn/interface/order/check_blacklist_by_phone.xsp?phone="+encodeURIComponent(data.phone)+"&callback=?",function(data){ if(data && data.isBlacklist == 'true' || '0' == '-1'){// 是否发送验证码 mt=-1为不发送 window.location.href = redirect_url1; }else{ window.location.href = redirect_url1; } }); } else { alert("提交失败,请稍后再试!"); isSubmit = false;//按钮可提交 } } }); }); } else { //20200609增加短信验证码 校验验证码 var code = $('#verCode').val(); if(code==""){ alert("请输入验证码");return } else if(/[0-9]{6}/.test(code) && code.length==6){ $.getJSON("https://qdfront.pcauto.com.cn/interface/order/verify_msg_code.xsp?phone="+$('#phone').val()+"&code="+code, function(json){ if(json && json.code==0){ //20200609增加短信验证码 isSubmit = true; var mid = t.modelData.modelId;//车型id var sgid = t.modelData.sgId;//车系id var rid = t.cityData.cityId;// 城市数据 var name = cname.getValue(); // 获取姓名 var phone = cphone.getValue();// 获取电话 var oldSerialGroupId = '';//置换购车中的现有车系 var gcfs = ''; // 购车方式 var gcsj = ''; // 购车时间 var code = '';//验证码 //置换购车-现有车系 if('false'){ oldSerialGroupId = $("#oldCarId").val(); } // 如果开启购车方式,获取值 if (t.gcfs) { $('#gcfs input').each(function () { if ($(this).prop('checked')) { gcfs = $(this).val(); } }); if (gcfs == 1) { $('#gcsj a').each(function () { if ($(this).hasClass('current')) { gcsj = $(this).attr('data-value'); } }); } } if ($('#captchaContent').css("display") != "none") { code = ccaptcha.getValue(); } var referer = window.location.href; //分期购车计数 if('false'){ t.count(855); } var entryPortal=1; var orderEntryUrl = 'https://qdcore.pcauto.com.cn/order/internal/commEntry.xsp'; if('DealerCommOrder' == 'DealerDrive'){ orderEntryUrl = 'https://qdcore.pcauto.com.cn/order/internal/driveEntry.xsp'; entryPortal=3; }else if('DealerCommOrder'=='DealerReplace'){ orderEntryUrl = 'https://qdcore.pcauto.com.cn/order/internal/replaceEntry.xsp'; entryPortal=4; } //特殊链接导入名单 var orderPortal = 0 ; var entryid=0; if('0' == '-1'){ orderPortal = 14; orderEntryUrl = 'https://qdcore.pcauto.com.cn/order/internal/outerEntry.xsp'; entryPortal=0; entryid=1169; }else if(orderPortal == 0 && '0' != ''){ orderPortal = '0'; }else if('0' == '3'){ orderPortal = 16; entryPortal=2; } var orderEntryId=0; phoneEncode('https://etguard.pcauto.com.cn:81/encrypt.xsp', phone, function (encryptPhone) { var postData={ dealerId:'1099213', domainName:'DealerCommOrder', referer:referer, refererType:2, origin:1, isAllot:isAllot, buyDate:gcsj, payType:gcfs, fenqi:'0', dealerFinProdId:'0', finDownPayment:'0', loanAmount:'0', monthlyPayment:'0', serialGroupId: sgid, original_serialGroupId:oldSerialGroupId, modelId: mid, regionId: rid, name: name, phone: encryptPhone, captcha: code, mtCode :'0', orderPortal : orderPortal, needGuard: 1, entryPortal:entryPortal, entryid: entryid }; postData.verifyStatus = 1; addOrder(orderEntryUrl, postData, function(d){ if(d && d.code==0){ var data = d.data; orderEntryId = data.id; if(data && (typeof data=='string')){ data=eval("("+data+")"); }; var param = ""; var award = 0; var lotteryId = 0; if (data) { if(data.repeat){ alert("会话超时,请刷新页面重新提交!"); isSubmit = false; return; } if (data.captchaResult != undefined) { if (data.captchaResult == -1) $("#code_tips").html('<i class="icon-error"></i>请输入验证码'); else $("#code_tips").html('<i class="icon-error"></i>请重新输入验证码'); var yzm = $('#yzm'); $('#captchaContent').show(); yzm.attr('src', '//captcha.pcauto.com.cn/captcha/v.jpg?' + new Date().getTime()); yzm.unbind(); yzm.bind('click', function () { yzm.attr('src', '//captcha.pcauto.com.cn/captcha/v.jpg?' + new Date().getTime()); }); isSubmit = false;//按钮可提交 return; } var provinceId = 5; var sgId = 0; var modelId = 0; var phone=""; var t = 0;//订单类型 var dealerId = 0; var regionId = 0; if (data.dealerId != undefined && data.dealerId != null){ dealerId = data.dealerId; } if (data.provinceId != undefined && data.provinceId != null) { provinceId = data.provinceId; } if (data.sgId != undefined && data.sgId != null) { sgId = data.sgId; } else { sgId = serialId; } if (data.modelId != undefined && data.modelId != null) { modelId = data.modelId; } else { modelId = modelId; } 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); } if(data.regionId!=undefined && data.regionId!=null){ regionId = data.regionId; } param = "dealerId=1099213&type=0&t="+t+"&sg=" + sgId + "&p=" + provinceId + "&r"+ regionId + "&m=" + modelId + "&d="+dealerId+"&award="+award+"&l="+lotteryId+"&phone="+phone+"&clueId="+data.id+"&orderEntryId="+orderEntryId + "&referer=" + encodeURIComponent(location.href); // 添加ad监控 //20151231调整:询价ad=4339 , 试驾ad=5753 , 置换ad=5754 var ad ; var type = '0'; if(type== 0){ ad = '#ad=4339'; }else if(type== 2){ ad = '#ad=5753'; }else if(type== 4){ ad = '#ad=5754'; } var name = $('#name').val(); if('true'){ if(type==3){//分期购车不传ad号 redirect_url1 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_information.xsp?' + param; redirect_url2 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_verify.xsp?dealerId=1099213&redirect_url='+encodeURIComponent(redirect_url1)+ "&orderEntryId="+orderEntryId+"&tId="+data.tId+"&phone="+encodeURIComponent(data.phone)+"&modelId="+data.modelId+"&serialGroupId="+data.sgId+"&regionId="+data.regionId+"&name="+encodeURIComponent(name); }else{ redirect_url1 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_information.xsp?' + param; redirect_url2 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_verify.xsp?dealerId=1099213&redirect_url='+encodeURIComponent(redirect_url1)+ "&orderEntryId="+orderEntryId+"&tId="+data.tId+"&phone="+encodeURIComponent(data.phone)+"&modelId="+data.modelId+"&serialGroupId="+data.sgId+"&regionId="+data.regionId+"&name="+encodeURIComponent(name); } }else{ if(type==3){ redirect_url1 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_information.xsp?' + param; redirect_url2 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_verify.xsp?dealerId=1099213&redirect_url='+encodeURIComponent(redirect_url1)+ "&orderEntryId="+orderEntryId+"&tId="+data.tId+"&phone="+encodeURIComponent(data.phone)+"&modelId="+data.modelId+"&serialGroupId="+data.sgId+"&regionId="+data.regionId+"&name="+encodeURIComponent(name); }else{ redirect_url1 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_information.xsp?' + param; redirect_url2 = 'https://qdfront.pcauto.com.cn/order/pc/dealer/order_verify.xsp?dealerId=1099213&redirect_url='+encodeURIComponent(redirect_url1)+ "&orderEntryId="+orderEntryId+"&tId="+data.tId+"&phone="+encodeURIComponent(data.phone)+"&modelId="+data.modelId+"&serialGroupId="+data.sgId+"&regionId="+data.regionId+"&name="+encodeURIComponent(name); } } //是否为拉黑手机号 $.getJSON("https://qdfront.pcauto.com.cn/interface/order/check_blacklist_by_phone.xsp?phone="+encodeURIComponent(data.phone)+"&callback=?",function(data){ if(data && data.isBlacklist == 'true' || '0' == '-1'){// 是否发送验证码 mt=-1为不发送 window.location.href = redirect_url1; }else{ window.location.href = redirect_url1; } }); } else { alert("提交失败,请稍后再试!"); isSubmit = false;//按钮可提交 } } }); }); //20200609增加短信验证码 校验验证码 }else{ alert('验证码错误'); } }); }else{ alert("请正确输入6位验证码"); return } } }); }, /** * 本店报价和印象 */ getAther: function () { var t = this; // 获取印象 $.ajax({ type: "get", url: t.action.impressions, data: { sgid:this.modelData.sgId, type: 1, ydNum: 3 }, dataType: "jsonp", jsonp: "callback", jsonpCallback:'impressions', cache: true, timeout: 0, // timeout默认是0, 当类型是jsonp时,必须要设置timeout大于0才能执行ajax的error回调 success: function(data){ if (data && data.advantage && data.advantage.length > 0) { var cla = ['bgc-blud', 'bgc-green', 'bgc-lightblue']; var ij = 0; var htm = ''; var ijd = data.advantage; for (ij = 0; ij < ijd.length; ij++) { htm += '<i class="tag '+cla[ij%3]+'">'+ ijd[ij].impressionContent +'</i>'; } $('#form-sg-tag').html(htm); } }, error: function(status){} }); //获取经销商报价 $.ajax({ type: "get", url: t.action.getModelPriceByDid, data: { mId: this.modelData.modelId, dId: '1099213' }, dataType: "jsonp", jsonp: "callback", jsonpCallback:'getModelPriceByDid', cache: true, success: function(data){ if (data && data.row && data.row.dealerPrice) { data.row.dealerPrice = data.row.dealerPrice + ''; var html = '<span>本店报价</span>'; html += '<i>'+data.row.dealerPrice.split('.')[0]+'</i>'; html += '<em>.</em><i>?</i><i>?</i>'; html += '<span>万元起</span>'; $('#form-sg-lp').html(html); } }, error: function(status){ } }); $('#lowestDiscountPriceDiv').show(); }, init: function () { // 车系选择 this.model(); // 地区选择 this.bindArea(); // 绑定事件 this.bind(); // 表单检查 this.checkForm(); // 提交表单 this.submitForm(); } } //js入口 formBm.init(); </script> <script> //20200609增加短信验证码 function sendVerificationCode() { var dc = cphone.checks(); if (!dc.status) {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> <!--js结束--> <script class="defer" src="//www.pcauto.com.cn/global/s_footer/index.html" charset="GBK"></script> <script type="text/javascript" src="//price.pcauto.com.cn/cars/__counter.jsp?id=335666295"></script> <script>_submitIvyID();</script> </body> </html>

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