\x3c!-- 商品展示cover层 --\x3e \x3c!-- 商品信息展示 --\x3e
<%}%> <% } %> \x3c!-- 轮播条tag展示,如果不需要需要展示商品相关信息,去掉‘var item = datas[j]’,每个轮播组只有一个tag展示 --\x3e <% } %> ',h=b.height,i=b.width,j=i/h;j=j<1?1:Math.floor(j);for(var k=3*j,l=g(c,k),m=parseInt((i+4)/j-4),d=a.template(f,{protocol:b.protocol,imagePrefix:b.imagePrefix,datas:l,column:b&&b.turns&&b.turns.column,len:k,gsize:j,width:i,height:h,imageSize:b.imageSize,cont_width:m,font_size:(.15*h<12?12:.15*h).toFixed(0),j_logo_url:s.logoClickUrl}),n=0;n'+d}function g(a,b){var c=[],d=a.length;if(c=a.slice(0,b),d0;)for(var e=0;e ',h=0,i=c.length;h'),d='京东推广',f=''+f.join("")+"
"+d}function i(c){for(var d,e=[],f=' ',g=0,h=c.length;g京东推广',e=''+e.join("")+"
"+d}function j(a){var b=document,c=b.createElement("style");if(c.setAttribute("type","text/css"),c.setAttribute("class","random"),c.styleSheet)c.styleSheet.cssText=a;else{var d=b.createTextNode(a);c.appendChild(d)}var e=b.getElementsByTagName("head");e.length?e[0].appendChild(c):b.documentElement.appendChild(c)}function k(a){var b="body,div,em,form,h1,h2,h3,h4,h5,h6,img,input,li,ol,p,pre,textarea,ul{margin:0;padding:0}body{height:100%;font:12px/1.75 Tahoma,Arial;color:#000;background-color:#fff}li,ul{list-style-type:none}img{border:0}.jdAdCred{color:#c91521}a{color:#006a92;text-decoration:none}a:hover{text-decoration:underline}a:focus{outline:0}";return b+=".jdAdLogoBot{display: inline-block; position: absolute; bottom: 1px; right: 1px; width: 36px; height: 15px; overflow: hidden; line-height: 999px; background: url(//static-alias-1.360buyimg.com/jzt/temp/conermark/"+a+".png) top right no-repeat; z-index: 11;} .jdIcon {width:18px;height:18px;top:initial; bottom: 0px; right: 0px;background-image:url(//static-alias-1.360buyimg.com/jzt/temp/conermark/jd.png)} .expose{width:0;height:0;display:none}",3272==l()?b+="a.wdIcon{width:"+24*t+"px;height:"+15*t+"px;background-size:"+24*t+"px "+15*t+"px;background:url(//static-alias-1.360buyimg.com/jzt/temp/conermark/ad@3x.png) top right no-repeat;}":b+="a.wdIcon{width:24px;height:15px;background:url(//static-alias-1.360buyimg.com/jzt/temp/conermark/ad.png) top right no-repeat;}",b}function l(){return-1!=m("ad_ids").indexOf(":")?m("ad_ids").split(":")[0]:m("ad_ids")}function m(a){var b=window.location.search,c={};if(-1!=b.indexOf("?")){for(var d=b.substr(1),e=d.split("&"),f=0,g=e.length;f20?logoHeight=20:logoHeight<10&&(logoHeight=10),{contentHeight:b.height,logoHeight:logoHeight,logoUrl:logoUrl}}var d="";return d=3272==l()?'html{height:100%}body,div,form,h1,h2,h3,h4,h5,h6,html,img,input,li,ol,p,pre,textarea,ul{margin:0;padding:0;border:0}body{color:#000;width:100%;height:100%;background-color:#fff}li,ul{list-style-type:none}.jdAdW644{width:100%;height:100%}.jdAdPn{box-sizing:border-box;border-bottom:1px solid #eee;height:100%}.jdAdPn .jdAdInner,.jdAdPn .jdAdRow{height:100%}.jdAdPn .jdAdLogo{position:absolute;height:12%;min-height:15px;max-height:30px;z-index:4}.jdAdPn .jdAdLogo a{height:100%;width:100%;display:block}.jdAdPn .jdAdLogo a img{min-height:15px;max-height:30px;height:100%;width:100%}.jdAdPn .jdAdCol{height:100%;width:100%;overflow:hidden}.jdAdPn .jdAdCont{font-family:Microsoft Yahei,"黑体",sans-serif;height:100%;position:relative;overflow:hidden;width:100%}.jdAdPn .jdAdCont .jdAdGroup{height:100%;position:absolute;left:0;width:100%;margin-right:-4px}.jdAdPn .jdAdCont .current{display:block}.jdAdPn .jdAdCont .jdAdContInner{position:relative;height:100%;float:left;margin-right:4px;background:#fff}.jdAdPn .jdAdCont .jdAdPrice{color:#fff;height:100%;line-height:114%;white-space:nowrap;background-color:rgba(0,0,0,.4);text-align:center}.jdAdPn .jdAdCont ul{height:15%;min-height:14px;position:absolute;bottom:0;width:100%}.jdAdPn .jdAdCont .jdAdSkuTag{position:absolute;width:25%;right:1%;top:1%}.jdAdPn .jdAdCont .jdAdImg{text-align:center;margin:auto;height:100%;width:100%}.jdAdPn .jdAdCont .jdAdCover{position:absolute;left:0;top:0;z-index:3;width:100%;height:100%}.jdAdPn .jdAdCont .jdAdCover img{width:100%;height:100%}.jdAdPn .jdAdTags{position:absolute;bottom:0;left:0;margin:auto auto auto 33%;width:33%;min-height:1px;height:1%;z-index:5}.jdAdPn .jdAdList{width:100%;height:100%}.jdAdPn .jdAdList .jdAdLine p{display:block;overflow:hidden;height:100%;line-height:12px;font-size:10px;background-color:#eee;text-align:center;color:#666;-webkit-text-size-adjust:none}.jdAdPn .jdAdList li{width:33%;float:left;height:100%}.jdAdPn .jdAdList .select p{background-color:#e4393c;color:#fff}.jdAdPn .jdAdLogoBot{display:block;position:absolute;top:2px;right:2px;background: url(//static-alias-1.360buyimg.com/jzt/temp/conermark/ad@3x.png) top right no-repeat;width:'+24*t+"px;height:"+15*t+"px;background-size:"+24*t+"px "+15*t+"px;z-index:11;}.jdAdPn .jdIcon {width:18px;height:18px;top:initial; bottom: 0px; right: 0px;background-image:url(//static-alias-1.360buyimg.com/jzt/temp/conermark/jd.png)}":'html{height:100%}body,div,form,h1,h2,h3,h4,h5,h6,html,img,input,li,ol,p,pre,textarea,ul{margin:0;padding:0;border:0}body{color:#000;width:100%;height:100%;background-color:#fff}li,ul{list-style-type:none}.jdAdW644{width:100%;height:100%}.jdAdPn{box-sizing:border-box;border-bottom:1px solid #eee;height:100%}.jdAdPn .jdAdInner,.jdAdPn .jdAdRow{height:100%}.jdAdPn .jdAdLogo{position:absolute;height:12%;min-height:15px;max-height:30px;z-index:4}.jdAdPn .jdAdLogo a{height:100%;width:100%;display:block}.jdAdPn .jdAdLogo a img{min-height:15px;max-height:30px;height:100%;width:100%}.jdAdPn .jdAdCol{height:100%;width:100%;overflow:hidden}.jdAdPn .jdAdCont{font-family:Microsoft Yahei,"黑体",sans-serif;height:100%;position:relative;overflow:hidden;width:100%}.jdAdPn .jdAdCont .jdAdGroup{height:100%;position:absolute;left:0;width:100%;margin-right:-4px}.jdAdPn .jdAdCont .current{display:block}.jdAdPn .jdAdCont .jdAdContInner{position:relative;height:100%;float:left;margin-right:4px;background:#fff}.jdAdPn .jdAdCont .jdAdPrice{color:#fff;height:100%;line-height:114%;white-space:nowrap;background-color:rgba(0,0,0,.4);text-align:center}.jdAdPn .jdAdCont ul{height:15%;min-height:14px;position:absolute;bottom:0;width:100%}.jdAdPn .jdAdCont .jdAdSkuTag{position:absolute;width:25%;right:1%;top:1%}.jdAdPn .jdAdCont .jdAdImg{text-align:center;margin:auto;height:100%;width:100%}.jdAdPn .jdAdCont .jdAdCover{position:absolute;left:0;top:0;z-index:3;width:100%;height:100%}.jdAdPn .jdAdCont .jdAdCover img{width:100%;height:100%}.jdAdPn .jdAdTags{position:absolute;bottom:0;left:0;margin:auto auto auto 33%;width:33%;min-height:1px;height:1%;z-index:5}.jdAdPn .jdAdList{width:100%;height:100%}.jdAdPn .jdAdList .jdAdLine p{display:block;overflow:hidden;height:100%;line-height:12px;font-size:10px;background-color:#eee;text-align:center;color:#666;-webkit-text-size-adjust:none}.jdAdPn .jdAdList li{width:33%;float:left;height:100%}.jdAdPn .jdAdList .select p{background-color:#e4393c;color:#fff}.jdAdPn .jdAdLogoBot{display:block;position:absolute;top:2px;right:2px;background: url(//static-alias-1.360buyimg.com/jzt/temp/conermark/ad.png) top right no-repeat;width:24px;height:15px;z-index:11;}.jdAdPn .jdIcon {width:18px;height:18px;top:initial; bottom: 0px; right: 0px;background-image:url(//static-alias-1.360buyimg.com/jzt/temp/conermark/jd.png)}',d+="#logo img {height: {logoHeight}px;position: absolute;top: 0;left: 0;z-index: 999;}",d+="#tpl{position: relative; height: {contentHeight}px; overflow: hidden;}",a.nano(d,c())}function o(c){!b.priceObj||b.priceObj.length0?f[g].innerHTML="¥"+parseFloat(c[d].p).toFixed(2):f[g].innerHTML="已下架"}function q(){var b=document.referrer||"",c=window.location.href,d=c.split("?"),e="";d.length>1&&(e=d[1]+"&ref="+encodeURIComponent(b)),a.jsonp({url:"//x.jd.com/mkt/pcwap?"+e,callback:showTpl})}var r,s=window._renderData,t=e();window.showTpl=function(e){function g(){var c,d;if(b.resize){window.effect&&window.effect.turns&&(window.effect.turns.stop(),window.effect.turns=null),a("style").remove(),a("#tpl").remove();for(var e in _Jconf.exposes)delete _Jconf.exposes[e];c=f(b.data),d=document.createElement("div"),d.id="tpl",d.innerHTML=c,document.getElementById("__jdMain__").appendChild(d),j(n()),window.effect=a("#tpl").turns({tagName:".jdAdLine",contName:".jdAdGroup"}),1==a.GetQueryString("adflag")&&a(".jdAdLogoBot").addClass("jdIcon")}else c=f(b.data),d=document.createElement("div"),d.id="tpl",d.innerHTML=c,document.getElementById("__jdMain__").appendChild(d),j(n()),window.effect=a("#tpl").turns({tagName:".jdAdLine",contName:".jdAdGroup"}),a.sendExposals(b.impression_monitor_url),a.sendExposals(new Array(b.exposal_urls)),a(window).on("resize",function(){clearTimeout(r),r=setTimeout(function(){showTpl(s)},100)});b.resize=!0,o(b.priceSkuIdArr),a.initjda(),1==a.GetQueryString("adflag")&&a(".jdAdLogoBot").addClass("jdIcon")}function l(){a("style").remove(),a("#tpl").remove();var c,d;c=h(b.data),d=document.createElement("div"),d.id="tpl",d.innerHTML=c,document.getElementById("__jdMain__").appendChild(d),j(k("ad_jd")),a.sendExposals(b.impression_monitor_url),a.initjda(),1==a.GetQueryString("adflag")&&a(".jdAdLogoBot").addClass("jdIcon"),b.logoClickUrl&&""!=b.logoClickUrl||(a(".jdAdLogoBot").addClass("wdIcon"),a(".wdIcon").on("click",function(a){return a&&a.preventDefault?a.preventDefault():window.event.returnValue=!1,!1}))}function m(){a("style").remove(),a("#tpl").remove(),tplHtml=i(b.data),tplCont=document.createElement("div"),tplCont.id="tpl",tplCont.innerHTML=tplHtml,document.getElementById("__jdMain__").appendChild(tplCont),j(k("ad")),a.sendExposals(b.impression_monitor_url),a.initjda(),1==a.GetQueryString("adflag")&&a(".jdAdLogoBot").addClass("jdIcon")}s=e,window.stamp=s.adstamp,b.exposes={},c(),d(),"reco"===b.adShowType?g():"pic"===b.adShowType?l():m(),a.getScript(b.protocol+"//static-alias-1.360buyimg.com/jzt/libs/behavior/v2/behavior.js")},q()}(_J,_Jconf);