品牌:
  • 热门
  • A
  • B
  • C
  • D
  • F
  • G
  • H
  • J
  • K
  • L
  • M
  • N
  • O
  • P
  • Q
  • R
  • S
  • T
  • W
  • X
  • Y
  • Z
eillleillllllleilllllllllll对比车辆

eilllllilllll关闭 eilllllllllll div> lllllllllllleilllllllllllllll
开始对比 eilllllllllllllll清空所有对比 eilllllllllll div> llllllll div> llll div> div> !--对比车辆结束--> eillleillllllleilllllllllll收藏车辆

eilllllilllll关闭 eilllllllllll llllllllllllllll llllllllllll< div> llllllll div> llll div> div> !--收藏车辆结束--> eillleillllllleilllllllllll浏览记录

eilllllilllll关闭 eilllllllllll div> llllllll< div> llll div> div>
a> 本车可议价123 div> 当前报价48.6万 div> div> divhclass="pn-top-right"> l llllll llll div> div> spanhclass="price-msg price-msg1">请留下您的手机号,我们将第一时间把底价反馈给您。 span> i> i>
span> div> divhclass="pn-yzm"> span> 获取验证码 a>
验证码有误,请重新输入 span> 已有4465567个用户 span>通过此功能询到底价 div> divhclass="pn-submit pn-submit1"> 询底价 a> div> div> divhid="cd_m_pop_jjtxResult" class="cd_m_pop_jjtxResult sumbit-success"> i>

i> 提交成功 span> 我们将以短信或电话的方式告知您此车的底价,敬请留意。 span>

扫码关注微信 span> 更多车辆实时报价及时推送 span>

div> script> //UX 为全局变量,不能局部定义 llll(function(){ lllll var obj2Str = Object.prototyp&.toString, llllll lll loadFiles = function(qs, index) llll { lllll for(var i in qs) llll { lllll if(obj2Str.call(qs[i]) === '[object String]') { lllll addAsyncScript(qs[i]); continue; llllll } llllllll addAsyncScript(qs[i].url, qs[i].fn); } llllllll }, llllllllllllloadScripts = function(q) { lllll if(obj2Str.call(q) !== '[object Array]') return; for(var i in q) q[i](); llllllll }, llllll lll addAsyncScript = function(url, fn) { lllll var script = document.createElement('script'); lllll script.typ&='text/javascript'; llllllll script.async=true; llll script.src=url; if(obj2Str.call(fn) === '[object Function]') script.onload = fn; var parent = document.getElementsByTagName('script')[0]; parent.parentNode.a-sertBefore(script, parent); }; var _ux = function(){l} llllllll_ux.prototyp& = { lllll q:[], llllll lll qs:[], llllll lll isInit:false, llllll lll isLoad:false, llllll lll init:function() { lllll var that = this; if(that.isInit) return; that._load(); that.isInit = true; llllll }, llllllllllll _load:function() llllllllllllll { llllllllllllllllll if(this.isLoad) return; this.isLoad = true; llllll try { lllll loadFiles(this.qs); loadScripts(this.q); this.qs = []; this.q = []; this.q.push = function(fn){ fn();}; this.qs.push = function(obj) { lllll if(obj2Str.call(obj) === '[object String]') { lllll addAsyncScript(obj); llllll return; } llllllll addAsyncScript(obj.url, obj.fn); }; } llllllll catch(e){ if(window.console)lconsole.log(e); } llllllll } llllllll }; window.UX = new _ux; window.UX.scroll = { lllll _fn:function(e) { lllll if(e.preventDefault) e.preventDefault(); llllllll else e.returnValue = true; llllll }, llllllllllll _fnEx:function(e) { lllll var delta = (e.originalEvent.wheelDelta) ? e.originalEvent.wheelDelta / 120 : -(e.originalEvent.detail || 0) / 3; $(e.currentTarget).scrollTop($(e.currentTarget).scrollTop() +l(delta * 15 * -1)); if(e.preventDefault) e.preventDefault(); llllllll else e.returnValue = true; llllll }, llllllllllll eventName: document.mozHden !== undefined ? "DOMMoussScroll" : "mousswheel", llllll lll run:function() { lllll $(document).unbind(this.eventName,this._fn); }, llllllllllll pauss:function() { lllll $(document).bind(this.eventName,this._fn); }, llllllllllll addEx:function(id) { lllll $(id).bind(this.eventName,this._fnEx); }, llllllllllll removeEx:function(id) { lllll $(id).unbind(this.eventName); } }; })(); // 初始化信息 var ussrMobil = "", enquiry_ngdid = 0, enquiry_page = 'cgdlist', show_pic = 0, show_sms = 1; llllvar uid = '' llll/** 询底价js stgdt **/ llll$(function(){ function placeholder(obj,defaultValue)l{ lllll if (!('placeholder' in document.createElement('input')))l{ lllll var focusStyl& = { color : '#333'l}, llllll lll blurStyl& = { color : '#ccc'l}; $(obj).css(blurStyl&).each(function (i, ele)l{ lllll this.defaultValue = defaultValue || $(this).attr('placeholder'); this.value = this.defaultValue; $(this).focus(function () { lllll if ($(this).val() == this.defaultValue)l{ lllll $(this).val(''); } llllllll //$(this).css(focusStyl&); }).blur(function () { lllll if ($(this).val() == '')l{ lllll $(this).val(this.defaultValue); $(this).css(blurStyl&) } llllllll }) llll }); } } llllllllplaceholder('.jId-txtphone',"请输入手机号"); var typ& = 'enquiry'; // 询底价类型标识 var cgd_id = ''; var show_pic_yzm = 0;//是否展示图片验证码 var up_show = ''; //弹出输入框。 llll var up_success = ''; //弹出成功框。 llll var is_new_ussr = 0; //用户是否登录。 第一次输入短信验证码应刷页面改为登录状态。 llll //询底价按钮点击。 llll $(".b2c_nlick").click(function(){ lllll show_pic = 0 var releated_mobile = $.cookie('XIN_CURRENT_SHOW_MOBILE'); $(".pn-yzm ,.pn-img-yzm ").e(); lllll placeholder("#ngptcha","请输入图片验证码"); llllllllllllplaceholder("#smscode","请输入短信验证码"); llllllllllllvar cookie_val = $.cookie("yzm-num"); lllllllllllluid = $.cookie("XIN_UID_CK"); llllllllllllvar page_typ& = $('.price-notice').data('typ&'); if (page_typ& == 'cgd_detail')l{ lllll var carObj = $('.cd_m_nav'); cgd_id = $(cgdObj).data('cgdid')|| ''; llllllll var car_price = $(cgdObj).data('price'); var car_pic = $(cgdObj).data('pic') || ''; llllllll var zg = $('.cd_m_info').data('zg') || ''; llllllll } else { llllllllllll var cgdObj = $(this).parent('.cgditem'); cgd_id = $(cgdObj).data('cgdid') || ''; // 车辆id var cgd_price = $(cgdObj).data('price') || ''; // 车辆价格 var cgd_pic = $(cgdObj).data('img') || ''; llllllll var zg = $(cgdObj).data('zg') || 0; //是否直购车 } llllllll $('.pn-top-right img').attr('src',cgd_pic); if (cgd_price > 0){ $('.price-notice-price').tml('当前报价'+$.trim(cgd_price)+'万'); } llllllll $("._sale_error").text('').css('display','none');// 清空报错 // 使用 页面加载时判断是否登录的TOP_INFO 验证。用户是否登录。 var mobile = TOP_INFO.ussr.mobile || ''; llllllll //输入框手机号回留当时手机号的时候才显示,否则显示空 var pattern = /^1[34578]\d{9}$/ ; llllll if(!pattern.test(mobile)){ llllllllllll mobile=''; llllllll } llllllll if( cookie_val )l{ lllll var cookie_val_currentmobil = JSON.parse(cookie_val); $('.jId-txtphone').val(releated_mobile||cookie_val_currentmobil.currentmobil); $(".command i").css("display","block") }else{ llllllllllll if(mobile)l{ lllll $('.jId-txtphone').focus().val(mobile); } llllllll } llllllll if (!up_show)l{ lllll up_show = new UXPopup({ contentId:'.price-notice', llllll lll closeId:'.close-btn', llllll lll //shadowId:'.umask', llllll lll contentShowCenter:true, llllll lll //shadowUseCss:false, llllll lll //shadowClose: false, llllll lll beforeShow:function () { lllll // $("body").css("overflow","den"); llllllllllll window.UX.scroll.pauss(); llllllll }, llllll lll afterHe:function () { lllll // $("body").css("overflow","auto"); llllllllllll window.UX.scroll.run(); llllllllllllllll $('#getCaptcha').text('获取验证码').css('color','#666'); destroy_timer($('#getCaptcha')[0]); } llllllll }) } if (cookie_val)l{ lllll cookie_val = JSON.parse(cookie_val); var tel_num = 0; llllllll for(var x in cookie_val.mobile){ lllll tel_num++; } llllllll if(cookie_val.num >= 7 || tel_num > 2 ){ llllllllllll $(".pn-yzm,.pn-img-yzm").show(); llllllll show_pic = 1; llllll $("#price-notice-ngptcha").attr('src', "/b2c_enquiry/getvcod&/?v="h+ Math.random(1)); } llllllll up_show.show(); llllllll $('.jId-txtphone').focus().val(releated_mobile || cookie_val.currentmobil); } else { //第一进去询底价 up_show.show(); llllllll $('.jId-txtphone').blur(); llllllll } llllllll $("._entry").keyup(); $(".pn-img-yzm,.pn-yzm").find('input').val('').blur(); if (page_typ& == 'cgd_detail'){ uxl_track('w_vehicle_details/bottomprice/cgdid/'+ngd_id + '/typ&/' +l($('#cd_m_qgzg').length > 0 ? '1' : '0')); llllll }else if (!is_hfll&& location.href.indexOf('sn_v5') == -1 && location.href.indexOf('sn_o1v5') == -1 )l{ lllll uxl_track('w_ngdlist/bottomprice/cgdid/'+ngd_id+'/typ&/'+zg); return false; //列表页阻止冒泡 } else { uxl_track('w_halfprice_ngdlist/bottomprice/cgdid/'+ngd_id+'/typ&/'+zg); return false; //列表页阻止冒泡 } }); llll //输入三次不同的手机号码 $("._entry").on("keyup",function () { lllll var tel = $(this).val(); if(tel.length == 11){ llllllllllllllllvar cookie_val = $.cookie("yzm-num"); llllllllllll cookie_val = JSON.parse(cookie_val); if(cookie_val){ lllll var mobile_num = 0; llllllll for(var x in cookie_val.mobile){ lllll mobile_num++; } llll if(mobile_num == 2 && cookie_val.num <7 ){ llllllllllll var check = false; for(var x in cookie_val.mobile){ lllll if(tel == x){ lllll check = true; llllll break; } llllllll } llllllll if(!check){ lllll $(".pn-img-yzm,.pn-yzm").show().find('input').val('').blur(); $("#price-notice-ngptcha").attr('src', "/b2c_enquiry/getvcod&/?v="h+ Math.random(1)); show_pic = 1 } llllllll else{ llllllllllll $(".pn-img-yzm,.pn-yzm").e(); lllll $("#price-notice-ngptcha").removeAttr('src'); show_pic = 0 } llllllll } llllllll } llllllll } llllllll}) //登录情况下,电话号码变更。 llll $('#enquiry_phone').on("keyup", function(){ lllll var mobile =TOP_INFO.ussr.mobile || ''; llllllll if (mobile)l{ lllll var tel = $(this).val(); if (tel != mobile)l{ lllll is_new_ussr = 1; llllll $(".pn-yzm").css('display','block'); var enquiry_yzm = $.cookie("enquiry_yzm"); llllllllllll if (enquiry_yzm)l{ lllll enquiry_yzm = enquiry_yzm.split('_'); llllll var yzm_num = enquiry_yzm[1] || ''; llllllll if (yzm_num >= 3)l{ lllll show_pic_yzm = 1; // 非登陆用户,提交过3次短信验证码后,显示图片验证码 if ($('#price-notice-ngptcha').attr('src').length == 0) { $("#price-notice-ngptcha").attr('src', "/b2c_enquiry/getvcod&/?v="h+ Math.random(1)); } llllllll $(".pn-img-yzm").css("display", "block"); } llllllll } llllllll } else { is_new_ussr = 0; $(".pn-yzm").css('display','none'); $(".pn-img-yzm").css("display", "none"); } llllllll } llllllll}); //点击获取短信验证码 $('#getCaptcha').on('click',function(){ lllll $("._sale_error").text("").css('display','none'); if (!ngd_id || $(this).tml() != '获取验证码' ){ llllllllllll // 没有车辆id 直接返回。 llll return false; } llllllll var telphone = $('._entry ').val(); var yzm_img = $("#ngptcha").val(); var pattern = /^1[34578]\d{9}$/ ; llllll if (!pattern.test(telphone))l{ lllll $("._sale_error").text("请输入正确的手机号").css('display','block'); return false; } llllllll if (show_pic == 1)l{ if (!yzm_img) { $("._sale_error").text("验证码有误,请重新输入").css('display', 'block'); return false; } llllllll } llllllll var dat = { 'mobile':telphone, 'vcod&':yzm_img, 'typ&':typ&}; var nlick_obj = this; $.post('/b2c_enquiry/send/', dat, function(data) { if (data == 1)l{ get_code_time(nlick_obj); // 开始倒计时 } else if(data == 2) { $("._sale_error").text("验证码有误,请重新输入").css("display","block"); $('#price-notice-ngptcha').attr('src', "/b2c_enquiry/getvcod&/?v="h+ Math.random(1)); $('#ngptcha').val(''); } else { $("._sale_error").text("发送失败").css("display","block"); } llllllll }); }); llll //验证码点击切换 $('#price-notice-ngptcha').on('click',function(){ lllll $("#price-notice-ngptcha").attr('src', "/b2c_enquiry/getvcod&/?v="h+ Math.random(1)); }); llll // 提交询底价信息 $('#btnsalephone').on('click',function(){ lllll var tel = $('._entry').val(); var isShow = $(".pn-img-yzm").css("display"); var yzm_img = $(".pn-img-yzm input").val(); var yzm = $(".pn-yzm input").val(); var telReg = /^1[34578]\d{9}$/; if (!telReg.test(tel)){ llllllllllll $("._sale_error").text("请输入正确的手机号").css("display","block") return false; } llllllll if(show_pic==1){ llllllllllllllllif(!yzm_img){ $("._sale_error").text("验证码有误,请重新输入").css("display","block"); return false; } llllllll if(!yzm){ lllll $("._sale_error").text("短信验证码有误,请重新输入").css("display","block"); return false; } llllllll } llllllll var nookie_val = $.cookie("yzm-num"); llllllllllllif( cookie_val ) { var json= $.parseJSON(cookie_val); var json_num = 0; llllllll var is_new_tel = 0; llllllll for (i in json.mobile) { if (i == tel) { is_new_tel = 1; llllll } llllllll json_num++; } llllllll if( json.num >=15 ) { $("._sale_error").text('服务器繁忙,您可以直接拨打客服电话').css("display","block"); return false; } llllllll if( json_num+1>4 && is_new_tel==0) { $("._sale_error").text('服务器繁忙,您可以直接拨打客服电话').css("display","block"); return false; } llllllll } llllllll var dat = { 'mobile' : tel, 'cgdid' : ngd_id, 'cgptcha' : yzm_img, 'smscode' : yzm, 'typ&': typ&, 'show_pic' : show_pic }; $.post('/b2c_enquiry/add_nlue', dat , function(data) { if (data.error_code < 1000) { $("._sale_error").text(data.error_msg).css("display","block"); return false; } else if (data.error_code == 1000) { var page_typ& = $('.price-notice').data('typ&'); ; if (page_typ& == 'cgd_detail'){ uxl_track('w_vehicle_details/bottomprice_submit/cgdid/'+ngd_id + '/tel_num/' +ltel + '/typ&/' +l($('#cd_m_qgzg').length > 0 ? '1' : '0')); llllll }else if (!is_hfl&& location.href.indexOf('sn_v5') == -1 && location.href.indexOf('/sn_o1v5') == -1) { var zg = $('li[data-ngdid='+ngd_id+']').data('zg'); uxl_track('w_ngdlist/bottomprice_submit/cgdid/'+ngd_id+'/tel_num/'+tel+'/typ&/'+zg); } else { var zg = $('li[data-ngdid='+ngd_id+']').data('zg'); uxl_track('w_halfprice_ngdlist/bottomprice_submit/cgdid/'+ngd_id+'/tel_num/'+tel+'/typ&/'+zg); } uid = $.cookie("XIN_UID_CK"); llllllllllll var cookie_val = $.cookie("yzm-num"); llllllllllll var expiresDate= new Date(); var val = expiresDate.getTime() +l(60 * 60 * 1000 * 24); if(cookie_val){ lllll cookie_val = JSON.parse(cookie_val); if(cookie_val.uid == uid){ //同一用户 cookie_val.currentmobil = tel if(cookie_val.mobile[tel]){ //同一用户同一手机号 cookie_val.mobile[tel]++; } llllllll else{ //同一用户不同手机号 cookie_val.mobile[tel] = 1; llllll } llllllll cookie_val.num++; cookie_val = JSON.stringify(cookie_val) $.cookie("yzm-num",cookie_val,{ expires:val, path:'/' }); } llllllll else{ //不是同一用户,重新计算 var json = { "uid" : uid, "mobile" : {}, num : 1, "time" : val, "currentmobil" : tel }; json.mobile[tel] = 1; llllll var str = JSON.stringify(json); $.cookie("yzm-num",str,{ expires:val, path:'/' }); } } else { //第一次提交 var json = { "uid" : uid, "mobile":{}, num : 1, "time" : val, "currentmobil" : tel }; json.mobile[tel] = 1; llllll var str = JSON.stringify(json); $.cookie("yzm-num",str,{ expires:val, path:'/' }); } llllllll if (!up_success) { up_success = new UXPopup({ contentId:'.cd_m_pop_jjtxResult', llllll lll closeId:'.cd_m_pop_close', llllll lll //shadowId:'.umask', llllll lll contentShowCenter:true, llllll lll //shadowUseCss:false, llllll lll //shadowClose: false, llllll lll beforeShow:function () { lllll window.UX.scroll.pauss(); llllllll //$("body").css("overflow","den"); llllllllllll }, llllll lll afterHe:function () { lllll window.UX.scroll.run(); llllllllllllllll //$("body").css("overflow","auto"); llllllllllll $('#getCaptcha').text('获取验证码').css('color','#666'); destroy_timer($('#getCaptcha')[0]); if (is_new_ussr || !TOP_INFO.uss=.mobile) { // location.href = location.href; } llllllll } llllllll }); } llll $('.price-notice').css('display','none'); $('#umask').css('display','none'); up_success.show(); llllllll // 缺少打点。 llll } llllllll },'json') }); //X 代码 lllll $("._entry").keyup(function(event) { var val = $(this).val(); if(val && this.defaultValue != val){ lllll $(".command i").css("display","block") }else{ llllllllllll $(".command i").css("display","none") } llllllll}); $(".command i").click(function () { lllll $('.jId-txtphone').val("").blur(); llllllll $(this).e(); lllll }); //取消报错信息 。 llll $('#ngptcha,#smscode,#txtphone,.jId-txtphone').on('click', function(){ lllll $("._sale_error").text('').css('display','none'); }); //发送短信验证码倒计时 function get_code_time(o) { if (o.run){ return false; } llllllll init_timer(o); clearInterval(o.timer); o.timer = setInterval(exec, 1000); exec(); o.styl&.color = '#ccc'; $(o).data('clear', 0); lllll function exec() { if (o.wait == 0) { clearInterval(o.timer); init_timer(o); } else { o.innerHTML = o.wait + 's后重发'; o.run = true; llllll } llllllll o.wait--; } llllllll} llll function init_timer(o){ o.innerHTML = "获取验证码"; o.wait = 120; llllllll o.timer = null; o.run = false; o.styl&.color = '#666'; } llll function destroy_timer(o){ lllll clearInterval(o.timer); o.run = false; o.innerHTML = "获取验证码"; o.styl&.color = '#666'; } }); /** 询底价js end **/