You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
194 lines
42 KiB
194 lines
42 KiB
<!DOCTYPE html>
|
|
<!-- saved from url=(0668)https://pos.baidu.com/s?hei=60&wid=852&di=u3491668<u=https%3A%2F%2Fblog.csdn.net%2Fluo0xue%2Farticle%2Fdetails%2F80048847&psi=7753f0a79fba1b71d2457306cfadc9d5&drs=3&dtm=HTML_POST&pis=-1x-1&tpr=1551838796106&tcn=1551838796&cec=UTF-8&chi=1&cmi=4&pss=1730x8162<r=https%3A%2F%2Fwww.google.com%2F&dri=0&dai=4&cce=true&dis=0&exps=111000,113000,110011&cdo=-1&ccd=24&par=1920x1040&cpl=3&cja=false&prot=2&tlm=1551838796&ps=1676x383&ant=0&dc=3&ari=2&cfv=0&col=zh-CN&pcs=1730x851&ti=ffmpeg%E4%BD%BF%E7%94%A8NDK%E7%BC%96%E8%AF%91%E6%97%B6%E9%81%87%E5%88%B0%E7%9A%84%E4%B8%80%E4%BA%9B%E5%9D%91%20-%20luo0xue%E7%9A%84%E5%8D%9A%E5%AE%A2%20-%20CSDN%E5%8D%9A%E5%AE%A2&psr=1920x1080 -->
|
|
<html xmlns="http://www.w3.org/1999/xhtml" style="font-size: 100%;"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="template-name" content="template_inlay_all_pc_lu_info_flow_image_no_des">
|
|
|
|
<title>百度网盟推广</title>
|
|
<meta http-equiv="Content-Type" content="text/html">
|
|
|
|
<style type="text/css">
|
|
html{color:#000;background-color:transparent;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}body{margin:0;padding:0;}
|
|
.bd-logo,.bd-logo2,.bd-logo3,.bd-logo4{
|
|
text-decoration:none;
|
|
cursor:pointer;
|
|
display:block;
|
|
overflow:hidden;
|
|
position:absolute;
|
|
bottom:0;
|
|
right:0;
|
|
z-index:2147483647;
|
|
width: 34px;
|
|
height: 10px;
|
|
background: url(//cpro2.baidustatic.com/cpro/ui/noexpire/img/2.0.1/new-logo@2x.png);
|
|
background-color: rgba(0,0,0,0.6);
|
|
background-size: 100% 100%;
|
|
}
|
|
.bd-logo4{height:18px;width:18px;bottom:0;left:0;background:url(//cpro2.baidustatic.com/cpro/ui/noexpire/img/2.0.1/new-icon@2x.png) no-repeat;background-position:center;background-size:100%,100%;background-color: rgba(0,0,0,0.6);border-top-right-radius: 4px;}
|
|
.loader{ text-align:center; width:90%; font-size:12px; padding:8px; border:solid 1px #aaaaaa; margin-top:30px; display:none; }.cf:before,.cf:after{content:"\20";display:table;}.cf:after{clear:both;}.cf{*zoom:1;}
|
|
.textOverflow{white-space:nowrap;overflow:hidden;display:inline-block;width:100%;}.textOverflowEllipsis{-o-text-overflow:ellipsis;text-overflow:ellipsis;}.textOverflowClip{-o-text-overflow:clip;text-overflow:clip;}
|
|
.container{display:block !important}
|
|
</style>
|
|
<script type="text/javascript">
|
|
var Base={config:{},cache:{},getKeysByType:function(b){b=(b||"class").toLowerCase();var a=b+"LoadFinished",c=b+"LoadFnArray",d=b+"LoadMap";this[a]="boolean"===typeof this[a]?this[a]:!0;this[c]=this[c]||[];this[d]=this[d]||{};return{status:a,array:c,map:d,type:b}},updateLoadStatus:function(b,a,c){c=this.getKeysByType(c);if(b&&(this[c.map][b]=a,"loaded"!==a))return this[c.status]=!1;b=!0;for(var d in this[c.map])if(d&&this[c.map].hasOwnProperty(d)&&"loaded"!==this[c.map][d]){b=!1;break}return this[c.status]=
|
|
b},loadImage:function(b){var a=new Image;a.onload=a.onerror=a.onabort=function(){a.onload=a.onerror=a.onabort=null;this.updateLoadStatus(b,"loaded","image");if(this.imageLoadFinished)for(var c,d=0,h=this.imageLoadFnArray.length;d<h;d++)c=this.imageLoadFnArray.shift(),c()}.proxy(this);a.src=b},fastClone:function(b){var a=function(){};a.prototype=b;return new a},declare:function(b){b=b();var a=b.name;if(!a)throw"can't find the obj name";for(var c=b.namespace+"."+a,d=c.split("."),h=d.length,f=window,
|
|
j="",e=0;e<h-1;e++){var g=d[e];f==window?(f[g]=window[g]=window[g]||{},j+=g):(f[g]=f[g]||{},j+="."+g);f=f[g];this.cache[j]=f}f[a]=f[a]||b;this.cache=this.cache||{};this.cache[c]=f[a];return!0},using:function(b,a,c){if(this.cache&&this.cache[b])return this.cache[b];a=a||"class";c=c||this.config.version[a]||"1.0.0";var d;switch(a){case "image":0>b.indexOf("http")&&(b=this.config.baseUrl+"img/"+(c&&"0"!==c?c.toString():"")+"/"+b);this.updateLoadStatus(b,"loading","image");this.loadImage(b);d=b;break;
|
|
case "class":var h=this.getKeysByType(a);a=b.split(".");d=window[a[0]];for(var f=1,j=a.length;f<j;f++)d=d&&d[a[f]]?d[a[f]]:null;if(!d&&!this[h.map][b]){this.updateLoadStatus(b,"loading","class");var e=document.createElement("script");e.type="text/javascript";e.async=!0;a=this.config.baseUrl+"js/";c&&"0"!==c&&(a+=c.toString()+"/");a+=b.replace(/\./gi,"/")+".js";e.src=a.toLowerCase();e.onload=e.onerror=e.onreadystatechange=function(){if(/loaded|complete|undefined/.test(e.readyState)){e.onload=e.onerror=
|
|
e.onreadystatechange=null;if(this.updateLoadStatus(b,"loaded","class"))for(var a,c=0,d=this[h.array].length;c<d;c++)a=this[h.array].shift(),a();e=void 0}}.proxy(this);c=document.getElementsByTagName("script")[0];c.parentNode.insertBefore(e,c)}this.cache=this.cache||{};this.cache[b]=d}return d},config:function(b){b&&(this.config=b)},run:function(b){if(b){var a=this.getKeysByType();this[a.status]?b():this[a.array].push(b)}}};
|
|
Function.prototype.proxy=function(b){var a=this,c=Array.prototype.slice.apply(arguments).shift();return function(b){return a.apply(c,arguments)}};window.declare=Base.declare.proxy(Base);window.using=Base.using.proxy(Base);window.run=Base.run.proxy(Base);window.config=Base.config.proxy(Base);document.execCommand("BackgroundImageCache",!1,!0);
|
|
|
|
</script>
|
|
<style type="text/css">
|
|
.container{background-color:white;overflow:hidden;display:block;font-family:Microsoft YaHei;margin:0;padding:0}.pic_container{display:block;float:left;overflow:hidden}.pic_row{display:block;overflow:hidden;float:left}.pic_item{display:block;overflow:hidden;float:left;text-align:center}.pic{display:block;float:left;overflow:hidden}.pic_title{display:block;overflow:hidden;float:left;text-align:center;text-decoration:none}.pic_title_ptp{position:relative;overflow:hidden;display:block;text-decoration:none;text-align:center;float:left}.link{text-decoration:none}img.hover{-webkit-transition:-webkit-transform .5s ease-in;-moz-transition:-moz-transform .5s ease-in;-ms-transition:-ms-transform .5s ease-in;-o-transition:-o-transform .5s ease-in;transition:transform .5s ease-in;-webkit-transform:scale(1.2);-moz-transform:scale(1.2);-ms-transform:scale(1.2);-o-transform:scale(1.2);transform:scale(1.2)}.luw{float:left;overflow:hidden}.luw_single{float:left;overflow:hidden;text-decoration:none}.luw_title{float:left;overflow:hidden;text-decoration:none}.img-wrapper img{-webkit-transition:transform .5s ease-in;transition:transform .5s ease-in}.img-wrapper img:hover{-webkit-transform:scale(1.1);transform:scale(1.1)}
|
|
</style>
|
|
<link rel="stylesheet" href="./ui_e37e61c.css">
|
|
<script type="text/javascript" src="./logo_d508a26.js.下载"></script>
|
|
</head>
|
|
|
|
<body><iframe id="ifr80606" src="./sync_pos.html" style="display: none;"></iframe><iframe id="ifr58133" src="./s.html" style="display: none;"></iframe><script type="text/javascript">
|
|
try{window.postMessage && window.parent && window.parent.postMessage(
|
|
{
|
|
"queryid" : "cccd9dd0c99a9d91",
|
|
"tuid" : "u3491668_0",
|
|
"placement" : {
|
|
"basic" : {"sspId":1,"userId":1574361,"flowType":1,"cname":"csdnbaidu_cpr","tuId":9223372032563300180,"sellType":2,"rspFormat":1,"conBackEnv":1,"publisherDomain":{"dup":"rabc1.iteye.com","ubmc":"rabc2.iteye.com/i","pos":"rabc2.iteye.com","wn":"rabc2.iteye.com/qqe"}},
|
|
"container" : {"height":60,"width":852,"sizeType":1,"anchoredType":1,"floated":{}},
|
|
"fillstyle" : {"elements":[50],"layout":[1,2],"backgroundColor":"#ffffff","styleTemplateId":[50042],"txt":{"number":0,"ctitle":"#ca0c16","fontName":"微软雅黑","btitle":"1","titleFontSize":18},"nativead":{"requiredFields":[5],"screenShot":{"width":70,"height":53},"adNum":1,"imageNum":[1]},"styleType":3,"ignoreStyleMode":2,"paddingTitleTop":0,"marginTitlePicture":10,"pdp":1,"padding":{"left":10,"right":10,"top":0,"bottom":0}},
|
|
"userdefine" : "%7Ccpro%5Ftemplate%3Dtemplate%5Finlay%5Fall%5Fpc%5Flu%5Finfo%5Fflow%5Fimage%5Fno%5Fdes",
|
|
"encode_userdefine" : "encoded",
|
|
"complement_type" : 7,
|
|
"update" : "1537843811_1537843811"
|
|
},
|
|
"extends" : {"ssph":60,"sspw":852}
|
|
,
|
|
"bidder" : "1",
|
|
"noadx" : "0",
|
|
"pdb_deliv" : {
|
|
"deliv_id" : "0",
|
|
"deliv_des" : {},
|
|
"brandad" : 0
|
|
},
|
|
"order_deliv" : {
|
|
"deliv_id" : "0",
|
|
"demand_id" : "0"
|
|
},
|
|
"rtb_deliv" : {
|
|
"deliv_id" : "0",
|
|
"demand_id" : "3491668"
|
|
}
|
|
}
|
|
, '*')}
|
|
catch(e) {window.console && window.console.log(e);};
|
|
</script>
|
|
<!--sid=c99a9d91cccd9dd0--><div style="display:none;"><img src="./adx(2).php" height="1px" width="1px" alt=""></div>
|
|
<!-- main -->
|
|
<!--div class="container" id="container">
|
|
</div-->
|
|
<div class="container" id="container" style="background-color:#ffffff;height:60px;width:852px;">
|
|
<!--a class="bd-logo4" href="http://wangmeng.baidu.com" title="百度网盟推广" target="_blank" onfocus="this.blur()"></a-->
|
|
<div class="pic_container" id="pic_container" style="padding-left:10px;padding-right:10px;padding-top:0px;padding-bottom:0px;height:60px;width:832px;float:left;position:relative;overflow:hidden;"><a target="_blank" style="cursor: pointer;"><div id="img-txt-wrapper" style="height:53px;width:832px;margin-top:3px;"><div style="height:53px;width:70px;float:left;overflow:hidden;margin-right:10px;" class="img-wrapper"><div><img src="./u=4242793312,4194976522&fm=76" style="height:53px;width:70px;" id="img_0"></div></div><div id="title_desc_div" style="width:748px;height:53px;float:left;position:relative;"><div style="width:748px;margin-bottom:0px;margin-top:0px;margin-right:4px;margin-left:0px;font-size:18px;font-family:微软雅黑;color:#ca0c16;line-height:22px;font-weight:bold;cursor:hand;height:44px;" id="titile_0" class="luw_title"><div class="link" style="color:#ca0c16;">很危险!网站被攻击了你都不知道</div></div></div></div></a></div><div class="logo-container"><a class="logo-link" href="http://yingxiao.baidu.com/" target="_blank"></a><div class="gap"></div><a href="javascript:;" id="logo-close-btn"></a></div><div id="feedback-container" class="feedback-container"><div id="reason-content" class="reason-content" data-reason-num="4" style="width:320px;padding-top:0px;"><div class="intro">反馈意见:</div><a href="javascript:;" data-value="1" class="reason-item">视觉干扰</a><a href="javascript:;" data-value="2" class="reason-item">内容不宜</a><a href="javascript:;" data-value="3" class="reason-item">不感兴趣</a><a href="javascript:;" data-value="0" class="reason-item">其他原因</a><a class="fb-btn-cancel" href="javascript:;">返回</a></div><div id="thx-content" class="thx-content"><h5>感谢您的反馈!</h5><p>您的反馈已记录,我们将努力改善您的浏览体验。</p></div></div></div>
|
|
<script type="text/javascript">
|
|
var ads = [{"bid":"","curl":"https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1Yknzu9TZKxpyfqnauWpjYsFhwG5H6hpgPxmgKs5H0hph_qmvPWuj-bujKWrH-9ryf4niuo5iNaPzNAwiNjwiNAniNjPBNAPzNaniNafBNariNKPiNafBNAPzuonjY-fWT-wbR-fYR-wWD-f1m-wWT-fWD-fbc-fWb-fHR-fbc-wWThUZNopHYkFhdWTAYqnHDYP1TkFMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbkryf4myn4uj04uAPbmvnhTLwGujYkPWnhIjdYTAP_pyPouyf1gv9WFMwb5HnYrHDvPW6hIAd15HDdPHD3n16LrHchIZRqIHnYrHDvPW6hIHdCIZwsTzR1fiRzwBRzwhF_UvT-nbNWTvw8FHF7UhNYFMmqniuG5HwBmW0kPW6L&c=news&cf=1&expid=9047_9048_9165_9215_9224_9503_9506_9511_9512_9514_9522_9527_9559_9562_9579_9580_9588&fv=0&itm=0&kdi0=8&lu_idc=gz&lukid=1&lus=919d9ac9d09dcdcc&lust=5c7f2e48&mscf=0&n=10&nttp=1&p=baidu&ssp2=1&tsf=dtp:1&u=%2Fluo0xue%2Farticle%2Fdetails%2F80048847&urlid=0","desc":"很危险!网站被攻击了你都不知道","dspw":"","height":60,"icon":0,"iconurl":"https://f11.baidu.com/it/u=4242793312,4194976522&fm=76","image_url":"https://f11.baidu.com/it/u=4242793312,4194976522&fm=76","isHb":false,"lpId":3,"mt_desc":"网站被攻击","mt_img_n":1,"mt_img_url_0":"https://f11.baidu.com/it/u=4242793312,4194976522&fm=76","mt_title":"很危险!网站被攻击了你都不知道","surl":"","title":"很危险!网站被攻击了你都不知道","type":"text","width":852,"word_src":"0"}];//[{"bid":"","curl":"https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPh5HDhmv6qnaubpHY3Fh-1gv7sTjYsFhGo5Hbsmh7BnHfknj99nvD1rADhp1Y-f1T-wH0-fWR-fbD-fbn-wjc-fYf-fHR-fWb-fRc-wjf-fHchp10qFRnLFRRsFRcdFRFKFRFjFRfzFRPDFRDdFRc4FR7aFRfYFRDzFhkdpvbqniuVmLKV5Hm4n1nzFMDqmh7GuZN1pgw-ugFzULFxmLKzFMFB5HDhTMnqniu1uyk_ugFxpyfqniu1pyfqrA79nvD1nj6YnyckmhD4nau1IA-b5HfsnjnhIjdYTAP_pyPouyf1gvdEm-q9TLKxnzuYujY1njn4PHf3FMwVT1YkPH0srj0kPHDvFMwd5gR1njn4PHf3FMRqpZwYTaR1fiRzwBRzwhkdmyw1FHF7mh7GuZR-nbNWUvY-nYD3PWDzFMmqniuG5H9hPWf4nHRd&c=news&fv=0&itm=0&kdi0=8&lukid=1&mscf=0&n=10&nttp=2&p=baidu&ssp2=2&swi=1&tsf=dtp:2&u=%2Fluads%2Ehtml&urlid=0","desc":"青岛家庭公寓","dspw":"","height":60,"icon":591,"iconurl":"http://f10.baidu.com/it/u=95486616,4260237839&fm=76","image_url":"http://f10.baidu.com/it/u=95486616,4260237839&fm=76","isHb":false,"lpId":3,"desc":"青岛家庭旅馆日租房 青岛短租房信息","mt_img_n":1,"mt_img_url_0":"http://f10.baidu.com/it/u=95486616,4260237839&fm=76","title":"青岛家庭公寓","surl":"","title":"青岛家庭公寓","type":"text","width":414,"word_src":"6"}];
|
|
var ad_num = window.ads.length;
|
|
for (var i=0; i<ad_num; i++) {
|
|
if (!window.ads[i].image_url || window.ads[i].image_url == "") {
|
|
window.ads[i].image_url = "//t11.baidu.com/it/u=675809101,3723009829&fm=76"
|
|
}
|
|
if (!window.ads[i].mt_img_url_0 || window.ads[i].mt_img_url_0 == "") {
|
|
window.ads[i].mt_img_url_0 = "//t11.baidu.com/it/u=675809101,3723009829&fm=76"
|
|
}
|
|
}
|
|
var config = {"conBW":0,"conpb":0,"conpl":10,"conpr":10,"conpt":0,"consl":1,"imHeight":53,"imWidth":70,"imagenum":1,"itecpl":10,"n":"csdnbaidu_cpr","ptDesc":2,"ptFC":"#ca0c16","ptFS":18,"ptFW":"1","ptPD":0,"ptp":1,"rsi0":852,"rsi1":60,"rss1":"#ffffff","rss2":"#ca0c16","staticDomain":"rabc1.iteye.com","temp_exp_flag":0,"titFF":"微软雅黑","titFS":12,"titTA":"left"};//{"IF_m_char":14,"at":3,"conBW":0,"conpb":0,"conpl":0,"conpr":0,"conpt":0,"consl":1,"exp_flag":0,"exp_flag_mob":0,"exp_flag_secretary":0,"imC":1,"imHeight":0,"imR":1,"imSiteRecMax":0,"imStid":115,"imTab":1,"imWidth":0,"itecpl":10,"marginCP":0,"n":"bak_dltest2_cpr","pat":15,"picGap":0,"ptDesc":0,"ptFC":000","ptFF":"微软雅黑","ptFS":16,"ptFW":1,"ptLogo":0,"ptn":1,"ptp":0,"rsi0":414,"rsi1":60,"rss1":"#ffffff","rss2":000","rtn":1,"temp_exp_flag":0,"titFF":"微软雅黑","titFS":12,"titNum":999,"titTA":"left","txtC":0,"txtLC":0,"txtR":0,"txtRH":0,"txtSiteRecMax":0};
|
|
config.enable_title_dot_exp = false;
|
|
var bdJinglianExpFlag=1;
|
|
var bdUserPreferenceExpFlag=2;
|
|
var bdJinglianHoverTitle="";
|
|
function isLogoOrder(a){if(a.n==="50071140_cpr"){return 1}else{if(a.n==="ifeng_cpr"){return 2}else{return 0}}}
|
|
if(isLogoOrder(config)===1){config.ptLogo=3}else{if(isLogoOrder(config)===2){config.ptLogo=4}else{config.ptLogo=5}}
|
|
for(var i=0;i<ads.length;++i){var t=ads[i].mt_desc.split("?");if(t.length==2){ads[i].mt_desc=t[0];ads[i].curl+="&"+t[1]}};
|
|
var bdJinglianExpFlag=1;
|
|
var bdUserPreferenceExpFlag=2;
|
|
var bdJinglianHoverTitle="";
|
|
for(var i = 0;i<ads.length;++i){
|
|
var t = ads[i].mt_desc.split("?");
|
|
if (t.length ==2) {
|
|
ads[i].mt_desc = t[0];
|
|
ads[i].curl += "&"+t[1];
|
|
}
|
|
}
|
|
// // union 限制图片宽高 46~1000
|
|
// if (config.imWidth <= 46 || config.imWidth >= 1000) {
|
|
// config.imWidth = 160;
|
|
// config.imHeight = config.imHeight * 160 / config.imWidth;
|
|
// }
|
|
// // union 标题边距 0~100
|
|
// if (config.ptPD < 0) {
|
|
// config.ptPD = 0;
|
|
// }
|
|
// if (config.ptPD > 100) {
|
|
// config.ptPD = 100;
|
|
// }
|
|
// // 广告位 宽区间:250-1000,高区间:80-1000
|
|
// config.rsi0 = config.rsi0 > 1000 ? 1000:config.rsi0;
|
|
// config.rsi0 = config.rsi0 < 250 ? 250:config.rsi0;
|
|
// config.rsi1 = config.rsi1 > 1000 ? 1000:config.rsi1;
|
|
// config.rsi1 = config.rsi1 < 80 ? 80:config.rsi1;
|
|
|
|
// 异常情况处理 右图样式切回作图样式防止布局异常
|
|
if (config.imWidth >= config.rsi0) {
|
|
config.ptp = 1;
|
|
}
|
|
// font-family 中转英
|
|
if (config.titFF == "微软雅黑") {
|
|
config.titFF = 'Microsoft YaHei';
|
|
}
|
|
if (config.titFF == "宋体") {
|
|
config.titFF = 'Simsun';
|
|
}
|
|
</script>
|
|
<script>
|
|
var advanceLog={sendLog:function(){var a=this;a.sendByIframe("https://m.baidu.com/con?from=lu_wise");a.sendByIframe("https://cpro.baidu.com/concurrent/cc")},sendByIframe:function(a){var b=document.createElement("iframe");b.id="ifr"+parseInt(Math.random()*100000);b.style.display="none";b.setAttribute("src",a);document.body.insertBefore(b,document.body.firstChild)}};if(config.exp_flag_mob=="103"){advanceLog.sendLog()};
|
|
</script>
|
|
<script type="text/javascript">
|
|
//信息流模版定制
|
|
<!-- htmlcs-disable -->
|
|
//TOOBAD:
|
|
//参数计算散落在各个地方,对象之间耦合计算严重,坑太多 //实验和无效代码,无效参数太多
|
|
//公共函数应该单独抽离出来
|
|
//图文广告模版
|
|
String.prototype.gblen = function() {
|
|
var len = 0;
|
|
for (var i=0; i<this.length; i++) {
|
|
if (this.charCodeAt(i)>127 || this.charCodeAt(i)==94) {
|
|
len += 2;
|
|
} else {
|
|
len ++;
|
|
}
|
|
}
|
|
return len;
|
|
}
|
|
|
|
var ThisPage={init:function(){this.set_config();this._init_exp();var a=this.get("container");this._init_global_variables();if(this.enable_feed_refact){this._init_ads_mt_info()}else{this._init_ads()}this._init_root_element();this._init_container();this._init_info_title();this._init_luw();this._init_luw_title();this._init_card();this._init_pic();this._init_layout();this.paint_ad(a);this.bindClickInAppIFrame.run()},_init_root_element:function(){this.htmlFontSize=config.hfs||"100%";document.getElementsByTagName("html")[0].style.fontSize=this.htmlFontSize},_init_ads:function(){this.news=[];var c=config.rtn-1;var a=3;while(ads.length&&ads[ads.length-1].word_src=="pa"){var l=ads.pop();var g=new Object();var f=c*a;if(f>(ads.length-1)||(f<0)){f=0}var h=ads[f];for(var d in h){g[d]=h[d]}g.title=l.title;g.image_url=l.pa_url;g.curl=ads[f].curl.replace(/&k=[^&]*/g,"&k="+l.title);g.word_src="pa";this.news.unshift(g);c-=1}var m=(config.imR||0)*(config.imC||0);var e=ads.length;while(ads.length<m){var k=parseInt(Math.random()*(e-1));var j=new Object();for(var d in ads[k]){j[d]=ads[k][d]}ads.push(j)}if(ads.length){var b=ads[0].curl.match(/tu=.*?&/);if(b&&b.length){config.tu=b[0].replace(/tu=/,"").replace("&","")}}},_init_ads_mt_info:function(){this.news=ads},_init_container:function(){var a=this.get("container");var b={};b["background-color"]=config.rss1||"#ffffff";b.height=window.config.rsi1;b.width=window.config.rsi0;a.setAttribute("style",this.gen_style(b))},_init_luw:function(){this.luwFontColor=config.rss2||"#333";this.luwFontSize=config.titFS||12;if(config.enable_font_size_exp){this.luwFontColor="#333";this.luwFontSize=12}var a=this.get_value(config.titFF,"%E5%BE%AE%E8%BD%AF%E9%9B%85%E9%BB%91");this.luwFontFamily=decodeURIComponent(a);this.luwUnderLine=this.get_value(config.titSU,0);this.luwDistance=4;this.luwHeight=this.luwFontSize+this.luwDistance;this.hasLuw=1;this.pic_luw_seq=this.get_value(config.ptp,1);this.desc_info=this.get_value(config.ptDesc,0)},_init_luw_title:function(){this.luwTitleFontSize=config.ptFS||16;this.luwTitleFontColor=config.ptFC||"#333";var a=this.get_value(config.ptFF,"%E5%BE%AE%E8%BD%AF%E9%9B%85%E9%BB%91");this.luwTitleFontFamily=decodeURIComponent(a);this.luwTitleHeightDistance=4;var b=this.get_value(config.ptFW,1);if(b==0){this.luwTitleFontWeight="normal"}else{if(b==1){this.luwTitleFontWeight="bold"}}this.luwTitleHeight=this.luwTitleFontSize+this.luwTitleHeightDistance},_init_card:function(){this.card_padding_left=this.get_value(config.conpl,0);this.card_padding_right=this.get_value(config.conpr,0);this.card_padding_top=this.get_value(config.conpt,0);this.card_padding_bottom=this.get_value(config.conpb,0);var a=-1;if((a==0)){this.card_padding_left=5;this.card_padding_right=5;this.card_padding_top=5;this.card_padding_bottom=5}this.pic_luw_margin=this.get_value(config.itecpl,0)},_init_info_title:function(){this.has_info_title=config.ptt||0;if(this.has_info_title>0){this.info_title_fs=config.pttFS||17;var b=this.get_value(config.pttFW,0);if(b==0){this.info_title_fw="normal"}else{if(b==1){this.info_title_fw="bold"}}var a=this.get_value(config.pttFF,"%E5%BE%AE%E8%BD%AF%E9%9B%85%E9%BB%91");this.info_title_ff=decodeURIComponent(a);this.info_title_fc=config.pttFC||"#333";this.info_title_bgc=config.pttBC||"#FFFFFF";this.info_title_height=config.pttH||(this.info_title_fs+this.borderWidth);var c=this.get_value(config.ptc,encodeURIComponent("猜您喜欢"));this.info_title=decodeURIComponent(c)}},_init_pic_percentage:function(){var a=parseFloat(this.get_value(config.imgRatio,this.IMG_RATIO_BOUND));config.img_ratio=a;if(a<this.IMG_RATIO_MIN){this.pic_w=config.rsi0*this.pic_w/100}else{if(a>this.IMG_RATIO_MAX){this.pic_w=config.rsi0*this.pic_w/100;this.pic_h=this.pic_w/a}else{return}}},_init_pic:function(){this.pic_h=this.get_value(config.imHeight,0);this.pic_w=this.get_value(config.imWidth,0);this._init_pic_percentage();this.pic_info=this.get_value(config.ptp,0);this.pic_divs=[]},_init_logo:function(){this.logo_info=this.get_value(config.ptLogo,0);this.logo_font_size=10;this.logo_ad_content="推广";this.logo_baidu_div_style={};this.logo_ad_div_style={};this.logo_baidu_div=document.createElement("a");this.logo_ad_div=document.createElement("div");var a=this.get_value(config.logoMarginBotton,0),d=this.get_value(config.logoMarginRight,0),b=this.get_value(config.logoMarginTop,""),c=this.get_value(config.logoMarginLeft,""),e=this.get_value(config.ptLogo,0)},_init_global_variables:function(){this.borderWidth=3;this.align=config.adp||1;this.IMG_RATIO_MIN=0.0001;this.IMG_RATIO_MAX=0.0003;this.IMG_RATIO_BOUND=0.0002;this.LOGO_DEFAULT=0;this.LOGO_EXPAND=1;this.LOGO_NONE=3;this.LOGO_BAIDU_WITH_AD=3;this.LOGO_AD_ONLY=4;this.LOGO_AD_CLICK=5},_init_layout:function(){this.pic_container=document.createElement("div");this.pic_container.setAttribute("class","pic_container");this.pic_container.setAttribute("id","pic_container");var a={};a["padding-left"]=this.card_padding_left;a["padding-right"]=this.card_padding_right;a["padding-top"]=this.card_padding_top;a["padding-bottom"]=this.card_padding_bottom;a.height=config.rsi1-this.card_padding_bottom-this.card_padding_top;a.width=config.rsi0-this.card_padding_left-this.card_padding_right;a["float"]="left";a.position="relative";a.overflow="hidden";this.pic_container_height=a.height;this.pic_container_width=a.width;this.pic_container.setAttribute("style",this.gen_style(a));this.card_height=a.height/config.rtn;this.card_width=a.width;if(this.pic_w>0&&this.pic_h>0){config.imHeight=this.pic_h;config.imWidth=this.pic_w}else{config.imHeight=this.card_height-2*this.borderWidth;if(config.imHeight>80){config.imHeight=80}config.imWidth=config.imHeight*1.4-2*this.borderWidth}if(config.imHeight>this.card_height){config.imHeight=this.card_height;this.force_one_line=true;config.imWidth=config.imHeight*1.4;if(config.img_ratio>this.IMG_RATIO_MAX){config.imWidth=config.imHeight*config.img_ratio}}this.card_height=config.imHeight;this.title_width=a.width-config.imWidth;this.title_height=config.imHeight;this.desc_width=a.width-config.imWidth;this.desc_height=config.imHeight},_init_exp:function(){this.enable_feed_refact=true},_draw_info_title:function(a){if(this.has_info_title<1){return}var b=document.createElement("div");info_title_style={};info_title_style.height=this.info_title_height;info_title_style["line-height"]=this.info_title_height;info_title_style["font-size"]=this.info_title_fs;info_title_style["font-family"]=this.info_title_ff;info_title_style["font-weight"]=this.info_title_fw;info_title_style["margin-left"]=2*this.card_padding_left;info_title_style.color=this.info_title_fc;info_title_style["background-color"]=this.info_title_bgc;b.setAttribute("style",this.gen_style(info_title_style));b.innerHTML=this.info_title;a.appendChild(b)},_draw_title:function(c,o){var r;if(this.enable_feed_refact){r=this.news[o].title;var m=this.news[o].curl.match(/&di=(\d*)/);var j=this.news[o].desc.gblen();if(config.enable_keyword_exp){if(j>=10&&m&&(m.length>1)&&m[1]==="8"){r=this.news[o].desc}}else{if(config.enable_hcps_kw_dis){if(j>=10&&m&&(m.length>1)&&(m[1]==="8"||m[1]==="1")){r=this.news[o].desc}}}}else{r=this.news[o].title}var k=this.chrlen(r,this.luwTitleFontSize);var a=1;if(k>this.title_width&&!this.force_one_line){var h=this.title_width-parseInt(this.title_width/this.luwTitleFontSize)*this.luwTitleFontSize;var q=Math.ceil(k/(this.title_width-h));config.ptPD=config.ptPD||0;config.titPD=config.titPD||0;if((q>=3&&(this.luwTitleHeight*q+config.ptPD+config.titPD+16)>this.card_height)||config.rsi1<=40){q=2}this.title_height=this.luwTitleHeight*q}else{this.title_height=this.luwTitleHeight}this.title_height=this.luwTitleHeight*2;var g=4;var p=0;var d=this.title_width-this.pic_luw_margin-g-p;var i=document.createElement("div");var f=document.createElement("div");var b={};b.color=this.luwTitleFontColor;f.setAttribute("class","link");if(config.enable_title_dot_exp){if(k>d*a){r=this.shorten(r,d*a-2,this.luwTitleFontSize);r+=".."}}f.innerHTML=r;f.setAttribute("style",this.gen_style(b));var l={};var n=(this.card_height-this.title_height<this.luwFontSize)&&(this.enable_logo_ad);if(n||((this.desc_info==2)&&(this.pic_info==2))){l.width=d-this.logo_ad_div_style.width-g;this.logo_ad_height=this.luwTitleHeight;this.insert_logo_at_title=true;this.logo_ad_div_style["margin-top"]=this.title_height-this.logo_ad_height-2;if(this.logo_ad_div_style["margin-top"]<0){this.logo_ad_div_style["margin-top"]=0}}else{l.width=d;if(this.enable_logo_ad){this.logo_ad_height=this.luwTitleHeight}}l["margin-bottom"]=0;l["margin-top"]=config.ptPD||0;l["margin-right"]=g;l["margin-left"]=p;l["font-size"]=this.luwTitleFontSize;l["font-family"]=this.luwTitleFontFamily;l.color=this.luwTitleFontColor;l["line-height"]=this.luwTitleHeight;l["font-weight"]=this.luwTitleFontWeight;l.cursor="hand";l.height=this.title_height;var e=(config.imHeight-this.title_height-l["margin-top"]-this.luwHeight);e=e<0?0:e;if(config.enable_margin_fix){if(this.desc_info==2||this.enable_logo_ad==1){l["margin-bottom"]=(config.imHeight-this.title_height-l["margin-top"]-this.luwHeight)}}if(this.pic_info==2){l["margin-bottom"]=this.borderWidth}if(this.enable_logo_ad){e=l["margin-bottom"]}i.setAttribute("style",this.gen_style(l));i.setAttribute("id","titile_"+o);i.setAttribute("class","luw_title");i.appendChild(f);c.appendChild(i);this.desc_height=this.card_height-this.title_height-e-l["margin-top"];this.title_width=d;this.desc_width=this.title_width},_draw_pic:function(c,d,e){if(this.pic_info==2){this.title_width+=config.imWidth;this.desc_width+=config.imWidth;return}pic_div=document.createElement("div");var b={};b.height=config.imHeight;b.width=config.imWidth;b["float"]="left";b.overflow="hidden";if(this.pic_luw_seq===1){b["margin-right"]=this.pic_luw_margin;if(e==(config.rtn-1)&&this.enable_logo_baidu&&(config.exp_flag_mob&2048)){b.position="relative";pic_div.appendChild(this.logo_baidu_div);this.insert_logo_at_pic=true}}else{if(this.pic_luw_seq==3){b["margin-left"]=this.pic_luw_margin;b["float"]="right";if(e==(config.rtn-1)&&this.enable_logo_baidu&&(config.exp_flag_mob&2048)){b.position="relative";b["float"]="right";this.logo_baidu_div.style.right=0;this.logo_baidu_div.style.left="auto";pic_div.appendChild(this.logo_baidu_div);this.insert_logo_at_pic=true}}}pic_div.setAttribute("style",this.gen_style(b));pic_div.className="img-wrapper";var a=document.createElement("img");var g={};g.height=config.imHeight;g.width=config.imWidth;a.setAttribute("src",ads[d].image_url);a.setAttribute("style",this.gen_style(g));a.setAttribute("id","img_0");var f=document.createElement("div");f.appendChild(a);pic_div.appendChild(f);this.pic_divs.push(pic_div)},_draw_desc:function(c,b,d){var i=this.card_height-this.title_height-config.ptPD-16-config.titPD<this.luwFontSize;if(this.desc_info==2||this.insert_logo_at_title||i){return}var f=document.createElement("div");var j={};var e="";var h=new Date();if(this.enable_logo_ad){j["margin-left"]=0;this.desc_width=this.desc_width-j["margin-left"]-this.chrlen(this.logo_ad_content,this.logo_font_size*1.2)-this.borderWidth*2;j.width=this.desc_width;j["margin-right"]=this.borderWidth*2}if(this.desc_height<=this.luwFontSize){if(this.desc_info==0){return}e=h.getFullYear()+"-"+(h.getMonth()+1)+"-"+h.getDate()}else{if(this.desc_info==0){if(this.enable_feed_refact){e=ads[b].mt_desc;var g=ads[b].curl.match(/&di=(\d*)/);var a=ads[b].desc.gblen();if(config.enable_keyword_exp){if(g&&(g.length>1)&&g[1]==="8"&&a>=10){e=ads[b].title}}else{if(config.enable_hcps_kw_dis){if(g&&(g.length>1)&&(g[1]==="8"||g[1]==="1")&&a>=10){e=ads[b].title}}}}else{e=ads[b].title+" "+ads[b+1].title}}else{if(this.desc_info==1){e=h.getFullYear()+"-"+(h.getMonth()+1)+"-"+h.getDate()}}}j={};j.height=this.desc_height;f.innerHTML=e;this.logo_ad_height=this.desc_height;j.height=this.desc_height;j["font-size"]=this.luwFontSize;j["font-family"]=this.luwFontFamily;j.color=this.luwFontColor;j.width=this.desc_width;j["line-height"]=this.desc_height;j.overflow="hidden";j["padding-top"]=config.titPD||0;f.setAttribute("style",this.gen_style(j));f.setAttribute("class","luw_single");c.appendChild(f)},_draw_logo:function(){if(this.enable_logo_ad){this.logo_ad_div_style.height=this.logo_ad_height;this.logo_ad_div_style["line-height"]=this.logo_ad_height;this.logo_ad_div.setAttribute("style",this.gen_style(this.logo_ad_div_style));this.logo_ad_divs.push(this.logo_ad_div.cloneNode(true))}},set_config:function(){window.config=window.config;if(window.config.ptLogo==4){for(var a=0;a<window.ads.length;a++){if(window.ads[a].title.length<window.ads[a].desc.length){window.ads[a].title=window.ads[a].desc}if(window.ads[a].title.length<window.ads[a].desc.length){window.ads[a].title=window.ads[a].desc}window.ads[a].desc=" ";window.ads[a].desc=" "}}if(window.config.ptLogoC==window.config.ptLogoBg){window.config.ptLogoC="#999999";window.config.ptLogoBg="#FFFFFF"}if(window.config.ptLogoFS<12){window.config.ptLogoFS=12}},gen_style:function(c){var a="";for(var b in c){a+=b+":"+c[b]+(typeof c[b]=="number"?"px;":";")}return a},bindClickInAppIFrame:{tu:"",tu_list:["u1990394"],init:function(){if(typeof config.tu=="undefined"){return false}this.tu=config.tu},run:function(){this.init();for(var a=0;a<this.tu_list.length;++a){if(this.tu_list[a]==this.tu){this.bindClick("pic_container");break}}},bindClick:function(b){var a=document.getElementById(b);var d=a.getElementsByTagName("a");for(var c=0;c<d.length;c++){d[c].onclick=this.mouseClickHandler}},mouseClickHandler:function(a){var a=window.event?window.event:a;if(a){target=a.target||a.srcElement;if(target.tagName.toLowerCase()!=="a"){target=target.parentNode}if(target&&target.href){window.open(target.href)}}return false}},paint_ad:function(n){var k=3;this._draw_info_title(this.pic_container);if(config.rtn==null){config.rtn=window.ads.length}for(var q=0;q<config.rtn;q+=1){var a=document.createElement("div");a.id="img-txt-wrapper";var u={};var r=this.news[q].curl;var o=r.match(/&di=(\d*)/);var g;if((o===null)||(o&&(o.length>1)&&o[1]!=="8")){g=r.match(/&k0=([^&]*)/);if(g&&g.length>1){g=g[1];r=r.replace(/&k=[^&]*/,"&k="+g)}}var l=config.exp_flag_mob&64;if(l&&o&&(o.length>1)&&o[1]==="8"){g=r.match(/&k0=([^&]*)/);if(g&&g.length>1){g=g[1];r=r.replace(/&k=[^&]*/,"&k="+g)}}var h=this.news[q].desc.gblen();if((config.enable_keyword_exp||config.enable_hcps_kw_dis)&&o&&(o.length>1)&&o[1]==="8"){if(h>=10){var t=encodeURI(this.news[q].desc);r=r.replace(/&k=[^&]*/,"&k="+t)}}var e=q*k;if(this.enable_feed_refact){e=q}var m=0;var c=0;u.height=this.card_height;u.width=this.card_width;var i=this.card_height+u["padding-top"]+u["padding-bottom"];m=Math.floor(0.5*(this.pic_container_height-this.card_height));if(m<0){m=0}u["margin-top"]=m;a.setAttribute("style",this.gen_style(u));var p=this.title_width;if((this.desc_info==2)&&(this.pic_info==2)){this.force_one_line=true}var j=this.desc_width;this._draw_pic(a,e,q);var d=document.createElement("div");d.setAttribute("id","title_desc_div");var f={};this._draw_title(d,q);this._draw_desc(d,e,k);f.width=this.title_width;f.height=config.imHeight;f["float"]="left";f.position="relative";d.setAttribute("style",this.gen_style(f));this._draw_logo();if(this.enable_logo_ad&&(q+1==config.rtn)){d.appendChild(this.logo_ad_divs[q])}if(this.pic_luw_seq==1){a.appendChild(this.pic_divs[q]);a.appendChild(d)}else{if(this.pic_luw_seq==3){a.appendChild(d);a.appendChild(this.pic_divs[q])}}var s=document.createElement("a");s.setAttribute("target","_blank");s.appendChild(a);s.style.cursor="pointer";this.pic_container.appendChild(s);if(s.addEventListener){s.addEventListener("click",b,false)}else{s.attachEvent("onclick",b)}function b(z){var x=z||window.event;var y=x.target||x.srcElement;if(y.id==="hideBaiduAdLogo"||y.id==="hideBaiduAdLogo_span1"||y.id==="hideBaiduAdLogo_span2"){z.preventDefault();document.getElementById("closeBtn").click();return false}var v=document.getElementById("tipWrapper");var w=function(A,C){var B=C.parentNode;while(B!=null){if(B==A){return true}B=B.parentNode}return false};if(y.id!=="closeBtn"&&v!=y&&!w(v,y)){window.open(r)}else{if(y.className==="btn-blue"){}else{z.preventDefault()}}return false}this.title_width=p;this.desc_width=j}if((this.enable_logo_baidu)&&!this.insert_logo_at_pic){n.appendChild(this.logo_baidu_div)}n.appendChild(this.pic_container)},get:function(a){return document.getElementById(a)},get_value:function(b,a){if(typeof b!=="undefined"){return b}else{return a}},chrlen:function(e,a){var d=0;var b=0;for(var c=0;c<e.length;++c){if(escape(e[c]).indexOf("%u")<0){b+=1}else{d+=1}}return Math.ceil(d*a+b*a/2)},shorten:function(e,c,d){if(c<=0){return -1}var a=this.chrlen(e,d);if(a<=c){return e}var b=e.length;while(a>c&&a>0){e=e.substring(0,e.length-1);a=this.chrlen(e,d);if(a<=c){e+="";return e}}return -1},bind:function(b,a,c){if(window.addEventListener){b.addEventListener(a,c,false)}else{b.attachEvent("on"+a,c)}}};
|
|
var bd_new_logo={logoRender:function(e,f,s,l,d,c,k){var j=110;var u=16;var r=this.needShow();var q=document.createElement("div");q.className="bd-logo";q.id="bd-logo";q.style.display="none";q.style.width="0px";q.style.height="0px";document.getElementById("pic_container").appendChild(q);var h=document.createElement("div");h.className="bd-logo-wrapper";h.style.position="absolute";h.style.lineHeight=u.toString()+"px";h.style.display="block";h.style.zIndex=2147483647;var i=null;var a=null;var b=null;var n=null;var t=null;i=j;a=c-i-d;b=c-s;n=k-l;t=k-f;if(n<0||a<0||t<0||b<0||d<0||l<0||s<0||f<0){s=f=0;d=l=""}l=config.imHeight-u;var m=document.createElement("span");m.innerHTML="\u767e\u5ea6\u5e7f\u544a";m.id="baiduAdLogo";m.style.cursor="pointer";m.style.color="#999";m.style.width="60px";m.style.height="12px";m.style.fontSize="12px";m.style.display="inline-block";h.appendChild(m);var g=document.createElement("span");g.id="hideBaiduAdLogo";g.style.width="110px";g.style.height="12px";g.style.display="none";g.style.cursor="pointer";g.style.color="#6c6c6c";g.style.fontSize="12px";var p=document.createElement("span");p.id="hideBaiduAdLogo_span1";p.innerHTML="\u4e0d\u60f3\u770b\u4e86\uff0c";g.appendChild(p);var o=document.createElement("span");o.style.color="#3998fc";o.id="hideBaiduAdLogo_span2";o.innerHTML="\u505c\u6b62\u5e7f\u544a";g.appendChild(o);h.appendChild(g);h.style.bottom=f+"px";h.style.left=d?d+"px":"";h.style.height=u+"px";h.style.width=j+"px";document.getElementById("title_desc_div").appendChild(h);if(r){this.bind(m,"mouseover",this.on_mouseover_logo);this.bind(g,"mouseover",this.on_mouseover_logo);this.bind(g,"mouseout",this.on_mouseout_logo)}else{return}},bind:function(b,a,c){if(window.addEventListener){b.addEventListener(a,c,false)}else{b.attachEvent("on"+a,c)}},on_mouseover_logo:function(){var b=document.getElementById("hideBaiduAdLogo");b.style.display="inline-block";var a=document.getElementById("baiduAdLogo");a.style.display="none"},on_mouseout_logo:function(){var b=document.getElementById("hideBaiduAdLogo");b.style.display="none";var a=document.getElementById("baiduAdLogo");a.style.display="inline-block"},needShow:function(){if(typeof config.consl==="undefined"){config.consl=1}if(config.consl){return true}else{return false}}};
|
|
run(ThisPage.init.proxy(ThisPage));
|
|
(function(){try{var d={getCookie:function(p,t){var o;var t=t||window;var s=t.document;var q=new RegExp("(^| )"+p+"=([^;]*)(;|\x24)");var r=q.exec(s.cookie);if(r){o=r[2]}return o},setCookie:function(q,r,p){p=p||{};var o=p.expires;if("number"==typeof p.expires){o=new Date();o.setTime(o.getTime()+p.expires)}document.cookie=q+"="+r+(p.path?"; path="+p.path:"")+(o?"; expires="+o.toGMTString():"")+(p.domain?"; domain="+p.domain:"")+(p.secure?"; secure":"")}};var g={sendByIframe:function(o){var p=document.createElement("iframe");p.id="ifr"+parseInt(Math.random()*100000);p.style.display="none";p.setAttribute("src",o);document.body.insertBefore(p,document.body.firstChild)},sendByImage:function(p,r){var o=new Image();var q="cpro_log_"+Math.floor(Math.random()*2147483648).toString(36);r=r||window;r[q]=o;o.onload=o.onerror=o.onabort=function(){o.onload=o.onerror=o.onabort=null;r[q]=null;o=null};o.src=p}};var f=d.getCookie("BAIDUID");var e=d.getCookie("CPROID");var k=d.getCookie("ISUS");var h=d.getCookie("ISBID");var l=false;var m=false;var n=(new Date()).getTime();if(!e&&f){var j="//cpro.baidustatic.com/sync.htm?cproid="+encodeURIComponent(f);g.sendByIframe(j)}if(e&&!k){l=true}else{if(e&&k&&e!==k){l=true}}if(f&&!h){m=true}else{if(f&&h&&f!==h){m=true}}if(l||m){var a=new Date();a.setTime(a.getTime()+86400000);d.setCookie("ISBID",f||"1",{path:"/",expires:a});d.setCookie("ISUS",e||"1",{path:"/",expires:a});if(e&&f){var c=e;var b=e.indexOf(":");if(b&&b>0){c=e.substring(0,b)}g.sendByIframe("//s.cpro.baidu.com/s.htm?cproid="+c+"&t="+n)}if(e){g.sendByIframe("//pos.baidu.com/sync_pos.htm?cproid="+encodeURIComponent(e)+"&t="+n);var c=e;var b=e.indexOf(":");if(b&&b>0){c=e.substring(0,b)}}}}catch(i){}})();
|
|
|
|
//if(isLogoOrder(config) === 1){
|
|
// var logoCon={logoIsShow:function(){var b,c,a=document.getElementsByTagName("a");for(b=0;b<a.length;b++)c=a[b].className,("bd-logo"==c||"bd-logo2"==c||"bd-logo3"==c||"bd-logo4"==c||"bd-logo5"==c||"bd-logo1"==c)&&("undefined"==typeof config.consl&&(config.consl=1),a[b].style.display=config.consl?"block":"none")}};logoCon.logoIsShow();
|
|
//}
|
|
</script>
|
|
<script>
|
|
var sendMonitorLog={sendLog:function(){var d=this;var b=document.getElementById("pic_container");var c=b.getElementsByTagName("a");for(var a=0;a<c.length;a++){if(c[a].className!="bd-logo4"){d.addEvent(c[a],"click",function(e){d.sendByIframe("https://m.baidu.com/con?from=lu_wise")})}}},getClass:function(c,b){if(document.getElementsByClassName){return document.getElementsByClassName(b)}else{var c=document.getElementsByTagName_r(c);var d=[];for(var a=0;a<c.length;a++){if(c[a].className==b){d[d.length]=c[a]}}return d}},sendByIframe:function(a){var b=document.createElement("iframe");b.id="ifr"+parseInt(Math.random()*100000);b.style.display="none";b.setAttribute("src",a);document.body.insertBefore(b,document.body.firstChild)},addEvent:function(c,b,a){b=b.replace(/^on/i,"").toLowerCase();if(c.addEventListener){c.addEventListener(b,a,false)}else{c.attachEvent("on"+b,function(){a(window.event)})}},resTag:function(a){var a=a.parentNode;if(a.tagName.toLowerCase()!=="a"&&a.tagName.toLowerCase()!=="body"){return this.resTag(a)}return a}};if(config.exp_flag_mob=="102"){sendMonitorLog.sendLog()};
|
|
</script>
|
|
<script>
|
|
var defaultIsShow = false;
|
|
var logoCon={logoIsShow:function(){var b,c,a=document.getElementsByTagName("a");for(b=0;b<a.length;b++)c=a[b].className,("bd-logo"==c||"bd-logo2"==c||"bd-logo3"==c||"bd-logo4"==c||"bd-logo5"==c||"bd-logo1"==c)&&("undefined"==typeof config.consl&&(config.consl=1),a[b].style.display=(defaultIsShow && config.consl)?"block":"none")}};logoCon.logoIsShow();
|
|
</script>
|
|
<script>
|
|
// var adJsUrlexp='//cpro.baidustatic.com/cpro/ui/noexpire/js/4.0.1/adClosefeedbackUpgrade.min.js';
|
|
// var bdUserPreferenceExpFlag=2;var bdJinglianExpFlag=1;var preferenceInfo="czE9MjQ0MzAyNTA5NwFzMj0zNTAwMDAyNzY0AXJlcXVybD1odHRwcyUzQSUyRiUyRmJsb2clMkVjc2RuJTJFbmV0JTJGbHVvMHh1ZSUyRmFydGljbGUlMkZkZXRhaWxzJTJGODAwNDg4NDcBY250bj1jc2RuYmFpZHVfY3ByAXR1PXUzNDkxNjY4AWlwPTQyMzIwODg4OTMBaXB2Nj0BY3JjPTIyNTM0NjE2NA==";var bdJinglianHoverTitle="";var bdUserPreferenceReason=[{"id":5,"name":"视觉干扰","type":0},{"id":6,"name":"内容不宜","type":0},{"id":7,"name":"不感兴趣","type":0},{"id":8,"name":"其它","type":0},{"id":1005,"name":"视觉干扰","type":1},{"id":1006,"name":"内容不宜","type":1},{"id":1007,"name":"不感兴趣","type":1},{"id":1008,"name":"其它","type":1}]||[];var bdUserComplaintReason=[{id:0,name:'\u8bf7\u8f93\u5165\u002e\u002e\u002e',option:0,type:0},{id:1,name:'\u5185\u5bb9\u4f4e\u4fd7',option:'\u5185\u5bb9\u4f4e\u4fd7',type:1},{id:2,name:'\u5185\u5bb9\u865a\u5047',option:'\u5185\u5bb9\u865a\u5047',type:1},{id:3,name:'\u4e0d\u7f8e\u89c2',option:'\u4e0d\u7f8e\u89c2',type:1}];var loadJs=function(f,e){var h=document.createElement("script");h.onload=function(){e()};h.onreadystatechange=function(){/loaded|complete/.test(h.readyState)&&e()};h.src=f;var g=document.getElementsByTagName("script")[0];g.parentNode.insertBefore(h,g)};window.onload=function(){if(bdUserPreferenceExpFlag){loadJs(adJsUrlexp,function(){document.getElementById('closeBtn').style.display = "none";})}};
|
|
logo.init({containerId: 'container', closeDirect: true, feedbackParentId: 'container', deviceType: 1});
|
|
|
|
</script>
|
|
|
|
|
|
</body></html> |