CINXE.COM
宝马5系新能源前排储物空间-2019款 530Le 先锋版前排详解「图」-太平洋汽车
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>宝马5系新能源前排储物空间-2019款 530Le 先锋版前排详解「图」-太平洋汽车</title> <meta name="keywords" content="宝马5系新能源前排储物空间,宝马5系新能源 2019款前排储物空间" /> <meta name="description" content="带你全面了解宝马5系新能源外观、内饰、空间、发动机动力性能等信息,更多信息请登录太平洋汽车"/> <meta content="always" name="referrer"> <meta name="Author" content="liaoxiaobin_gz none_gz"> <meta name="mobile-agent" content="format=html5;url=//m.pcauto.com.cn/auto/pic/md/1-1-m87528.html"> <meta http-equiv="Cache-Control" content="no-transform" /> <meta name="applicable-device" content="pc"> <link href="//js.3conline.com/pcautonew1/pc/2017/price/css/carshowgloble.css" rel="stylesheet"> <link rel="alternate" media="only screen and(max-width: 640px)" href="//m.pcauto.com.cn/auto/pic/md/1-1-m87528.html" /> <!--[if IE 6]><script>document.execCommand("BackgroundImageCache", false, true)</script><![endif]--> <script src="//www.pcauto.com.cn/3g/wap2013/intf/1305/intf1727.js" charset="utf-8" class=" defer"></script> <script> //填上对应版本的链接 , 如无某个版本的链接 则留空 deviceJump.init({ "wap":"//m.pcauto.com.cn/auto/pic/md/1-1-m87528.html", "wap_3g":"//m.pcauto.com.cn/auto/pic/md/1-1-m87528.html", "ipad":"", "main":"" }); </script> </head> <body class="page-final"> <!-- 广告头部 --> <script>if(!window._addIvyID) document.write("<scr"+"ipt src='//www.pconline.com.cn/_hux_/auto/default/index.js'><\/scr"+"ipt>");</script> <!-- 计数器 --> <span class="spanclass"> <script> document.write("<img style=display:none src=//count.pcauto.com.cn/count.php?channel=8445&screen="+screen.width+"*"+screen.height+"&__uuid=21461:1&refer="+encodeURIComponent(document.referrer)+"&anticache="+new Date().getTime()+"&url="+encodeURIComponent(location.href)+" >"); </script> </span> <!-- 预加载用到的js --> <script type="text/javascript"> // 工具函数 var unit = { getId: function(id) { return (typeof(id) == 'object') ? id : document.getElementById(id); }, getClass: function(className, parent) { var elem = [], node = parent != undefined && parent.nodeType == 1 ? parent.getElementsByTagName('*') : document.getElementsByTagName('*'), p = new RegExp("(^|\\s)" + className + "(\\s|$)"); for (var n = 0, i = node.length; n < i; n++) { if (p.test(node[n].className)) { elem.push(node[n]); } } return elem; }, addEvent: function(node, type, fn) { if (node.addEventListener) { node.addEventListener(type, fn, false); } else { node.attachEvent('on' + type, function() { fn.apply(node, arguments); }); } }, setCookie: function(name, value, time) { //time=1024 * 24 * 3600 * 1000 //天、小时、秒、毫秒 document.cookie = name + "=" + encodeURIComponent(value) + "; path=/; domain=" + window.location.hostname.replace(/.+((\.\w+)\.com(\.cn)?)/, "$1") + "; expires=" + new Date(+new Date() + time).toGMTString(); }, getCookie: function(name) { return decodeURIComponent(document.cookie.replace(new RegExp(".*(?:^|; )" + name + "=([^;]*).*|.*"), "$1")); } }; var docCltWidth = document.documentElement.clientWidth, CLIENTWIDTH = 1400, // 1400 //__countId__ = 1411, // 7653, 9436 zsurl_ori = '', //修改20170710:增加一个变量用于记录jpg图片 zsurl = '', g_picData, picurl01='https://img.pcauto.com.cn/images/upload/upc/tx/auto5/1909/29/c10/170994476_1569749156578_1024.jpg', picurl02='https://img.pcauto.com.cn/images/upload/upc/tx/auto5/1909/29/c10/170994476_1569749156578_800x600.jpg', sSzie = [ '//img.pcauto.com.cn/images/upload/upc/tx/auto5/1909/29/c10/170994513_1569749159489_800x600.jpg' , '//img.pcauto.com.cn/images/upload/upc/tx/auto5/1909/29/c10/170994410_1569749162268_800x600.jpg' , '//img.pcauto.com.cn/images/upload/upc/tx/auto5/1909/29/c10/170994437_1569749163393_800x600.jpg' , '//img.pcauto.com.cn/images/upload/upc/tx/auto5/1909/29/c10/170994519_1569749163604_800x600.jpg' , '//img.pcauto.com.cn/images/upload/upc/tx/auto5/1909/29/c10/170994532_1569749166293_800x600.jpg' ],//800图 bSzie = [ '//img.pcauto.com.cn/images/upload/upc/tx/auto5/1909/29/c10/170994513_1569749159489_1024.jpg' , '//img.pcauto.com.cn/images/upload/upc/tx/auto5/1909/29/c10/170994410_1569749162268_1024.jpg' , '//img.pcauto.com.cn/images/upload/upc/tx/auto5/1909/29/c10/170994437_1569749163393_1024.jpg' , '//img.pcauto.com.cn/images/upload/upc/tx/auto5/1909/29/c10/170994519_1569749163604_1024.jpg' , '//img.pcauto.com.cn/images/upload/upc/tx/auto5/1909/29/c10/170994532_1569749166293_1024.jpg' ],//1024图 canWebp = (function() { var ua = navigator.userAgent.toLowerCase(), isIe, canWebpCookie; (ua.indexOf('msie') != -1 || ua.indexOf('rv:11') != -1 || ua.indexOf('edge') != -1) ? (isIe = true) : (isIe = false); if(isIe) { return false; }else{ canWebpCookie = unit.getCookie("canWebp"); if(canWebpCookie == '1') { return true; }else if(canWebpCookie == '0') { return false; }else{ var d = document, supportWebp; try { var ele = d.createElement('object'); ele.type = 'image/webp'; ele.innerHTML = '!'; d.body.appendChild(ele); supportWebp = !ele.offsetWidth; d.body.removeChild(ele); }catch (err) { supportWebp = false; } supportWebp ? unit.setCookie('canWebp', '1', 9e10) : unit.setCookie('canWebp', '0', 9e10); return supportWebp; } } })(); if (docCltWidth >= CLIENTWIDTH) { zsurl_ori = zsurl = picurl01; //修改20170710:增加一个变量用于记录jpg图片 g_picData = bSzie; document.getElementsByTagName('body')[0].className = 'page-final bigWidth'; } else { zsurl_ori = zsurl = picurl02; //修改20170710:增加一个变量用于记录jpg图片 g_picData = sSzie; document.getElementsByTagName('body')[0].className = 'page-final'; } if(canWebp) { zsurl = zsurl.replace(/jpg$/i, "webp"); for (var i = 0, l = g_picData.length; i < l; i++) { g_picData[i] = g_picData[i].replace(/jpg$/i, "webp"); } } function preLoadImg(c, b) { if (b >= c.length) return; var a = new Image(); a.onload = function() { preLoadImg(c, b + 1); }; a.src = c[b]; } unit.addEvent(window, 'load', function() { preLoadImg(g_picData, 0); }); </script> <script type="text/javascript"> if (canWebp) { for (var i = 0, l = g_picData.length; i < l; i++) { g_picData[i] = g_picData[i].replace(/jpg$/i, "webp"); } } function preLoadImg(c, b) { if (b >= c.length) return; var a = new Image(); a.onload = function() { preLoadImg(c, b + 1); }; a.src = c[b]; } unit.addEvent(window, 'load', function() { preLoadImg(g_picData, 0); }); </script> <div class="doc"> <div class="header" id="J-header"> <div class="topBar" id="j-topBar"> <div class="mark crumbs"> <a href="//www.pcauto.com.cn">太平洋汽车</a><i>></i> <a href="/cars/md.html">车型详解</a><i>></i> <a href="/cars/md/nb20/">宝马</a><i>></i> <a href="/cars/sg21461/">宝马5系新能源</a><i>></i> <a href="/cars/md/77058-1-m87528.html">2019款 530Le 先锋版</a> </div> <div class="subMark subMenu"> <a href="/sg21461/" target="_blank">宝马5系新能源频道</a><i>|</i> <a href="//price.pcauto.com.cn/sg21461/price.html" target="_blank">报价</a> <a href="/cars/sg21461/" target="_blank">图片</a> <a href="/sg21461/config.html" target="_blank">参配</a> <a href="//bbs.pcauto.com.cn/forum-17482.html" target="_blank">论坛</a> <a href="//price.pcauto.com.cn/comment/sg21461/" target="_blank">点评</a> <a href="/shangjia/sg21461/" target="_blank">经销商</a> </div> </div> <div class="moc"> <div class="topCon" id="j-topCon"> <div class="topCon-r">提示:支持“← →”键翻页</div> <div class="topCon-l"> <div class="inner"> <span class="name fl block mr15"><i class="fz20">宝马5系新能源</i></span> <div class="type fl block mr25 xialchanges" id="J-othertype"> <i class="fz20">2019款 530Le 先锋版</i> <i class="tips-icon"></i> <div class="subtype"> <a href="/cars/md/7453-1-m37104.html">2015款 530Le</a> <i class="tips-up"></i> </div> </div> <span class="des fl block"> <i class="fz20"> 前排储物空间(<i class="red">85</i>/129) </i> </span> <a href="/cars/mdlist/m87528.html" class="back block fr ml20"><i class="allin-icon"></i>查看全部</a> <span class="share block fr modShare" id="J-share"> <i class="share-icon"></i>分享 <div class="sharebox"> <i class="tips-icon-up"></i> <div class="artOpenShare"> <div sharetype="tools" id="bdshare_warp"> <div id="bdshare" class="bdsharebuttonbox bds_tools"></div> </div> </div> </div> </span> </div> </div> </div> </div> </div> <div class="wraper moc"> <div class="aside side" id="J-aside"> <div class="menuBox"> <div id="menuBox"> <div id="J_menu" class="fmenu"> <div class="collapsed frist-child " id="f_1"> <span class="tit"><a data-src="77058" href="/cars/md/77058-1-m87528.html"><i class="menu-icon menu-icon-1"></i>概述<i class="tips-icon"></i></a></span> <div class="link"> </div> </div> <div class="collapsed " id="f_2"> <span class="tit"><a data-src="77188" href="/cars/md/77188-1-m87528.html"><i class="menu-icon menu-icon-2"></i>外观<i class="tips-icon"></i></a></span> <div class="link"> <a data-src="99" id="s_99" href="/cars/md/77059-1-m87528.html" ><i class="m">整车外观<em>(7张)</em></i></a> <a data-src="135" id="s_135" href="/cars/md/77066-1-m87528.html" ><i class="m">车辆标识<em>(2张)</em></i></a> <a data-src="109" id="s_109" href="/cars/md/77068-1-m87528.html" ><i class="m">中网<em>(2张)</em></i></a> <a data-src="30" id="s_30" href="/cars/md/77070-1-m87528.html" ><i class="m">车灯<em>(9张)</em></i></a> <a data-src="32" id="s_32" href="/cars/md/77079-1-m87528.html" ><i class="m">驾驶辅助<em>(4张)</em></i></a> <a data-src="100" id="s_100" href="/cars/md/77083-1-m87528.html" ><i class="m">车门<em>(7张)</em></i></a> <a data-src="31" id="s_31" href="/cars/md/77090-1-m87528.html" ><i class="m">车轮<em>(2张)</em></i></a> <a data-src="33" id="s_33" href="/cars/md/77092-1-m87528.html" ><i class="m">后视镜<em>(3张)</em></i></a> <a data-src="8" id="s_8" href="/cars/md/77096-1-m87528.html" ><i class="m">燃油加注口<em>(1张)</em></i></a> <a data-src="160" id="s_160" href="/cars/md/77095-1-m87528.html" ><i class="m">电能加注口<em>(1张)</em></i></a> <a data-src="34" id="s_34" href="/cars/md/77097-1-m87528.html" ><i class="m">雨刮<em>(1张)</em></i></a> <a data-src="35" id="s_35" href="/cars/md/77098-1-m87528.html" ><i class="m">天线<em>(1张)</em></i></a> <a data-src="112" id="s_112" href="/cars/md/77099-1-m87528.html" ><i class="m">其他<em>(1张)</em></i></a> </div> </div> <div class="collapsed active" id="f_3"> <span class="tit"><a data-src="77189" href="/cars/md/77189-1-m87528.html"><i class="menu-icon menu-icon-3"></i>前排<i class="tips-icon"></i></a></span> <div class="link"> <a data-src="187" id="s_187" href="/cars/md/77100-1-m87528.html" ><i class="m">中控全景<em>(1张)</em></i></a> <a data-src="188" id="s_188" href="/cars/md/77101-1-m87528.html" ><i class="m">车机系统<em>(11张)</em></i></a> <a data-src="189" id="s_189" href="/cars/md/77112-1-m87528.html" ><i class="m">主驾控制区<em>(11张)</em></i></a> <a data-src="18" id="s_18" href="/cars/md/77123-1-m87528.html" ><i class="m">方向盘<em>(6张)</em></i></a> <a data-src="37" id="s_37" href="/cars/md/77129-1-m87528.html" ><i class="m">仪表盘<em>(3张)</em></i></a> <a data-src="136" id="s_136" href="/cars/md/77132-1-m87528.html" ><i class="m">启动方式<em>(1张)</em></i></a> <a data-src="38" id="s_38" href="/cars/md/77133-1-m87528.html" ><i class="m">钥匙<em>(1张)</em></i></a> <a data-src="111" id="s_111" href="/cars/md/77134-1-m87528.html" ><i class="m">换挡方式<em>(2张)</em></i></a> <a data-src="44" id="s_44" href="/cars/md/77136-1-m87528.html" ><i class="m">前排座椅<em>(6张)</em></i></a> <a data-src="165" id="s_165" href="/cars/md/77142-1-m87528.html" ><i class="m">前排驾乘空间<em>(1张)</em></i></a> <a data-src="42" id="s_42" href="/cars/md/77143-1-m87528.html" class="current"><i class="m">前排储物空间<em>(6张)</em></i></a> <a data-src="46" id="s_46" href="/cars/md/77149-1-m87528.html" ><i class="m">天窗<em>(1张)</em></i></a> <a data-src="45" id="s_45" href="/cars/md/77150-1-m87528.html" ><i class="m">前排车顶功能区<em>(4张)</em></i></a> <a data-src="155" id="s_155" href="/cars/md/77154-1-m87528.html" ><i class="m">其他<em>(1张)</em></i></a> </div> </div> <div class="collapsed " id="f_4"> <span class="tit"><a data-src="77190" href="/cars/md/77190-1-m87528.html"><i class="menu-icon menu-icon-4"></i>后排<i class="tips-icon"></i></a></span> <div class="link"> <a data-src="47" id="s_47" href="/cars/md/77155-1-m87528.html" ><i class="m">后排座椅<em>(6张)</em></i></a> <a data-src="166" id="s_166" href="/cars/md/77161-1-m87528.html" ><i class="m">后排乘坐空间<em>(1张)</em></i></a> <a data-src="50" id="s_50" href="/cars/md/77162-1-m87528.html" ><i class="m">地面凸起<em>(1张)</em></i></a> <a data-src="147" id="s_147" href="/cars/md/77163-1-m87528.html" ><i class="m">后排空调<em>(1张)</em></i></a> <a data-src="51" id="s_51" href="/cars/md/77164-1-m87528.html" ><i class="m">后排储物空间<em>(7张)</em></i></a> <a data-src="145" id="s_145" href="/cars/md/77171-1-m87528.html" ><i class="m">其他<em>(2张)</em></i></a> </div> </div> <div class="collapsed " id="f_5"> <span class="tit"><a data-src="77192" href="/cars/md/77192-1-m87528.html"><i class="menu-icon menu-icon-5"></i>动力及底盘<i class="tips-icon"></i></a></span> <div class="link"> <a data-src="58" id="s_58" href="/cars/md/77173-1-m87528.html" ><i class="m">动力总成<em>(5张)</em></i></a> <a data-src="169" id="s_169" href="/cars/md/77178-1-m87528.html" ><i class="m">机舱盖<em>(1张)</em></i></a> <a data-src="59" id="s_59" href="/cars/md/77179-1-m87528.html" ><i class="m">底盘<em>(1张)</em></i></a> </div> </div> <div class="collapsed " id="f_6"> <span class="tit"><a data-src="77191" href="/cars/md/77191-1-m87528.html"><i class="menu-icon menu-icon-6"></i>后备厢<i class="tips-icon"></i></a></span> <div class="link"> <a data-src="60" id="s_60" href="/cars/md/77180-1-m87528.html" ><i class="m">储物空间<em>(5张)</em></i></a> <a data-src="62" id="s_62" href="/cars/md/77182-1-m87528.html" ><i class="m">开关方式<em>(1张)</em></i></a> <a data-src="64" id="s_64" href="/cars/md/77183-1-m87528.html" ><i class="m">附件<em>(2张)</em></i></a> </div> </div> </div> <div class="relp"> <a href="/cars/image/7449150-1-sg21461-o1.html" target="_blank"><i></i>看实拍图<em class="gray">(4628张)</em></a> </div> <div class="relp relpallv"> <a onclick="cntSFView('https://www1.pcauto.com.cn/panorama/1167/tour.html')" href="javascript:void(0);"><i></i>VR看车</a> </div> <div class="addmore"> <p>宝马5系新能源 2019款 530Le 先锋版</p> <span class="price vam" id="lowestModelPrice_87528"></span> <a class="btn-cx" rel="nofollow" target="_blank" href="//qdfront.pcauto.com.cn/order/pc/common/order_detail.xsp?ad=5858&mid=87528">获取底价</a> </div> </div> </div> </div> <script> function cntSFView(url){ new Image().src = "//count.pcauto.com.cn/count.php?channel=9287&screen="+screen.width+"*"+screen.height+"&refer="+encodeURIComponent(document.referrer)+"&anticache="+new Date().getTime()+"&url="+encodeURIComponent(location.href)+"&from=event"; var aView = document.createElement("a"); aView.href = url; aView.target = '_blank'; document.body.appendChild(aView); aView.click() } </script> <script src="//js.3conline.com/min/temp/v1/lib-jquery1.10.2.js"></script> <script type="text/javascript"> var mid = "87528"; var sgId = ""; localMinPrice(mid); //全国4S最低价 function localMinPrice(mid){ // $.ajax({ // url:'//price.pcauto.com.cn/dealer/interface/price/getLowestModelPrice4All.jsp', // data:{mid:mid}, // type:'get', // dataType:'jsonp', // jsonpCallback:'setLowestModelPrice', // cache: true // }); $.ajax({ url: 'https://qdfront.pcauto.com.cn/qd/price/intf/range/sgModelPrice', type: 'GET', data: {serialGroupId: sgId}, success: function (result) { if (result.data && result.data.models) { var mPrice = result.data.models[mid]; if (mPrice && mPrice.minPrice > 0) { var shtml = '全国4S最低价:<a href="//price.pcauto.com.cn/m'+mPrice.modelId+'/market/#ad=8532" target="_blank"><strong class="orange fz14">'+mPrice.minPrice+'万</strong></a>'; $("#lowestModelPrice_"+mPrice.modelId).html(shtml); } } } }) } function setLowestModelPrice(data) { if(data.minPrice > 0){ var shtml = '全国4S最低价:<a href="//price.pcauto.com.cn/m'+data.mid+'/market/#ad=8532" target="_blank"><strong class="orange fz14">'+data.minPrice+'万</strong></a>'; $("#lowestModelPrice_"+data.mid).html(shtml); } } </script> <div class="content pb50"> <!-- 图片切换层 --> <div id="j-pic-wrap" class="box-pic"> <img src="//img.pcauto.com.cn/images/upload/upc/tx/auto5/1909/29/c10/170994476_1569749156578.jpg" side="1" id="pic_img" style="cursor: url(//www1.pcauto.com.cn/2009/price/img/right.cur), pointer;"> <script type="text/javascript"> // 给主图绑定事件,如果webp图加载出错,则回滚加载jpg图片 var mainImg = document.getElementById('pic_img'); if(canWebp) { mainImg.onerror = function() { mainImg.src = zsurl_ori; mainImg.onerror = null; } } mainImg.src = zsurl; </script> </div> <div class="pic-infor clearfix" id="j-pic-infor"> <p class="mark"> </p> </div> <!--20181204 新增广告--> <div class="ivy_banner"> <script src="//ivy.pconline.com.cn/adpuba/show?id=auto.tuku.zdy.zdxtl1.&media=js&channel=inline&trace=1"></script> <script src="//ivy.pconline.com.cn/adpuba/show?id=auto.tuku.zdy.zdxtl2.&media=js&channel=inline&trace=1"></script> <script src="//ivy.pconline.com.cn/adpuba/show?id=auto.qctp.dbtl.&media=js&channel=inline&trace=1"></script> </div> </div> </div> </div> <div id="j-mask-bg" class="mask-bg"></div> <div id="j-view-fix"><a href="//my.pcauto.com.cn/action/report/report.jsp" target="_blank"><em></em>用户反馈</a></div> <a href="javascript:void(0)" class="erweimaforp" id="erweimaforp"><em><img src="/price/api/v1/common/qrcode?width=300&height=300&url=http://m.pcauto.com.cn/auto/pic/md/1-1-m87528.html" width="153" height="153" /></em></a> <script type="text/javascript"> var iViewH = document.documentElement.clientHeight; //窗口高度 var iVideW = document.documentElement.clientWidth; //窗口宽度 var iWinH = document.body.offsetHeight; //文档内容高度 var iHeaderH = document.getElementById("J-header").offsetHeight; var allH = Math.max(iViewH, iWinH); 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; return str.replace(/^\s+/, '').replace(/\s+$/, ''); }, getId: function(id) { return (typeof(id) == 'object') ? id : document.getElementById(id); }, 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); } } } //setAsideHeight(); function setAsideHeight() { var oAside = document.getElementById("J-aside"); oAside.style.height = allH - iHeaderH + "px"; } </script> <script type="text/javascript"> (function(){ //类型鼠标效果 var otherType = document.getElementById("J-othertype"); if(!otherType) return; var oldOtherType = otherType.className; otherType.onmouseover = function(){ this.className +=" showtype"; } otherType.onmouseout = function(e) { e = e || event; var relatedTarget = e.toElement || e.relatedTarget; while (relatedTarget && relatedTarget != this) { relatedTarget = relatedTarget.parentNode; if (!relatedTarget) { Tools.removeClass(otherType, "showtype"); } } } //分享-显示隐藏 var oShare = document.getElementById("J-share"); if(!oShare) return; var oldShare = oShare.className; oShare.onmouseover = function(){ this.className +=" share-active"; } oShare.onmouseout = function(e) { e = e || event; var relatedTarget = e.toElement || e.relatedTarget; while (relatedTarget && relatedTarget != this) { relatedTarget = relatedTarget.parentNode; if (!relatedTarget) { Tools.removeClass(oShare, "share-active"); } } } /** * 用一个 object 来扩展另一个 object,一般是对 json 应用。破坏性操作 * @param {JSON} target 待扩展的 object. * @param {JSON} source 扩展来源 object. * @param {Boolean} override 存在同名键时,是否使用新值覆盖,默认为 true. */ function extend(target, source, override) { if (override === undefined) override = true; for (var item in source) { if (override || !(item in target)) { target[item] = source[item]; } } } // 默认的 cookie 参数 var default_cookie_option = { path: '', domain: '', secure: false }; /** * 设置 cookie,前两参数分别是 key 和 value,更多的控制使用 json 的形式在第 3 参数中提供 * value 为 null 时,相当月把 expires 设为 -1,即清 cookie; * 使用 encodeURIComponent 编码 * expires 可使用 number(代表天) 和 Date 对象; * * @param {String} key cookie 名. * @param value cookie 值. * @param {JSON} options expires, path, domain, secure 等控制参数. * @return {String} 写 cookie 的同时返回写入的内容. */ function setCookie(key, value, options) { options = options || {}; extend(options, default_cookie_option, false); /** * set the cookie and return it * * if the value is null, means remove it */ if (value === null) { // set to yesterday options.expires = -1; } var expires = options.expires, path = options.path, domain = options.domain, secure = options.secure; /** * expires only support 2 types * * 1. number means exist how many days * 2. Date(default) the Date object */ if (typeof expires === 'number') { var day = expires; expires = new Date(); expires.setDate(expires.getDate() + day); } var res = [encodeURIComponent(key), '=', encodeURIComponent(value), expires ? '; expires=' + expires.toUTCString() : '', path ? '; path=' + path : '', domain ? '; domain=' + domain : '', secure ? '; secure' : '' ].join(''); document.cookie = res; return res; } /** * 判断是否有相应的 cookie * @param {String} key 待查找的 cookie 名. * @return {Boolean} */ function hasCookie(key) { return (new RegExp('(?:^|;\\s*)' + encodeURIComponent(key).replace(/[\-\.\+\*]/g, '\\$&') + '\\s*\\=')).test(document.cookie); } /** * 获取相应的 cookie 值 * @param {String} key cookie 的键. * @return 返回 decodeURIComponent 后的值,无则为 null. */ function getCookie(key) { if (!key || !hasCookie(key)) return null; var res = document.cookie.replace(new RegExp('(?:^|.*;\\s*)' + encodeURIComponent(key).replace(/[\-\.\+\*]/g, '\\$&') + '\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*'), '$1'); return decodeURIComponent(res); } window.Cookie = { set: setCookie, get: getCookie, has: hasCookie }; })(); </script> <script type="text/javascript"> var COOKIE_DOMAIN = '.pcauto.com.cn'; //本地测试时使用这个,上线后应使用 price.pcauto.com.cn var COOKIE_PATH = '/'; // 本地测试使用,线上应用 '/cars/' Cookie.set('md_index', 85, {expires: 1, path: COOKIE_PATH, domain: COOKIE_DOMAIN}); Cookie.set('md_typeId', 3, {expires: 1, path: COOKIE_PATH, domain: COOKIE_DOMAIN}); Cookie.set('md_subTypeId', 42, {expires: 1, path: COOKIE_PATH, domain: COOKIE_DOMAIN}); Cookie.set('md_modelId', 87528, {expires: 1, path: COOKIE_PATH, domain: COOKIE_DOMAIN}); </script> <script type="text/javascript"> // 上下页的链接 var pLink = ""; var nLink = ""; pLink = "/cars/md/77142-1-m87528.html"; nLink = "/cars/md/77144-1-m87528.html"; </script> <script type="text/javascript"> var prevCur = "//www1.pcauto.com.cn/2009/price/img/left.cur", nextCur = "//www1.pcauto.com.cn/2009/price/img/right.cur"; // var g_img = Tools.getId('pic_img'); function jumpTo(link) { window.location.href = link; } function showCursor(a) { var a = a || window.event; var jVal = 0; if (document.body.className == 'page-final') { jVal = (document.body.clientWidth / 2) - 100; } else { jVal = document.body.clientWidth / 2; } if (a.clientX < jVal) { if (g_img.getAttribute("side") !== 0) { if (pLink) { g_img.style.cursor = "url(" + prevCur + "), pointer"; g_img.setAttribute("side", 0); } else { g_img.style.cursor = "url(" + nextCur + "), pointer"; g_img.setAttribute("side", 1); } } } else { if (g_img.getAttribute("side") != 1) { g_img.style.cursor = "url(" + nextCur + "), pointer"; g_img.setAttribute("side", 1); } } } function clickJump(e) { showCursor(e); var a = g_img.getAttribute("side"); if (a == "0") { goPrevPic(); } if (a == "1") { goNextPic(); } } function goNextPic() { if (nLink)jumpTo(nLink); if(nLink == ""){ popDiv.showPop("j-show-reason"); } } function goPrevPic() { if (pLink) jumpTo(pLink); } Tools.on(g_img, 'mousemove', showCursor); Tools.on(g_img, 'click', clickJump); Tools.on(document, 'keydown', function(e) { var e = e || window.event, keyCode = e.keyCode || e.which; if (keyCode == 39) { goNextPic(); } if (keyCode == 37) { goPrevPic(); } }); </script> <!-- 脚本区 --> <script> //分享 var queue = [{ url: '//js.3conline.com/ue/share/auto/bd_share_allin_v3.js' }] var head = document.getElementsByTagName('head')[0]; for (var i = 0, l = queue.length; i < l; i++) { (function(i) { var script = document.createElement('script'); if (queue[i].callback) { if (script.readyState) { script.onreadystatechange = function() { if (script.readyState == 'complete' || script.readyState == 'loaded') { script.onreadystatechange = null; queue[i].callback(); } } } else { script.onload = queue[i].callback; } } head.appendChild(script); if (queue[i].params) { var params = queue[i].params; for (var j in params) { if (params.hasOwnProperty(j)) script.setAttribute(j, queue[i].params[j]) } } script.src = queue[i].url; })(i) } </script> <script type="text/javascript"> var popDiv = { showPop:function(popElem){ //document.getElementById("j-mask-bg").style.display = "block"; document.getElementById(popElem).style.display = "block"; popDiv.setPopPos(popElem); //popDiv.setMaskH(); }, closePop:function(popElem){ //document.getElementById("j-mask-bg").style.display = "none"; document.getElementById(popElem).style.display = "none"; }, setMaskH:function(){ if(!window.XMLHttpRequest){ var bodyH = Math.max(document.body.offsetHeight,document.documentElement.clientHeight); document.getElementById("j-mask-bg").style.height = bodyH+"px"; } }, setPopPos:function(popElem){ var _popHeight = document.getElementById(popElem).offsetHeight; var _scrollTop = document.body.scrollTop || document.documentElement.scrollTop; var _clientHeight = document.body.clientHeight || document.documentElement.clientHeight; //document.getElementById(popElem).style.top = (_scrollTop + _clientHeight / 2 - _popHeight / 2) + "px"; document.getElementById(popElem).style.top = (600 - _popHeight)/2 + "px"; } } //popDiv.showPop("j-show-reason"); </script> <script>document.write('<span class="spanclass"><img src="//acount.pcauto.com.cn/wzcount/artbrowse.php?groupname=汽车网&subgroupname=&id=18288000&title=&response=1" border="0" width="0" height="0" /></span>');</script> <!-- 广告尾部 --> <script>_submitIvyID(); </script> <script> document.getElementById("erweimaforp").onmouseover=function(){ this.className="erweimaforp curss"; } document.getElementById("erweimaforp").onmouseout=function(){ this.className="erweimaforp"; } </script> <script src="//js.3conline.com/min/temp/v1/dpl-jquery.slide.js"></script> <!-- 20190729 年中购车补贴入口 --> <script src="//js.3conline.com/pcautonew1/pc/2017/price/js/pc_nzhd.js"></script> <script> new Slide({ target: $('.picboxtk .pics'), effect: 'slide', playTo: 0, direction: 'x', nextBtn: $('.lastpage .tit-m .chgbtn'), onchange: function(){ //$('.picboxtk .slideContent').animate({'left':-this.curPage*420+'px'},500); } }) </script> </body> </html>