s.html 80 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
  1. <!-- htmlcs-disable -->
  2. <!DOCTYPE html>
  3. <html><head>
  4. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  5. <meta name="template-name" content="baiduCustNativeADImage">
  6. <meta charset="UTF-8">
  7. <!--baiduCustNativeADImageTxt_1-->
  8. <title>
  9. 百度推广
  10. </title>
  11. <link rel="stylesheet" href="s_data/logo-sm.css">
  12. <script type="text/javascript" src="s_data/logo.js"></script>
  13. <style type="text/css">
  14. body{margin:0;padding:0;font-size:14px;font-family:arial,'microsoft yahei',\5b8b\4f53,sans-serif}body *{margin:0;padding:0;font-size:100%}body em{font-style:normal}body ul,body ol{list-style:none}body img{border:0}body .cur-item .item-img{-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}body .clearfix:after{clear:both;content:'\20';height:0;display:block}body .clear{clear:both;height:0;line-height:0;font-size:0;visibility:hidden;overflow:hidden}body .yahei{font-family:"microsoft yahei","微软雅黑E\8F6F\96C5\9ED1",Tahoma,Arial,Helvetica,STHeiti}body .heiti{font-family:SimHei,STHeiti,"microsoft yahei","微软雅黑E\8F6F\96C5\9ED1",Tahoma,Arial,Helvetica}.s-hl-content{position:relative}.s-hl-content .s-bd-logo{height:20px;width:100px;background:url('//su.bdstatic.com/static/cun/img/bd_logo_78626fb5.png') no-repeat left top;background-position:0 0}.s-hl-content .s-bd-logo:hover{background-position:0 -20px}.s-hl-content .s-bd-logo{text-decoration:none;cursor:pointer;display:block;overflow:hidden;position:absolute;bottom:0;right:0;z-index:2147483647}.s-hl-content .s-bd-logo-small:hover{background-position:-70px 0;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src="//su.bdstatic.com/static/cun/img/logo_border_dark_fe7d5068.png",sizingMethod="crop")}.s-hl-content .s-bd-logo-small{position:absolute;cursor:pointer;bottom:0;right:0;height:18px;width:18px;background:url(//su.bdstatic.com/static/cun/img/bd_logo2_fe7c9450.png) no-repeat left top;background-position:0 0;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src="//su.bdstatic.com/static/cun/img/logo_border_light_0f0bac10.png",sizingMethod="crop");_background:none;z-index:2147483647}
  15. </style>
  16. <script type="text/javascript">
  17. (function(c){var b=typeof module==="undefined"?(c.baidu=c.baidu||{}):module.exports;b.template=function(g,f){var e=(function(){if(!c.document){return a._compile(g)}var i=document.getElementById(g);if(i){if(a.cache[g]){return a.cache[g]}var h=/^(textarea|input)$/i.test(i.nodeName)?i.value:i.innerHTML;return a._compile(h)}else{return a._compile(g)}})();var d=a._isObject(f)?e(f):e;e=null;return d};var a=b.template;a.versions=a.versions||[];a.versions.push("1.0.6");a.cache={};a.LEFT_DELIMITER=a.LEFT_DELIMITER||"<%";a.RIGHT_DELIMITER=a.RIGHT_DELIMITER||"%>";a.ESCAPE=true;a._encodeHTML=function(d){return String(d).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\\/g,"&#92;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")};a._encodeReg=function(d){return String(d).replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")};a._encodeEventHTML=function(d){return String(d).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\\\\/g,"\\").replace(/\\\//g,"/").replace(/\\n/g,"\n").replace(/\\r/g,"\r")};a._compile=function(e){var d="var _template_fun_array=[];\nvar fn=(function(__data__){\nvar _template_varName='';\nfor(name in __data__){\n_template_varName+=('var '+name+'=__data__[\"'+name+'\"];');\n};\neval(_template_varName);\n_template_fun_array.push('"+a._analysisStr(e)+"');\n_template_varName=null;\n})(_template_object);\nfn = null;\nreturn _template_fun_array.join('');\n";return new Function("_template_object",d)};a._isObject=function(d){return"function"===typeof d||!!(d&&"object"===typeof d)};a._analysisStr=function(f){var d=a.LEFT_DELIMITER;var h=a.RIGHT_DELIMITER;var e=a._encodeReg(d);var g=a._encodeReg(h);f=String(f).replace(new RegExp("("+e+"[^"+g+"]*)//.*\n","g"),"$1").replace(new RegExp("<!--.*?-->","g"),"").replace(new RegExp(e+"\\*.*?\\*"+g,"g"),"").replace(new RegExp("[\\r\\t\\n]","g"),"").replace(new RegExp(e+"(?:(?!"+g+")[\\s\\S])*"+g+"|((?:(?!"+e+")[\\s\\S])+)","g"),function(j,i){var k="";if(i){k=i.replace(/\\/g,"&#92;").replace(/'/g,"&#39;");while(/<[^<]*?&#39;[^<]*?>/g.test(k)){k=k.replace(/(<[^<]*?)&#39;([^<]*?>)/g,"$1\r$2")}}else{k=j}return k});f=f.replace(new RegExp("("+e+"[\\s]*?var[\\s]*?.*?[\\s]*?[^;])[\\s]*?"+g,"g"),"$1;"+h).replace(new RegExp("("+e+":?[hvu]?[\\s]*?=[\\s]*?[^;|"+g+"]*?);[\\s]*?"+g,"g"),"$1"+h).split(d).join("\t");if(a.ESCAPE){f=f.replace(new RegExp("\\t=(.*?)"+g,"g"),"',typeof($1) === 'undefined'?'':baidu.template._encodeHTML($1),'")}else{f=f.replace(new RegExp("\\t=(.*?)"+g,"g"),"',typeof($1) === 'undefined'?'':$1,'")}f=f.replace(new RegExp("\\t:h=(.*?)"+g,"g"),"',typeof($1) === 'undefined'?'':baidu.template._encodeHTML($1),'").replace(new RegExp("\\t(?::=|-)(.*?)"+g,"g"),"',typeof($1)==='undefined'?'':$1,'").replace(new RegExp("\\t:u=(.*?)"+g,"g"),"',typeof($1)==='undefined'?'':encodeURIComponent($1),'").replace(new RegExp("\\t:v=(.*?)"+g,"g"),"',typeof($1)==='undefined'?'':baidu.template._encodeEventHTML($1),'").split("\t").join("');").split(h).join("_template_fun_array.push('").split("\r").join("\\'");return f}})(window);
  18. </script>
  19. <script type="text/template" id="native_ad_frame_template">
  20. <div class="s-hl-content">
  21. <div id="bd-hl-content" class="bd-hl-content">
  22. <div class="title_style title_style_<%=style.hasTitle%>"><%=style.header%></div>
  23. <div id="pic_container" class="pic_container"> </div>
  24. </div>
  25. </div>
  26. <style type="text/css">
  27. .s-hl-content .bd-hl-content a,
  28. .s-hl-content .bd-hl-content a:hover,
  29. .s-hl-content .bd-hl-content a:visited,
  30. .s-hl-content .bd-hl-content a{text-decoration:none}
  31. .s-hl-content .bd-hl-content .pic_container{padding:0px;border:0;position:relative;overflow:hidden;float:left;}
  32. .s-hl-content .bd-hl-content{
  33. position:relative; margin:0;padding:0;font-family:'microsoft yahei';font-size: 14px;font-weight:normal; overflow:hidden;
  34. border:<%=style.containerBorder%>px solid #CCC;
  35. background-color:<%=style.containerBgColor%>;
  36. width:<%=style.containerWidth%>px;
  37. height:<%=style.containerHeight%>px;
  38. padding:<%=style.containerPaddingTop%>px <%=style.containerPaddingRight%>px <%=style.containerPaddingBottom%>px <%=style.containerPaddingLeft%>px;
  39. }
  40. .s-hl-content .bd-hl-content .title_style {<%if(style.hasTitle==2){%>margin-left:5px;<%}%>width:<%=(style.containerWidth-5)%>px;height:25px;line-height:25px;padding-left:5px;font-size:<%=style.headerFontSize%>px;margin-bottom:3px;font-weight:900;}
  41. .s-hl-content .bd-hl-content .title_style_0 {display:none;}
  42. .s-hl-content .bd-hl-content .title_style_2 {border-left:5px solid <%=style.headerBgColor%>;color:<%=style.headerFontColor%>}
  43. .s-hl-content .bd-hl-content .title_style_1 {background-color:<%=style.headerBgColor%>;color:<%=style.headerFontColor%>}
  44. </style>
  45. </script>
  46. <script type="text/template" id="native_ad_pic_template">
  47. <div style="margin-top:<%=style.blockMarginTop%>px;<%if(style.align==1){%>margin-left:5px;<%}%>">
  48. <%for(var row=0;row<style.imgRow;++row){
  49. %><div id="imgRow<%=row%>"style="margin-top:<%=style.imgRowMarginTop%>px;clear:both;"><%
  50. for(var col=0;col<style.imgCol;++col){
  51. var i = row * style.imgCol + col;
  52. if(i >= ads.length) {
  53. break;
  54. }%>
  55. <div class="pic_itemColumnSpace" ></div>
  56. <div class="pic_item" id="picItem_<%=row%>_<%=col%>" >
  57. <%if(config["temp_exp_flag"] === 6476){%>
  58. <%if(ads.length >= 3 && col < 6 && row == 0){%>
  59. <div class="flagShow">
  60. <div class="triangle_<%=col%> angle"></div>
  61. <p class="number"> <%=col+1%> </p>
  62. </div>
  63. <%}%>
  64. <%}%>
  65. <div class="pic">
  66. <a href="<%=ads[i].curl%>" target="_blank" style="cursor: pointer">
  67. <img class="img" src="<%=ads[i].image_url%>">
  68. <div class="mask">
  69. <%if((style.Sys.ie && style.Sys.ie>= 10 || style.Sys.safari)){%>
  70. <svg style="position:absolute;top:0px;left:0px;">
  71. <defs>
  72. <filter id="blur_<%=row%>_<%=col%>">
  73. <feGaussianBlur id="filter__<%=row%>_<%=col%>" stdDeviation="4" />
  74. </filter>
  75. </defs>
  76. <image xlink:href="<%=ads[i].image_url%>" preserveAspectRatio="none" width="<%=style.picWidth%>" height="<%=style.picHeight%>" filter="url(#blur_<%=row%>_<%=col%>)" />
  77. </svg>
  78. <%}else{%>
  79. <img src="<%=ads[i].image_url%>" class="img img_blur" style="position:absolute;top:0px;left:0px;"/>
  80. <%}%>
  81. <%
  82. var T = advLength(ads[i].title,14);
  83. var H = Math.min(Math.ceil(T/(style.picWidth-20)),2);
  84. var L = Math.max((style.picHeight-H*21)/2-10,0);
  85. %>
  86. <div style="position:absolute;left:0px;background-color:rgba(0,0,0,0.5) !important;filter:Alpha(opacity=50); background:#000;height:<%=style.picHeight%>px;width:<%=style.picWidth%>px;">
  87. <span class="mask_title" style="margin-top:<%=L%>px" x=<%=T%> y=<%=H%> ><%=ads[i].title%></span>
  88. </div>
  89. </div>
  90. </a>
  91. </div>
  92. <a href="<%=ads[i].curl%>" target="_blank" style="cursor: pointer">
  93. <%if(style.titlePosition){%>
  94. <div class="pic_title title_on_pic title_on_pic_bg"></div>
  95. <%}%>
  96. <div class="pic_title <%if(style.titlePosition){%>title_on_pic<%}else{%>title_under_pic<%}%>">
  97. <%=ads[i].title%>
  98. </div>
  99. </a>
  100. </div>
  101. <%}%>
  102. <div style="clear:both;"></div></div>
  103. <%}%>
  104. <div style="clear:both"></div>
  105. </div>
  106. <style>
  107. .pic_itemColumnSpace {height:40px;float:left;margin-top:0;margin-bottom:0;width:<%=config.cMR%>px}
  108. .pic_item {float:left;overflow: hidden;width:<%=(style.imgItemWidth)%>px;height:<%=style.imgItemHeight%>px;position:relative;}
  109. .pic {text-align:center;margin:0px;border:1px solid #ddd;height:<%=style.picHeight%>px;overflow:hidden;}
  110. .pic .img{width:<%=style.picWidth%>px;height:<%=style.picHeight%>px;}
  111. .pic_title{margin:0 auto;padding:0;overflow:hidden;text-align:center;text-decoration:none;font-weight:normal;width:<%=(style.picWidth)%>px;height:<%=style.picTitleHeight%>px;line-height:<%=style.picTitleHeight%>px;font-family:"<%=style.titleFontFamily%>";font-size:<%=style.titleFontSize%>px;font-weight:normal;}
  112. .pic_container .title_on_pic{color:#ffffff; position:absolute;top:<%=style.picHeight-19%>px;left:1px;height:20px;line-height:20px;}
  113. .pic_container .title_under_pic{color:<%=style.titleFontColor%>;}
  114. .title_on_pic_bg{background-color:#000000;filter:alpha(opacity=50);opacity:<%=style.titleBgOpa%>;height:20px;}
  115. .mask{position:absolute;top:1px;left:1px;height:<%=style.picHeight%>px;width:<%=(style.picWidth)%>px;display:none;}
  116. .mask_head{color:#fff;text-align:left;display:inline-block;padding:2px 4px;font-size:12px;}
  117. .mask_title {color:#fff; padding: 3px 5px; border: 1px solid #fff;display:inline-block;width:<%=style.picWidth-20%>px;font-size:14px;overflow:hidden;max-height:32px;line-height:16px;}
  118. .hover .pic{border : 1px solid #f40000;}
  119. .hover .title_under_pic{color:#f40000;}
  120. .hover .title_on_pic{color:#f40000;}
  121. .hover .pic img {
  122. -webkit-transition: -webkit-transform .5s ease-in;
  123. -moz-transition: -moz-transform .5s ease-in;
  124. -ms-transition: -ms-transform .5s ease-in;
  125. -o-transition: -o-transform .5s ease-in;
  126. transition: transform .5s ease-in;
  127. -webkit-transform: scale(1.2);
  128. -moz-transform: scale(1.2);
  129. -ms-transform: scale(1.2);
  130. -o-transform: scale(1.2);
  131. transform: scale(1.2);
  132. }
  133. .pic_item_hover .mask {display:block;}
  134. .pic_item_hover .pic_title a{color:#ffffff;font-weight:900;}
  135. .pic_item_hover .title_on_pic_bg{display:none;}
  136. .pic_item_hover .title_on_pic{top:-<%=parseInt(style.picHeight*1.6)+1%>px;font-size:16px;font-weight:900;}
  137. .img_blur{ -webkit-filter: blur(4px);-moz-filter: blur(4px);-ms-filter: blur(4px);filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=4, MakeShadow=false);}
  138. .flagShow{position: absolute;top: 1px;left: 1px; width: 25px; height: 25px; overflow: hidden;}
  139. .angle{width:0;height: 0; border-top: 25px solid #D3D3D3; border-right: 25px solid transparent;}
  140. .number{top: 1px; left: 2px; position: absolute; color: #FFFFFF;}
  141. .triangle_0 {border-top-color:#D81E06 !important;}
  142. .triangle_1 {border-top-color:#DA433A !important;}
  143. .triangle_2 {border-top-color:#D84C06 !important;}
  144. </style>
  145. </script>
  146. <script type="text/template" id="native_ad_pic_template_two_image">
  147. <div style="margin-top:<%=style.blockMarginTop%>px;<%if(style.align==1){%>margin-left:5px;<%}%>">
  148. <%for(var row=0;row<style.imgRow;++row){
  149. %><div id="imgRow<%=row%>"style="margin-top:<%=style.imgRowMarginTop%>px;clear:both;"><%
  150. for(var col=0;col<style.imgCol;++col){
  151. var i = row * style.imgCol + col;
  152. if(i >= ads.length) {
  153. break;
  154. }%>
  155. <div class="pic_itemColumnSpace" ></div>
  156. <div class="pic_item" id="picItem_<%=row%>_<%=col%>" >
  157. <div class="pic<%if (config.dynamic_trans_type === 1 || config.dynamic_trans_type === 3 || config.dynamic_trans_type === 4){%> pic_div_flip<%}%>">
  158. <a href="<%=ads[i].curl%>" target="_blank" style="cursor: pointer" class = "<%if ((config.dynamic_trans_type === 1 || config.dynamic_trans_type === 3 || config.dynamic_trans_type === 4) && ads[i].mt_img_url_0 && ads[i].mt_img_url_1){%>flip_image<%}else if (config.dynamic_trans_type === 2 && ads[i].mt_img_url_0 && ads[i].mt_img_url_1){%>roll_image<%}%>" name="pic_a_name">
  159. <div class="<%if (config.dynamic_trans_type === 1 || config.dynamic_trans_type === 3 || config.dynamic_trans_type === 4){%>frontImage<%}else if (config.dynamic_trans_type === 2){%>firstImage<%}%>">
  160. <img class="img" src="<%=ads[i].mt_img_url_0 ? ads[i].mt_img_url_0 : ads[i].image_url%>">
  161. </div>
  162. <div class="<%if (config.dynamic_trans_type === 1 || config.dynamic_trans_type === 3 || config.dynamic_trans_type === 4){%>backImage<%}else if (config.dynamic_trans_type === 2){%>secondImage<%}%>">
  163. <img class="img" src="<%=ads[i].mt_img_url_1 ? ads[i].mt_img_url_1 : ads[i].image_url%>">
  164. </div>
  165. <div class="mask">
  166. <%if((style.Sys.ie && style.Sys.ie>= 10 || style.Sys.safari)){%>
  167. <svg style="position:absolute;top:0px;left:0px;">
  168. <defs>
  169. <filter id="blur_<%=row%>_<%=col%>">
  170. <feGaussianBlur id="filter__<%=row%>_<%=col%>" stdDeviation="4" />
  171. </filter>
  172. </defs>
  173. <image xlink:href="<%=ads[i].image_url%>" preserveAspectRatio="none" width="<%=style.picWidth%>" height="<%=style.picHeight%>" filter="url(#blur_<%=row%>_<%=col%>)" />
  174. </svg>
  175. <%}else{%>
  176. <img src="<%=ads[i].image_url%>" class="img img_blur" style="position:absolute;top:0px;left:0px;"/>
  177. <%}%>
  178. <%
  179. var T = advLength(ads[i].title,14);
  180. var H = Math.min(Math.ceil(T/(style.picWidth-20)),2);
  181. var L = Math.max((style.picHeight-H*21)/2-10,0);
  182. %>
  183. <div style="position:absolute;left:0px;background-color:rgba(0,0,0,0.5) !important;filter:Alpha(opacity=50); background:#000;height:<%=style.picHeight%>px;width:<%=style.picWidth%>px;">
  184. <span class="mask_title" style="margin-top:<%=L%>px" x=<%=T%> y=<%=H%> ><%=ads[i].title%></span>
  185. </div>
  186. </div>
  187. </a>
  188. </div>
  189. <a href="<%=ads[i].curl%>" target="_blank" style="cursor: pointer">
  190. <%if(style.titlePosition){%>
  191. <div class="pic_title title_on_pic title_on_pic_bg"></div>
  192. <%}%>
  193. <div class="pic_title <%if(style.titlePosition){%>title_on_pic<%}else{%>title_under_pic<%}%>">
  194. <%=ads[i].title%>
  195. </div>
  196. </a>
  197. </div>
  198. <%}%>
  199. <div style="clear:both;"></div></div>
  200. <%}%>
  201. <div style="clear:both"></div>
  202. </div>
  203. <style>
  204. .pic_div_flip {
  205. -webkit-perspective: 500px;
  206. -moz-perspective: 500px;
  207. -ms-perspective: 500px;
  208. perspective: 500px;
  209. -ms-transform: perspective(500px);
  210. -moz-transform: perspective(500px);
  211. }
  212. .pic_div_flip div {
  213. transition:all 0.5s ease-in-out;
  214. -webkit-transition:all 0.5s ease-in-out;
  215. -moz-transition:all 0.5s ease-in-out;
  216. -ms-transition:all 0.5s ease-in-out;
  217. -o-transition:all 0.5s ease-in-out;
  218. }
  219. .pic_div_flip a {
  220. transition:all 0.5s ease-in-out;
  221. -webkit-transition:all 0.5s ease-in-out;
  222. -moz-transition:all 0.5s ease-in-out;
  223. -ms-transition:all 0.5s ease-in-out;
  224. -o-transition:all 0.5s ease-in-out;
  225. }
  226. .flip_image {
  227. position:absolute;
  228. top:0px;
  229. right:0px;
  230. bottom:0px;
  231. left:0px
  232. }
  233. .flip_image_fliped {
  234. transform:rotateY(180deg);
  235. -webkit-transform:rotateY(180deg);
  236. -moz-transform:rotateY(180deg);
  237. -ms-transform:rotateY(180deg);
  238. -o-transform:rotateY(180deg);
  239. }
  240. .flip_image .frontImage {
  241. opacity:1
  242. }
  243. .frontImage_fliped {
  244. opacity:0 !important;
  245. }
  246. .flip_image .backImage {
  247. opacity:0
  248. }
  249. .backImage_fliped {
  250. opacity:1 !important;
  251. }
  252. .frontImage, .backImage {
  253. position:absolute;
  254. top:0px;
  255. right:0px;
  256. bottom:0px;
  257. left:0px
  258. }
  259. .flip-horizontal {
  260. -moz-transform: scaleX(-1);
  261. -webkit-transform: scaleX(-1);
  262. -o-transform: scaleX(-1);
  263. transform: scaleX(-1);
  264. filter: fliph;
  265. }
  266. .roll_image {
  267. position:relative;
  268. display:inline-block;
  269. overflow:hidden;
  270. width:<%=style.picWidth%>px;
  271. height:<%=style.picHeight%>px;
  272. }
  273. .roll_image .firstImage {
  274. left:0px;
  275. }
  276. .roll_image .secondImage {
  277. left:100%;
  278. }
  279. .firstImage_done {
  280. left:100% !important;
  281. }
  282. .secondImage_done {
  283. left:0px !important;
  284. }
  285. .firstImage, .secondImage{
  286. position:absolute;
  287. top:0px;
  288. right:0px;
  289. bottom:0px;
  290. left:0px;
  291. transition:all .6s ease-in-out;
  292. -webkit-transition:all .6s ease-in-out;
  293. -moz-transition:all .6s ease-in-out;
  294. -ms-transition:all .6s ease-in-out;
  295. -o-transition:all .6s ease-in-out;
  296. }
  297. .roll_image_done{
  298. transition:all 1.2s ease-in-out;
  299. -webkit-transition:all 1.2s ease-in-out;
  300. -moz-transition:all 1.2s ease-in-out;
  301. -ms-transition:all 1.2s ease-in-out;
  302. -o-transition:all 1.2s ease-in-out;
  303. }
  304. .pic_itemColumnSpace {height:40px;float:left;margin-top:0;margin-bottom:0;width:<%=config.cMR%>px}
  305. .pic_item {float:left;overflow: hidden;width:<%=(style.imgItemWidth)%>px;height:<%=style.imgItemHeight%>px;position:relative;}
  306. .pic {text-align:center;margin:0px;border:1px solid #ddd;height:<%=style.picHeight%>px;overflow:hidden;}
  307. .pic .img{width:<%=style.picWidth%>px;height:<%=style.picHeight%>px;}
  308. .pic_title{margin:0 auto;padding:0;overflow:hidden;text-align:center;text-decoration:none;font-weight:normal;width:<%=(style.picWidth)%>px;height:<%=style.picTitleHeight%>px;line-height:<%=style.picTitleHeight%>px;font-family:"<%=style.titleFontFamily%>";font-size:<%=style.titleFontSize%>px;font-weight:normal;}
  309. .pic_container .title_on_pic{color:#ffffff; position:absolute;top:<%=style.picHeight-19%>px;left:1px;height:20px;line-height:20px;}
  310. .pic_container .title_under_pic{color:<%=style.titleFontColor%>;}
  311. .title_on_pic_bg{background-color:#000000;filter:alpha(opacity=50);opacity:<%=style.titleBgOpa%>;height:20px;}
  312. .mask{position:absolute;top:1px;left:1px;height:<%=style.picHeight%>px;width:<%=(style.picWidth)%>px;display:none;}
  313. .mask_head{color:#fff;text-align:left;display:inline-block;padding:2px 4px;font-size:12px;}
  314. .mask_title {color:#fff; padding: 3px 5px; border: 1px solid #fff;display:inline-block;width:<%=style.picWidth-20%>px;font-size:14px;overflow:hidden;max-height:32px;line-height:16px;}
  315. .hover .pic{border : 1px solid #f40000;}
  316. .hover .title_under_pic{color:#f40000;}
  317. .hover .title_on_pic{color:#f40000;}
  318. .hover .pic img {
  319. -webkit-transition: -webkit-transform .5s ease-in;
  320. -moz-transition: -moz-transform .5s ease-in;
  321. -ms-transition: -ms-transform .5s ease-in;
  322. -o-transition: -o-transform .5s ease-in;
  323. transition: transform .5s ease-in;
  324. -webkit-transform: scale(1.2);
  325. -moz-transform: scale(1.2);
  326. -ms-transform: scale(1.2);
  327. -o-transform: scale(1.2);
  328. transform: scale(1.2);
  329. }
  330. .pic_item_hover .mask {display:block;}
  331. .pic_item_hover .pic_title a{color:#ffffff;font-weight:900;}
  332. .pic_item_hover .title_on_pic_bg{display:none;}
  333. .pic_item_hover .title_on_pic{top:-<%=parseInt(style.picHeight*1.6)+1%>px;font-size:16px;font-weight:900;}
  334. .img_blur{ -webkit-filter: blur(4px);-moz-filter: blur(4px);-ms-filter: blur(4px);filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=4, MakeShadow=false);}
  335. </style>
  336. </script>
  337. <script>
  338. var ads = [{"bid":"","curl":"https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRc1FRPjFRfsFRmzFRfYFRckFRPDFRRzFRcsFRujFRnvFRFDFRPjFRD3FhkdpvbqniuVmLKV5HTvPWRvFMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqrAnkP1R3mHb&besl=-1&c=news&cf=1&cvrq=981928&eid_list=201157_203160_203777_209570&expid=200861_201157_203160_203640_206311_207434_209570_209682&fr=4&fv=0&haacp=1094&img_typ=4134&itm=0&lu_idc=nj02&lukid=1&lus=92c204106e0f083c&lust=6434f6cb&luwtr=6172804539633627423&mscf=0&mtids=9911696&n=10&nttp=1&p=baidu&pbs=228840&sce=7&sr=84&ssp2=1&tpl=baiduCustNativeADImage&tsf=dtp:1&tu_type=0&u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&uicf=lurecv&urlid=0&eot=1","desc":"程序员外包平台","dp_config":1,"dspw":"","height":250,"icon":270401,"iconurl":"https://lupic.cdn.bcebos.com/20210629/9911696_14.jpg","image_url":"https://lupic.cdn.bcebos.com/20210629/9911696_14.jpg","isHb":false,"lpId":3,"surl":"","title":"程序员外包平台","type":"text","view_num":9283,"width":300,"word_src":"0"},{"bid":"","curl":"https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRc1FRPjFRfsFRmzFRfYFRckFRPDFRRzFRcsFRujFRPDFRm3FRfdFRF7FhkdpvbqnBuVmLKV5Hm4nHm4FMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqnvRLnhFbm1m&besl=-1&c=news&cf=1&cvrq=2303746&eid_list=201157_203160_203777_209570&expid=200861_201157_203160_203640_206311_207434_209570_209682&fr=4&fv=0&haacp=786&img_typ=4130&itm=0&lu_idc=nj02&lukid=2&lus=92c204106e0f083c&lust=6434f6cb&luwtr=6728413789323799737&mscf=0&mtids=9908923&n=10&nttp=1&p=baidu&pbs=228840&sce=7&sr=84&ssp2=1&tpl=baiduCustNativeADImage&tsf=dtp:1&tu_type=0&u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&uicf=lurecv&urlid=0&eot=1","desc":"程序员外包网站","dp_config":1,"dspw":"","height":250,"icon":270501,"iconurl":"https://lupic.cdn.bcebos.com/20210629/9908923_14.jpg","image_url":"https://lupic.cdn.bcebos.com/20210629/9908923_14.jpg","isHb":false,"lpId":3,"surl":"","title":"程序员外包网站","type":"text","view_num":6731,"width":300,"word_src":"0"},{"bid":"","curl":"https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRfzFRFaFRFjFRujFRn4FRuKFRc1FRn4FRfsFRDkFRc1FRPjFRfsFRmzFhkdpvbqnzuVmLKV5HTdnH0zFMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqnHRLmhmzP1n&besl=-1&c=news&cf=1&cvrq=6796180&eid_list=201157_203160_203777_209570&expid=200861_201157_203160_203640_206311_207434_209570_209682&fr=4&fv=0&haacp=922&img_typ=4130&itm=0&lu_idc=nj02&lukid=3&lus=92c204106e0f083c&lust=6434f6cb&luwtr=7635639288793629340&mscf=0&mtids=8187936&n=10&nttp=1&p=baidu&pbs=228840&sce=7&sr=84&ssp2=1&tpl=baiduCustNativeADImage&tsf=dtp:1&tu_type=0&u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&uicf=lurecv&urlid=0&eot=1","desc":"一键生成小程序","dp_config":1,"dspw":"","height":250,"icon":280201,"iconurl":"https://lupic.cdn.bcebos.com/20210629/8187936_14.jpg","image_url":"https://lupic.cdn.bcebos.com/20210629/8187936_14.jpg","isHb":false,"lpId":3,"surl":"","title":"一键生成小程序","type":"text","view_num":12099,"width":300,"word_src":"0"},{"bid":"","curl":"https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRfYFRwKFRPAFRwAFRf1FRwAFRnLFRR4FRFjFRRsFRczFRRzFRPAFRcdFRPDFRc1FhkdpvbqPauVmLKV5HmvnjDkFMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqujRvn1nznvR&besl=-1&c=news&cf=1&cvrq=2491151&eid_list=201157_203160_203777_209570&expid=200861_201157_203160_203640_206311_207434_209570_209682&fr=4&fv=0&haacp=1271&img_typ=4134&itm=0&lu_idc=nj02&lukid=4&lus=92c204106e0f083c&lust=6434f6cb&luwtr=6385435982590785725&mscf=0&mtids=3087322778&n=10&nttp=1&p=baidu&pbs=228840&sce=7&sr=84&ssp2=1&tpl=baiduCustNativeADImage&tsf=dtp:1&tu_type=0&u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&uicf=lurecv&urlid=0&eot=1","desc":"在线舆情监测系统","dp_config":1,"dspw":"","height":250,"icon":180101,"iconurl":"https://lupic.cdn.bcebos.com/20220722/3087322778_14_504_360.jpg","image_url":"https://lupic.cdn.bcebos.com/20220722/3087322778_14_504_360.jpg","isHb":false,"lpId":3,"surl":"","title":"在线舆情监测系统","type":"text","view_num":2243,"width":300,"word_src":"0"}];
  339. var news = [];
  340. var config = {"IF_m_char":14,"adp":1,"at":3,"conBW":0,"consl":1,"dft":2,"exp_flag":0,"exp_flag_mob":0,"exp_flag_secretary":0,"hover_flag":1,"imC":2,"imHeight":116,"imR":2,"imSiteRecMax":0,"imStid":115,"imTab":1,"imWidth":141,"n":"csdnbaidu_cpr","pat":6,"pih":116,"piw":141,"ptp":1,"ptt":0,"rsi0":300,"rsi1":250,"rss1":"rgba(0,0,0,0)","rss2":"#000000","staticDomain":"rabc1.iteye.com","temp_exp_flag":0,"titFF":"微软雅黑","titFS":12,"titSU":0,"titTA":"left","txtC":0,"txtLC":0,"txtR":0,"txtRH":0,"txtSiteRecMax":0};
  341. config.hover = 1;
  342. if (!config.hover_flag) {
  343. config.hover = 0;
  344. }
  345. config.hover = 0;
  346. if (config.rss2== "#0000ff"){
  347. config.rss2 = "#000000";
  348. }
  349. </script>
  350. </head>
  351. <body><script type="text/javascript">
  352. try {
  353. if (window.JSON && window.JSON.stringify && window.postMessage && window.parent) {
  354. window.parent.postMessage(JSON.stringify({
  355. "queryid" : "3c080f6e1004c292",
  356. "tuid" : "u6888882_0",
  357. "dspid" : "4",
  358. "wnid" : "92c204106e0f083c",
  359. "placement" : {
  360. "basic" : {"sspId":1,"userId":1574361,"flowType":1,"cname":"csdnbaidu_cpr","tuId":9223372032566697394,"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"}},
  361. "container" : {"height":250,"width":300,"sizeType":1,"anchoredType":1,"floated":{}},
  362. "fillstyle" : {"elements":[51],"layout":[1,2],"styleTemplateId":[60101],"txt":{"number":0},"styleType":3,"ignoreStyleMode":1},
  363. "userdefine" : "%7Cadp%3D1%7Cat%3D3%7CconBW%3D0%7Ccpro%5Ftemplate%3DbaiduCustNativeAD%7Cpat%3D6%7Cpih%3D116%7Cpiw%3D141%7Cptp%3D1%7Cptt%3D0%7Crss1%3Drgba%280%2C0%2C0%2C0%29%7Crss2%3D%23000000%7CtitFF%3D%E5%BE%AE%E8%BD%AF%E9%9B%85%E9%BB%91%7CtitFS%3D12%7CtitSU%3D0%7Ctn%3DbaiduCustNativeAD%7Cdft%3D2",
  364. "encode_userdefine" : "encoded",
  365. "complement_type" : 7,
  366. "update" : "1680169839_1680169839"
  367. },
  368. "extends" : {"ssph":250,"sspw":300}
  369. ,
  370. "bidder" : "2",
  371. "noadx" : "0",
  372. "pdb_deliv" : {
  373. "deliv_id" : "0",
  374. "deliv_des" : {},
  375. "brandad" : 0
  376. },
  377. "order_deliv" : {
  378. "deliv_id" : "0",
  379. "demand_id" : "0"
  380. },
  381. "rtb_deliv" : {
  382. "deliv_id" : "0",
  383. "demand_id" : "6888882"
  384. }
  385. }
  386. ), '*');
  387. }}
  388. catch(e) {window.console && window.console.log(e);};
  389. </script>
  390. <!--sid=1004c2923c080f6e--><div style="display:none;"><img src="s_data/adx.gif" alt="" width="1px" height="1px"></div>
  391. <div id="wrapper"> <div class="s-hl-content"> <div id="bd-hl-content" class="bd-hl-content"> <div class="title_style title_style_0">undefined</div> <div id="pic_container" class="pic_container"><div style="margin-top:0px;"> <div id="imgRow0" style="margin-top:4px;clear:both;"> <div class="pic_itemColumnSpace"></div> <div class="pic_item" id="picItem_0_0"> <div class="pic"> <a href="https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRc1FRPjFRfsFRmzFRfYFRckFRPDFRRzFRcsFRujFRnvFRFDFRPjFRD3FhkdpvbqniuVmLKV5HTvPWRvFMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqrAnkP1R3mHb&amp;besl=-1&amp;c=news&amp;cf=1&amp;cvrq=981928&amp;eid_list=201157_203160_203777_209570&amp;expid=200861_201157_203160_203640_206311_207434_209570_209682&amp;fr=4&amp;fv=0&amp;haacp=1094&amp;img_typ=4134&amp;itm=0&amp;lu_idc=nj02&amp;lukid=1&amp;lus=92c204106e0f083c&amp;lust=6434f6cb&amp;luwtr=6172804539633627423&amp;mscf=0&amp;mtids=9911696&amp;n=10&amp;nttp=1&amp;p=baidu&amp;pbs=228840&amp;sce=7&amp;sr=84&amp;ssp2=1&amp;tpl=baiduCustNativeADImage&amp;tsf=dtp:1&amp;tu_type=0&amp;u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&amp;uicf=lurecv&amp;urlid=0&amp;eot=1" target="_blank" style="cursor: pointer"> <img class="img" src="s_data/9911696_14.jpg"> <div class="mask" style="top: -116px;"> <svg style="position:absolute;top:0px;left:0px;"> <defs> <filter id="blur_0_0"> <feGaussianBlur id="filter__0_0" stdDeviation="4"></feGaussianBlur> </filter> </defs> <image xlink:href="s_data/9911696_14.jpg" preserveAspectRatio="none" width="141" height="116" filter="url(#blur_0_0)"></image> </svg> <div style="position:absolute;left:0px;background-color:rgba(0,0,0,0.5) !important;filter:Alpha(opacity=50); background:#000;height:116px;width:141px;"> <span class="mask_title" style="margin-top:37.5px" x="98" y="1">程序员外包平台</span> </div> </div> </a> </div> <a href="https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRc1FRPjFRfsFRmzFRfYFRckFRPDFRRzFRcsFRujFRnvFRFDFRPjFRD3FhkdpvbqniuVmLKV5HTvPWRvFMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqrAnkP1R3mHb&amp;besl=-1&amp;c=news&amp;cf=1&amp;cvrq=981928&amp;eid_list=201157_203160_203777_209570&amp;expid=200861_201157_203160_203640_206311_207434_209570_209682&amp;fr=4&amp;fv=0&amp;haacp=1094&amp;img_typ=4134&amp;itm=0&amp;lu_idc=nj02&amp;lukid=1&amp;lus=92c204106e0f083c&amp;lust=6434f6cb&amp;luwtr=6172804539633627423&amp;mscf=0&amp;mtids=9911696&amp;n=10&amp;nttp=1&amp;p=baidu&amp;pbs=228840&amp;sce=7&amp;sr=84&amp;ssp2=1&amp;tpl=baiduCustNativeADImage&amp;tsf=dtp:1&amp;tu_type=0&amp;u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&amp;uicf=lurecv&amp;urlid=0&amp;eot=1" target="_blank" style="cursor: pointer"> <div class="pic_title title_on_pic title_on_pic_bg"></div> <div class="pic_title title_on_pic"> 程序员外包平台 </div> </a> </div> <div class="pic_itemColumnSpace"></div> <div class="pic_item" id="picItem_0_1"> <div class="pic"> <a href="https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRc1FRPjFRfsFRmzFRfYFRckFRPDFRRzFRcsFRujFRPDFRm3FRfdFRF7FhkdpvbqnBuVmLKV5Hm4nHm4FMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqnvRLnhFbm1m&amp;besl=-1&amp;c=news&amp;cf=1&amp;cvrq=2303746&amp;eid_list=201157_203160_203777_209570&amp;expid=200861_201157_203160_203640_206311_207434_209570_209682&amp;fr=4&amp;fv=0&amp;haacp=786&amp;img_typ=4130&amp;itm=0&amp;lu_idc=nj02&amp;lukid=2&amp;lus=92c204106e0f083c&amp;lust=6434f6cb&amp;luwtr=6728413789323799737&amp;mscf=0&amp;mtids=9908923&amp;n=10&amp;nttp=1&amp;p=baidu&amp;pbs=228840&amp;sce=7&amp;sr=84&amp;ssp2=1&amp;tpl=baiduCustNativeADImage&amp;tsf=dtp:1&amp;tu_type=0&amp;u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&amp;uicf=lurecv&amp;urlid=0&amp;eot=1" target="_blank" style="cursor: pointer"> <img class="img" src="s_data/9908923_14.jpg"> <div class="mask" style="top: -116px;"> <svg style="position:absolute;top:0px;left:0px;"> <defs> <filter id="blur_0_1"> <feGaussianBlur id="filter__0_1" stdDeviation="4"></feGaussianBlur> </filter> </defs> <image xlink:href="s_data/9908923_14.jpg" preserveAspectRatio="none" width="141" height="116" filter="url(#blur_0_1)"></image> </svg> <div style="position:absolute;left:0px;background-color:rgba(0,0,0,0.5) !important;filter:Alpha(opacity=50); background:#000;height:116px;width:141px;"> <span class="mask_title" style="margin-top:37.5px" x="98" y="1">程序员外包网站</span> </div> </div> </a> </div> <a href="https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRc1FRPjFRfsFRmzFRfYFRckFRPDFRRzFRcsFRujFRPDFRm3FRfdFRF7FhkdpvbqnBuVmLKV5Hm4nHm4FMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqnvRLnhFbm1m&amp;besl=-1&amp;c=news&amp;cf=1&amp;cvrq=2303746&amp;eid_list=201157_203160_203777_209570&amp;expid=200861_201157_203160_203640_206311_207434_209570_209682&amp;fr=4&amp;fv=0&amp;haacp=786&amp;img_typ=4130&amp;itm=0&amp;lu_idc=nj02&amp;lukid=2&amp;lus=92c204106e0f083c&amp;lust=6434f6cb&amp;luwtr=6728413789323799737&amp;mscf=0&amp;mtids=9908923&amp;n=10&amp;nttp=1&amp;p=baidu&amp;pbs=228840&amp;sce=7&amp;sr=84&amp;ssp2=1&amp;tpl=baiduCustNativeADImage&amp;tsf=dtp:1&amp;tu_type=0&amp;u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&amp;uicf=lurecv&amp;urlid=0&amp;eot=1" target="_blank" style="cursor: pointer"> <div class="pic_title title_on_pic title_on_pic_bg"></div> <div class="pic_title title_on_pic"> 程序员外包网站 </div> </a> </div> <div style="clear:both;"></div></div> <div id="imgRow1" style="margin-top:4px;clear:both;"> <div class="pic_itemColumnSpace"></div> <div class="pic_item" id="picItem_1_0"> <div class="pic"> <a href="https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRfzFRFaFRFjFRujFRn4FRuKFRc1FRn4FRfsFRDkFRc1FRPjFRfsFRmzFhkdpvbqnzuVmLKV5HTdnH0zFMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqnHRLmhmzP1n&amp;besl=-1&amp;c=news&amp;cf=1&amp;cvrq=6796180&amp;eid_list=201157_203160_203777_209570&amp;expid=200861_201157_203160_203640_206311_207434_209570_209682&amp;fr=4&amp;fv=0&amp;haacp=922&amp;img_typ=4130&amp;itm=0&amp;lu_idc=nj02&amp;lukid=3&amp;lus=92c204106e0f083c&amp;lust=6434f6cb&amp;luwtr=7635639288793629340&amp;mscf=0&amp;mtids=8187936&amp;n=10&amp;nttp=1&amp;p=baidu&amp;pbs=228840&amp;sce=7&amp;sr=84&amp;ssp2=1&amp;tpl=baiduCustNativeADImage&amp;tsf=dtp:1&amp;tu_type=0&amp;u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&amp;uicf=lurecv&amp;urlid=0&amp;eot=1" target="_blank" style="cursor: pointer"> <img class="img" src="s_data/8187936_14.jpg"> <div class="mask" style="top: -116px;"> <svg style="position:absolute;top:0px;left:0px;"> <defs> <filter id="blur_1_0"> <feGaussianBlur id="filter__1_0" stdDeviation="4"></feGaussianBlur> </filter> </defs> <image xlink:href="s_data/8187936_14.jpg" preserveAspectRatio="none" width="141" height="116" filter="url(#blur_1_0)"></image> </svg> <div style="position:absolute;left:0px;background-color:rgba(0,0,0,0.5) !important;filter:Alpha(opacity=50); background:#000;height:116px;width:141px;"> <span class="mask_title" style="margin-top:37.5px" x="98" y="1">一键生成小程序</span> </div> </div> </a> </div> <a href="https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRfzFRFaFRFjFRujFRn4FRuKFRc1FRn4FRfsFRDkFRc1FRPjFRfsFRmzFhkdpvbqnzuVmLKV5HTdnH0zFMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqnHRLmhmzP1n&amp;besl=-1&amp;c=news&amp;cf=1&amp;cvrq=6796180&amp;eid_list=201157_203160_203777_209570&amp;expid=200861_201157_203160_203640_206311_207434_209570_209682&amp;fr=4&amp;fv=0&amp;haacp=922&amp;img_typ=4130&amp;itm=0&amp;lu_idc=nj02&amp;lukid=3&amp;lus=92c204106e0f083c&amp;lust=6434f6cb&amp;luwtr=7635639288793629340&amp;mscf=0&amp;mtids=8187936&amp;n=10&amp;nttp=1&amp;p=baidu&amp;pbs=228840&amp;sce=7&amp;sr=84&amp;ssp2=1&amp;tpl=baiduCustNativeADImage&amp;tsf=dtp:1&amp;tu_type=0&amp;u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&amp;uicf=lurecv&amp;urlid=0&amp;eot=1" target="_blank" style="cursor: pointer"> <div class="pic_title title_on_pic title_on_pic_bg"></div> <div class="pic_title title_on_pic"> 一键生成小程序 </div> </a> </div> <div class="pic_itemColumnSpace"></div> <div class="pic_item hover" id="picItem_1_1"> <div class="pic"> <a href="https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRfYFRwKFRPAFRwAFRf1FRwAFRnLFRR4FRFjFRRsFRczFRRzFRPAFRcdFRPDFRc1FhkdpvbqPauVmLKV5HmvnjDkFMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqujRvn1nznvR&amp;besl=-1&amp;c=news&amp;cf=1&amp;cvrq=2491151&amp;eid_list=201157_203160_203777_209570&amp;expid=200861_201157_203160_203640_206311_207434_209570_209682&amp;fr=4&amp;fv=0&amp;haacp=1271&amp;img_typ=4134&amp;itm=0&amp;lu_idc=nj02&amp;lukid=4&amp;lus=92c204106e0f083c&amp;lust=6434f6cb&amp;luwtr=6385435982590785725&amp;mscf=0&amp;mtids=3087322778&amp;n=10&amp;nttp=1&amp;p=baidu&amp;pbs=228840&amp;sce=7&amp;sr=84&amp;ssp2=1&amp;tpl=baiduCustNativeADImage&amp;tsf=dtp:1&amp;tu_type=0&amp;u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&amp;uicf=lurecv&amp;urlid=0&amp;eot=1" target="_blank" style="cursor: pointer"> <img class="img" src="s_data/3087322778_14_504_360.jpg"> <div class="mask" style="top: -116px;"> <svg style="position:absolute;top:0px;left:0px;"> <defs> <filter id="blur_1_1"> <feGaussianBlur id="filter__1_1" stdDeviation="4"></feGaussianBlur> </filter> </defs> <image xlink:href="s_data/3087322778_14_504_360.jpg" preserveAspectRatio="none" width="141" height="116" filter="url(#blur_1_1)"></image> </svg> <div style="position:absolute;left:0px;background-color:rgba(0,0,0,0.5) !important;filter:Alpha(opacity=50); background:#000;height:116px;width:141px;"> <span class="mask_title" style="margin-top:37.5px" x="112" y="1">在线舆情监测系统</span> </div> </div> </a> </div> <a href="https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRfYFRwKFRPAFRwAFRf1FRwAFRnLFRR4FRFjFRRsFRczFRRzFRPAFRcdFRPDFRc1FhkdpvbqPauVmLKV5HmvnjDkFMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqujRvn1nznvR&amp;besl=-1&amp;c=news&amp;cf=1&amp;cvrq=2491151&amp;eid_list=201157_203160_203777_209570&amp;expid=200861_201157_203160_203640_206311_207434_209570_209682&amp;fr=4&amp;fv=0&amp;haacp=1271&amp;img_typ=4134&amp;itm=0&amp;lu_idc=nj02&amp;lukid=4&amp;lus=92c204106e0f083c&amp;lust=6434f6cb&amp;luwtr=6385435982590785725&amp;mscf=0&amp;mtids=3087322778&amp;n=10&amp;nttp=1&amp;p=baidu&amp;pbs=228840&amp;sce=7&amp;sr=84&amp;ssp2=1&amp;tpl=baiduCustNativeADImage&amp;tsf=dtp:1&amp;tu_type=0&amp;u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&amp;uicf=lurecv&amp;urlid=0&amp;eot=1" target="_blank" style="cursor: pointer"> <div class="pic_title title_on_pic title_on_pic_bg"></div> <div class="pic_title title_on_pic"> 在线舆情监测系统 </div> </a> </div> <div style="clear:both;"></div></div> <div style="clear:both"></div></div><style>.pic_itemColumnSpace {height:40px;float:left;margin-top:0;margin-bottom:0;width:4px}.pic_item {float:left;overflow: hidden;width:143px;height:118px;position:relative;}.pic {text-align:center;margin:0px;border:1px solid #ddd;height:116px;overflow:hidden;} .pic .img{width:141px;height:116px;}.pic_title{margin:0 auto;padding:0;overflow:hidden;text-align:center;text-decoration:none;font-weight:normal;width:141px;height:16px;line-height:16px;font-family:"微软雅黑";font-size:12px;font-weight:normal;}.pic_container .title_on_pic{color:#ffffff; position:absolute;top:97px;left:1px;height:20px;line-height:20px;}.pic_container .title_under_pic{color:#000000;}.title_on_pic_bg{background-color:#000000;filter:alpha(opacity=50);opacity:0.7;height:20px;}.mask{position:absolute;top:1px;left:1px;height:116px;width:141px;display:none;}.mask_head{color:#fff;text-align:left;display:inline-block;padding:2px 4px;font-size:12px;}.mask_title {color:#fff; padding: 3px 5px; border: 1px solid #fff;display:inline-block;width:121px;font-size:14px;overflow:hidden;max-height:32px;line-height:16px;}.hover .pic{border : 1px solid #f40000;}.hover .title_under_pic{color:#f40000;}.hover .title_on_pic{color:#f40000;}.hover .pic img { -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);}.pic_item_hover .mask {display:block;}.pic_item_hover .pic_title a{color:#ffffff;font-weight:900;}.pic_item_hover .title_on_pic_bg{display:none;}.pic_item_hover .title_on_pic{top:-186px;font-size:16px;font-weight:900;}.img_blur{ -webkit-filter: blur(4px);-moz-filter: blur(4px);-ms-filter: blur(4px);filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=4, MakeShadow=false);}.flagShow{position: absolute;top: 1px;left: 1px; width: 25px; height: 25px; overflow: hidden;}.angle{width:0;height: 0; border-top: 25px solid #D3D3D3; border-right: 25px solid transparent;}.number{top: 1px; left: 2px; position: absolute; color: #FFFFFF;}.triangle_0 {border-top-color:#D81E06 !important;}.triangle_1 {border-top-color:#DA433A !important;}.triangle_2 {border-top-color:#D84C06 !important;}</style></div> </div> </div> <style type="text/css"> .s-hl-content .bd-hl-content a, .s-hl-content .bd-hl-content a:hover, .s-hl-content .bd-hl-content a:visited, .s-hl-content .bd-hl-content a{text-decoration:none} .s-hl-content .bd-hl-content .pic_container{padding:0px;border:0;position:relative;overflow:hidden;float:left;} .s-hl-content .bd-hl-content{ position:relative; margin:0;padding:0;font-family:&#39;microsoft yahei&#39;;font-size: 14px;font-weight:normal; overflow:hidden; border:0px solid #CCC; background-color:rgba(0,0,0,0); width:300px; height:250px; padding:0px 0px 0px 0px; } .s-hl-content .bd-hl-content .title_style {width:295px;height:25px;line-height:25px;padding-left:5px;font-size:14px;margin-bottom:3px;font-weight:900;} .s-hl-content .bd-hl-content .title_style_0 {display:none;} .s-hl-content .bd-hl-content .title_style_2 {border-left:5px solid #ffffff;color:#000000} .s-hl-content .bd-hl-content .title_style_1 {background-color:#ffffff;color:#000000} </style><div class="logo-container"><a href="https://union.baidu.com/" target="_blank" class="logo-con-wrapper"><img class="logo-link" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAAUCAYAAAA0nZtFAAAAAXNSR0IArs4c6QAAA/lJREFUWAnNmFmIjlEYx2esIyTGvlMijezDhYixZ7lhFMp6IbmQrShbcSESibhAslO2C4oRLpQbI5ms2YaJplD2iPH7f86j83297/st8w2e+s0553n+5znnfc95z5yZnJwAq6qqyoejUC8gXKMuxiyCcpiR6UD0XQ8rrD/1RnAQJpovrZKOm0B2Nq2OWRAzZj3QCynNJB39esJP2Gz9qTcD2SrzhZV1QgITnH8SSYpyc3Mvh+gycpOzKR2jdsBd4mPQbaB8HTLIF+a1NyC2HF8uBMUC5PEudYwzJlEfxxew2EkGLpaIWAeK/tAS3sMjKCVeRZmykacH4nspdwgWVjJuKz/k8t7Gp/lc8mL69EfDA9Ccg+ww+Y4F7ZDvqO1lPKSu73E85VoohER7RXwbzh0k1ItMxxYh3p9OB08btwjMoTWxC/AD7oAWzcyesyEO329xlYoFG8lfwk1oAXshFbuDqGtwxngvuh4u4fz4SGYtcjWGUvgOWrw4w1ftM2QfGcVOmOpl/0j9JmgF2sNAaAeyArjG4IXslFcxz9/70ZehesNcxj5fI8PyYAvBtyM08v3BaNeCxfAJzEp8TVAdYVZ3iMYgZ7+gsVwsvR1CsiI6LgWt+FMYBuvAbBeV3ZB4L+mE7ypMhougs0f3iFGslH+o4a45YzxdD/TZhA1S1wXmoRkZJpJfK7yaUqs6DprDDdCJ3AJkekHLQedDBfrXcA/e0H4C+Ty8+u8Bs5lWCSnznP9zSDzbbv2iuALPkybmwUbAIdD3fwoGwBYw26EkNFqaI6GMPRy+4Z7/cdTA6IY4rd13ouT/PsZkD3sPN0czoq3dpBugb+9stjibeIHIX7/oxjrtUOv/v5S1Qibib2V9RjLdLu1+EnPwQ9+t5TCdYn5/0/plW9eo9J3VrTOX3vAtA2bZ2HZhsbaV/pYvdM4+FvTK2tR7QhkM8vx+f8/9p6rz6CfoDMqmacF0gB4F3ViTmRZxGdiiBut5wwVgpsuOzpWJoL9tOkADaOfagynz4C6YrQnO/NuL6Dg8i9JkEiNnHzeBaan0R9vN6WPHQmQfhCVOrOI+dA7qgL8+7Aezj1TaBGnNR/wFnLF2tkpyVvuFRG2VxUz0k5tsd0pdzZdBL6gD2ilT8N+C2WC2JuqmSp8uCNvDVevwP5VhZ0gOD1XG5Kcz2ROgv4Abgf7HIH6Azo9E20O/rYnOhHaxa+teUFO2kbkvSSG53Yf+SENfiBQ83DkSD6N6ALRLzBJfxgcCq9FvN0FEOZtYGdpUDr2INJGht0QrIhW/g1rk9I2Xok9kBpyGcvgKlXAdVoLdapMmR1sMC5IKMxCQtzvcAt20kxq6jk6vPz1i9gtqG09/SO6d3QAAAABJRU5ErkJggg=="></a><div class="gap"></div><a href="javascript:;" id="logo-close-btn"><img class="logo-close-img" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAFo9M/3AAAAAXNSR0IArs4c6QAAARVJREFUOBF9kzGWwjAMRGNKOEdSc6G9xzahoOIe1LkLPe1egW3DfOHxcxIHv6dne2Y0lkTo5nkeOi9dJp9Xuyntt0PmnnnvO6FHJ+g8BgCI3ATgDTAAMwBEysxd7E9K6d9pFqYKwAJhVCDxL5zL4nxRQF4VfXbuKGC0nYiyECimEBS0OmTBwBOntQOkcOr5ixwEFkEqJnbIugtPphdeWq67iOpFPut5hCDbxbCw1d1ucVm8aYFFjJrfubyJgJUFLwSj7mdFTLF+H+F6SU93TJ1mHtHlCmwa7WnKmHipJQLX8osb84XBR7sxAt4kWrsxaFSBln6bJsWgkXj1QL9x/kfs9uhS2VtGgIOCbz4+vjph74w25wxv9VjxEc3jX7MAAAAASUVORK5CYII="></a></div><div id="feedback-container" class="feedback-container fd-small"><div id="reason-content" class="reason-content" data-reason-num="4" style="width:80px;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>
  392. <script>
  393. var thisPage = {
  394. doc : document,
  395. Sys : {},
  396. AdStruc : {},
  397. focusRow:0,
  398. focusCol:-1,
  399. focusId:-1,
  400. playTimer : 0,
  401. timer:[],
  402. get : function(id){
  403. return this.doc.getElementById(id);
  404. },
  405. _initContainerSize:function(){
  406. this.container = this.get("container");
  407. this.containerBorder = parseInt(config.conBW);
  408. this.containerBorderColor = config.rss0;
  409. this.containerBgColor = config.rss1 || "#ffffff";
  410. this.containerPaddingTop = 0;
  411. this.containerPaddingRight = 0;
  412. this.containerPaddingBottom = 0;
  413. this.containerPaddingLeft = 0;
  414. this.containerWidth = parseInt(config.rsi0) - 2 * this.containerBorder - this.containerPaddingLeft - this.containerPaddingRight;
  415. this.containerHeight = parseInt(config.rsi1) - 2 * this.containerBorder - this.containerPaddingTop - this.containerPaddingBottom;
  416. this.bodyHeight = this.containerHeight;
  417. if(config.ptt) this.bodyHeight -=30;
  418. this.bodyWidth = this.containerWidth;
  419. this.brand_margin = 0;
  420. },
  421. _initTextStyle:function(){
  422. this.listStyle = config.tlt ;
  423. this.titleFontColor = config.rss2 || "#000000";
  424. this.titleFontSize = config.titFS || 0;
  425. this.titleHoverColor = config.pthc || "#ff0000";
  426. this.titleFontFamily = decodeURIComponent(config.titFF) || decodeURIComponent("%E5%BE%AE%E8%BD%AF%E9%9B%85%E9%BB%91");
  427. this.titleUnderLine = config.titSU || 0;
  428. this.hoverUnderline = config.pul || 0;
  429. this.hoverBgColor = config.hover_color ? "#3399DB":"#D14836";
  430. this.titlePosition = config.ptp || 0;
  431. this.tft = config.tft;
  432. this.icon = config.icon;
  433. if(typeof config.ptbg != "undefined"){
  434. this.titleBgOpa = parseInt(config.ptbg)/100;
  435. } else {
  436. this.titleBgOpa = 0.7;
  437. }
  438. },
  439. _initImageStyle:function(){
  440. this.hover = config.hover;
  441. this.align = config.adp || 1;
  442. this.logIS = config.logIS;
  443. this.picHeight = config.imHeight;
  444. this.picWidth = config.imWidth;
  445. this.picTitleHeight = 16;
  446. this.imgItemWidth = this.picWidth + 2;
  447. this.imgItemHeight = 2 + (config.ptp ? this.picHeight : this.picHeight+this.picTitleHeight )
  448. this.imgCol = config.imC;
  449. this.imgRow = config.imR;
  450. this.radius = config.radius||0;
  451. this.image_zoom = config.image_zoom;
  452. },
  453. _initHeaderStyle:function(){
  454. this.hasTitle = config.ptt || 0;
  455. this.header = decodeURIComponent(config.ptc);
  456. this.headerBgColor = config.ptBC || "#ffffff";
  457. this.headerFontColor = config.ptFC || "#000000";
  458. this.headerFontSize = config.ptFS || 14;
  459. this.txtRowHeight = config.ptrh || 27;
  460. },
  461. _initAds:function(){
  462. for(var i=0;i<ads.length;++i){
  463. if(ads[i].word_src != "pa")
  464. ads[i].curl = ads[i].curl.replace(/&stid=\d*/,'&stid=116');
  465. }
  466. while(ads.length&&ads[ads.length-1].word_src=="pa"){
  467. var t = ads.pop();
  468. var to = new Object();
  469. var from = ads[0];
  470. for(var i in from)
  471. to[i] = from[i];
  472. to.title = t.title;
  473. to.image_url = t.pa_url;
  474. var ori = t.ori || "";
  475. to.curl = ads[0].curl.replace(/&k=[^&]*/g, "&k="+t.title).replace(/&di=\d*/g, "&di=8").replace(/&stid=\d*/,'&stid=115')+"&ori="+ori;
  476. to.word_src = 'pa';
  477. if(config.pat==1||config.pat==3||config.pat==15) {
  478. news.unshift(to);
  479. } else if(config.pat==6) {
  480. ads.unshift(to);
  481. }
  482. }
  483. },
  484. _initEnv:function(){
  485. var s,ua = navigator.userAgent.toLowerCase();
  486. (s = ua.match(/msie ([\d.]+)/)) ? this.Sys.ie = s[1] :
  487. (s = ua.match(/rv:([\d.]+)/)) ? this.Sys.ie = s[1] :
  488. (s = ua.match(/firefox\/([\d.]+)/)) ? this.Sys.firefox = s[1] :
  489. (s = ua.match(/chrome\/([\d.]+)/)) ? this.Sys.chrome = s[1] :
  490. (s = ua.match(/opera.([\d.]+)/)) ? this.Sys.opera = s[1] :
  491. (s = ua.match(/version\/([\d.]+).*safari/)) ? this.Sys.safari = s[1] : 0;
  492. },
  493. calcLayout:function(){
  494. var imgAreaHeight = Math.max(config.imR * this.imgItemHeight, 0)
  495. this.notUsedHeight = this.bodyHeight - imgAreaHeight;
  496. this.blockMarginTop = 0;
  497. this.imgRowMarginTop = 0;
  498. this.luWordSpace = 15;
  499. },
  500. calcImageParam:function(){
  501. this.align = 2;
  502. this.columnWidth = Math.floor(this.bodyWidth/config.txtC);
  503. this.imgRowMarginTop = Math.floor(this.notUsedHeight/(config.imR+1));
  504. config.cMR = Math.floor((this.bodyWidth - this.imgItemWidth*config.imC) / (config.imC+1));
  505. },
  506. init : function(){
  507. this.T = baidu.template;
  508. this._initEnv();
  509. this._initAds();
  510. this._initContainerSize();
  511. this._initHeaderStyle();
  512. this._initImageStyle();
  513. this._initTextStyle();
  514. //must init last
  515. this.calcLayout();
  516. config.pat==6 && this.calcImageParam();
  517. },
  518. run : function(){
  519. this.init();
  520. this.paint();
  521. this.initEvents();
  522. },
  523. paint:function(){
  524. var picContainerHtml = '';
  525. this.get("wrapper").innerHTML = this.T('native_ad_frame_template',{'ads':ads,'style':this});
  526. var adsJson = this.AdStruc = this.layout();
  527. if(config.pat==6) {
  528. if (config.dynamic_trans_type > 0) {
  529. picContainerHtml += this.T('native_ad_pic_template_two_image',{'ads':adsJson['imageAreaAds'],'style':this});
  530. } else {
  531. picContainerHtml += this.T('native_ad_pic_template',{'ads':adsJson['imageAreaAds'],'style':this});
  532. }
  533. }
  534. this.get("pic_container").innerHTML = picContainerHtml;
  535. },
  536. layout:function(){
  537. var resort_ads=[],tmp_ads = ads.splice(0,config.imC*config.imR);
  538. resort_ads = tmp_ads;
  539. var adsJson = {
  540. 'imageAreaAds':resort_ads,
  541. 'textAreaAds':[]
  542. };
  543. return adsJson;
  544. },
  545. getElementsByClass: function(dom,cls){
  546. if(dom.nodeType==1){
  547. if(dom.className==cls){
  548. return dom;
  549. }else{
  550. for(var i=0;i<dom.childNodes.length;++i){
  551. var d = this.getElementsByClass(dom.childNodes[i],cls)
  552. if(d != null) return d;
  553. }
  554. }
  555. }
  556. return null;
  557. },
  558. animate : function(id, mask, start ,step, target){
  559. clearInterval(this.timer[id])
  560. this.timer[id] = setInterval(this.proxy(this,function(){
  561. var top = isNaN(parseInt(mask.style.top))? start : parseInt(mask.style.top)
  562. var cond = step < 0 ? top - target : target - top
  563. if (cond <= Math.abs(step)){
  564. clearInterval(this.timer[id])
  565. mask.style.top = target+"px"
  566. return
  567. }else{
  568. top+=step;
  569. mask.style.top = top+"px"
  570. }
  571. }),15)
  572. },
  573. setHover:function(node){
  574. var className = node.className || '';
  575. if(className.indexOf('pic_item') !== -1){
  576. if (this.hover == 1) {
  577. node.className = "pic_item pic_item_hover";
  578. var mask = this.getElementsByClass(node,'mask');
  579. mask.style.display="block"
  580. mask.style.top=(0-this.picHeight)+"px"
  581. this.animate(node.id, mask, (0-this.picHeight), 9, 1)
  582. } else if(this.hover == 2) {
  583. node.className = "pic_item pic_item_hover_L";
  584. } else if(this.hover == 3) {
  585. node.className = "pic_item pic_item_hover_L2";
  586. } else {
  587. node.className = "pic_item hover";
  588. }
  589. }
  590. },
  591. setNormal:function(node){
  592. var className = node.className || '';
  593. if(className.indexOf('pic_item') !== -1){
  594. node.className = "pic_item";
  595. var mask = this.getElementsByClass(node,'mask');
  596. this.animate(node.id, mask, 1, -9, (0-this.picHeight))
  597. }
  598. },
  599. initEvents: function(){
  600. var container = this.get("pic_container");
  601. function getEvent(e) {
  602. return e || window.event;
  603. }
  604. function bind(el, type, fn){
  605. el.addEventListener ? el.addEventListener(type, fn, false) :
  606. el.attachEvent ? el.attachEvent("on" + type, fn) :
  607. el['on'+type] = fn;
  608. }
  609. function checkHover(e, target) {
  610. if (getEvent(e).type == "mouseover") {
  611. return !contains(target, getEvent(e).relatedTarget || getEvent(e).fromElement) && !((getEvent(e).relatedTarget || getEvent(e).fromElement) === target);
  612. } else {
  613. return !contains(target, getEvent(e).relatedTarget || getEvent(e).toElement) && !((getEvent(e).relatedTarget || getEvent(e).toElement) === target);
  614. }
  615. }
  616. function contains(parentNode, childNode) {
  617. if(!(childNode && parentNode))return false;
  618. if (parentNode.contains) {
  619. return parentNode != childNode && parentNode.contains(childNode);
  620. } else {
  621. return !!(parentNode.compareDocumentPosition(childNode) & 16);
  622. }
  623. }
  624. bind(container,'mouseover',function(e){
  625. var element = e.srcElement ? e.srcElement : e.target;
  626. if(checkHover(e,element)){
  627. while(element&&(typeof element.className !=="string"||element.className.indexOf("pic_item")==-1)){
  628. if(element === this){
  629. element = 0;
  630. break;
  631. }
  632. element = element.parentNode;
  633. }
  634. if(!element)return;
  635. if(element.className=="pic_itemColumnSpace")return;
  636. if (config.dynamic_trans_type === 1 || config.dynamic_trans_type === 2 || config.dynamic_trans_type === 3 || config.dynamic_trans_type === 4) {
  637. return;
  638. }
  639. var id = "picItem_"+thisPage.focusRow+"_"+thisPage.focusCol;
  640. var dom = thisPage.get(id);
  641. if(dom){
  642. thisPage.setNormal(dom);
  643. thisPage.focusCol = -1;
  644. thisPage.focusRow = 0;
  645. }
  646. clearTimeout(thisPage.playTimer);
  647. if(checkHover(e,element)){
  648. thisPage.setHover(element);
  649. }
  650. }
  651. });
  652. bind(container,'mouseout',function(e){
  653. var element = e.srcElement ? e.srcElement : e.target;
  654. var related = getEvent(e).relatedTarget || getEvent(e).toElement
  655. if (related && typeof related.className == "string"&& related.className.indexOf('mask')!=-1)return
  656. if(checkHover(e,element)){
  657. while(element&&(typeof element.className !=="string"||element.className.indexOf("pic_item")==-1))element = element.parentNode;
  658. if(!element)return;
  659. if(element.className=="pic_itemColumnSpace")return;
  660. clearTimeout(thisPage.playTimer);
  661. thisPage.playTimer = setTimeout(thisPage.proxy(thisPage,thisPage.lunbo),1500);
  662. if(checkHover(e,element)) thisPage.setNormal(element);
  663. }
  664. });
  665. clearTimeout(thisPage.playTimer);
  666. thisPage.playTimer = setTimeout(thisPage.proxy(thisPage,thisPage.lunbo),1500);
  667. },
  668. lunbo : function(){
  669. var id = "picItem_"+this.focusRow + "_" + this.focusCol;
  670. var focused_dom = this.get(id);
  671. if(focused_dom){
  672. this.setNormal(focused_dom);
  673. }
  674. ++this.focusCol;
  675. if(this.focusCol >= config.imC) {
  676. this.focusCol = 0;
  677. ++this.focusRow;
  678. }
  679. if(this.focusRow >=config.imR) {
  680. this.focusCol = 0;
  681. this.focusRow = 0;
  682. }
  683. id = "picItem_"+this.focusRow + "_" + this.focusCol;
  684. var dom = this.get(id);
  685. if(dom){
  686. this.setHover(dom);
  687. }
  688. clearTimeout(this.playTimer);
  689. this.playTimer = setTimeout(this.proxy(this,this.lunbo),2500);
  690. },
  691. proxy : function(obj,func){
  692. return function(){
  693. return func.apply(obj,arguments);
  694. }
  695. }
  696. }
  697. function advLength(str,fs){
  698. var ch = 0;
  699. var en = 0;
  700. for(var i=0;i<str.length;++i){
  701. if(escape(str.substring(0,1)).indexOf( "%u" )<0){
  702. en += 1;
  703. }else{
  704. ch += 1;
  705. }
  706. }
  707. return Math.ceil(fs*(ch + en/2));
  708. }
  709. function shorten(str,length,fontSize){
  710. if(length<=0)return -1;
  711. var len = advLength(str,fontSize);
  712. if(len <= length)return str;
  713. var index = str.length;
  714. while(len+fontSize > length && len >0){
  715. str = str.substring(0,str.length-1);
  716. len = advLength(str,fontSize);
  717. if(len+fontSize<=length){
  718. str+="..";
  719. return str;
  720. }
  721. }
  722. return -1;
  723. }
  724. thisPage.run();
  725. </script>
  726. <script>
  727. var newAds = [{"bid":"","curl":"https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRc1FRPjFRfsFRmzFRfYFRckFRPDFRRzFRcsFRujFRnvFRFDFRPjFRD3FhkdpvbqniuVmLKV5HTvPWRvFMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqrAnkP1R3mHb&besl=-1&c=news&cf=1&cvrq=981928&eid_list=201157_203160_203777_209570&expid=200861_201157_203160_203640_206311_207434_209570_209682&fr=4&fv=0&haacp=1094&img_typ=4134&itm=0&lu_idc=nj02&lukid=1&lus=92c204106e0f083c&lust=6434f6cb&luwtr=6172804539633627423&mscf=0&mtids=9911696&n=10&nttp=1&p=baidu&pbs=228840&sce=7&sr=84&ssp2=1&tpl=baiduCustNativeADImage&tsf=dtp:1&tu_type=0&u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&uicf=lurecv&urlid=0&eot=1","desc":"程序员外包平台","dp_config":1,"dspw":"","height":250,"icon":270401,"iconurl":"https://lupic.cdn.bcebos.com/20210629/9911696_14.jpg","image_url":"https://lupic.cdn.bcebos.com/20210629/9911696_14.jpg","isHb":false,"lpId":3,"surl":"","title":"程序员外包平台","type":"text","view_num":9283,"width":300,"word_src":"0"},{"bid":"","curl":"https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRc1FRPjFRfsFRmzFRfYFRckFRPDFRRzFRcsFRujFRPDFRm3FRfdFRF7FhkdpvbqnBuVmLKV5Hm4nHm4FMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqnvRLnhFbm1m&besl=-1&c=news&cf=1&cvrq=2303746&eid_list=201157_203160_203777_209570&expid=200861_201157_203160_203640_206311_207434_209570_209682&fr=4&fv=0&haacp=786&img_typ=4130&itm=0&lu_idc=nj02&lukid=2&lus=92c204106e0f083c&lust=6434f6cb&luwtr=6728413789323799737&mscf=0&mtids=9908923&n=10&nttp=1&p=baidu&pbs=228840&sce=7&sr=84&ssp2=1&tpl=baiduCustNativeADImage&tsf=dtp:1&tu_type=0&u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&uicf=lurecv&urlid=0&eot=1","desc":"程序员外包网站","dp_config":1,"dspw":"","height":250,"icon":270501,"iconurl":"https://lupic.cdn.bcebos.com/20210629/9908923_14.jpg","image_url":"https://lupic.cdn.bcebos.com/20210629/9908923_14.jpg","isHb":false,"lpId":3,"surl":"","title":"程序员外包网站","type":"text","view_num":6731,"width":300,"word_src":"0"},{"bid":"","curl":"https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRfzFRFaFRFjFRujFRn4FRuKFRc1FRn4FRfsFRDkFRc1FRPjFRfsFRmzFhkdpvbqnzuVmLKV5HTdnH0zFMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqnHRLmhmzP1n&besl=-1&c=news&cf=1&cvrq=6796180&eid_list=201157_203160_203777_209570&expid=200861_201157_203160_203640_206311_207434_209570_209682&fr=4&fv=0&haacp=922&img_typ=4130&itm=0&lu_idc=nj02&lukid=3&lus=92c204106e0f083c&lust=6434f6cb&luwtr=7635639288793629340&mscf=0&mtids=8187936&n=10&nttp=1&p=baidu&pbs=228840&sce=7&sr=84&ssp2=1&tpl=baiduCustNativeADImage&tsf=dtp:1&tu_type=0&u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&uicf=lurecv&urlid=0&eot=1","desc":"一键生成小程序","dp_config":1,"dspw":"","height":250,"icon":280201,"iconurl":"https://lupic.cdn.bcebos.com/20210629/8187936_14.jpg","image_url":"https://lupic.cdn.bcebos.com/20210629/8187936_14.jpg","isHb":false,"lpId":3,"surl":"","title":"一键生成小程序","type":"text","view_num":12099,"width":300,"word_src":"0"},{"bid":"","curl":"https://cpro.baidu.com/cpro/ui/uijs.php?en=mywWUA71T1YsFh7sT7qGujYsFhPC5H0huAbqrauGTdq9TZ0qnauJp1Y1m103nAmvuHDsnjwWnWbzFh_qFRfYFRwKFRPAFRwAFRf1FRwAFRnLFRR4FRFjFRRsFRczFRRzFRPAFRcdFRPDFRc1FhkdpvbqPauVmLKV5HmvnjDkFMDqmLPbUhF9pywdgvPsTBuzmWYsFMF15HDhTvN_UANzgv-b5HDhTv-b5Hbzm1csPjDsPhRsuW03nvnhTLwGujYknHRhIjdYTAP_pyPouyf1gv9WFMwb5Hm3rj63rjchIAYqnH0Lnjm1rauYUgnqnHm3nHD4nWmdniuYIHddPW63rj63nBud5y9YIZK1FHPKFHFAFHFAmhkEuzRzwyP1uA3-nbN8ugfhIWYzFhbqujRvn1nznvR&besl=-1&c=news&cf=1&cvrq=2491151&eid_list=201157_203160_203777_209570&expid=200861_201157_203160_203640_206311_207434_209570_209682&fr=4&fv=0&haacp=1271&img_typ=4134&itm=0&lu_idc=nj02&lukid=4&lus=92c204106e0f083c&lust=6434f6cb&luwtr=6385435982590785725&mscf=0&mtids=3087322778&n=10&nttp=1&p=baidu&pbs=228840&sce=7&sr=84&ssp2=1&tpl=baiduCustNativeADImage&tsf=dtp:1&tu_type=0&u=%2Fweixin%5F39982568%2Farticle%2Fdetails%2F110759035&uicf=lurecv&urlid=0&eot=1","desc":"在线舆情监测系统","dp_config":1,"dspw":"","height":250,"icon":180101,"iconurl":"https://lupic.cdn.bcebos.com/20220722/3087322778_14_504_360.jpg","image_url":"https://lupic.cdn.bcebos.com/20220722/3087322778_14_504_360.jpg","isHb":false,"lpId":3,"surl":"","title":"在线舆情监测系统","type":"text","view_num":2243,"width":300,"word_src":"0"}];
  728. // var defaultIsShow = false;
  729. // 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();
  730. </script>
  731. <script>
  732. var sendMonitorLog={sendLog:function(){var f=this;var d="";var c=document.getElementById("pic_container");var b="//cpro.baidu.com/concurrent/cc?";var e=c.getElementsByTagName("a");for(var a=0;a<e.length;a++){if(e[a].className!="bd-logo4"){this.addEvent(e[a],"click",function(j){var j=j||window.event;var k=j.target||j.srcElement;if(k.tagName.toLowerCase()!=="a"){k=f.resTag(k)}var i=k.href;d=/\?+(.*)/.exec(i);var g=new Image();var h="cpro_log_"+Math.floor(Math.random()*2147483648).toString(36);window[h]=g;g.onload=g.onerror=g.onabort=function(){g.onload=g.onerror=g.onabort=null;window[h]=null;g=null};g.src=b+d[1]+"&tT="+new Date().getTime()})}}},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}};sendMonitorLog.sendLog();
  733. </script>
  734. <script>
  735. // var adJsUrlexp='//cpro.baidustatic.com/cpro/ui/noexpire/js/4.0.1/adClosefeedbackUpgrade.min.js';
  736. // var bdUserPreferenceExpFlag=2;var bdJinglianExpFlag=1;var preferenceInfo="czE9MjQ2MjE4ODU2MAFzMj0xODQ2NDc4OTA4AXJlcXVybD1odHRwcyUzQSUyRiUyRmJsb2clMkVjc2RuJTJFbmV0JTJGd2VpeGluJTVGMzk5ODI1NjglMkZhcnRpY2xlJTJGZGV0YWlscyUyRjExMDc1OTAzNQFjbnRuPWNzZG5iYWlkdV9jcHIBdHU9dTY4ODg4ODIBaXA9NDA3MjQ2MTk2AWlwdjY9AWNyYz03NzAzODg1MjI=";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(){})}};
  737. if (config.dynamic_trans_type === "undefined" || config.dynamic_trans_type != 4) {
  738. logo.init({containerId: 'wrapper', closeDirect: true, feedbackParentId: 'wrapper', deviceType: 1});
  739. }
  740. </script>
  741. <script type="text/javascript">
  742. function addFliterForImg(){var a=config.saturate;var e=config.contrast;var f=document.querySelectorAll("img");for(var c=f.length-1;c>=0;c--){var d=f[c];if(d.src.length>0&&d.width>10&&d.height>10){var b;if(a&&e){b="-webkit-filter:saturate("+a/100+") contrast("+e/100+")"}else{if(a){b="-webkit-filter:saturate("+a/100+")"}else{if(e){b="-webkit-filter:contrast("+e/100+")"}}}if(d.style.cssText.indexOf("filter")===-1){d.style.cssText+=b}}}}if(config.saturate||config.contrast){if(document.all){window.attachEvent("onload",addFliterForImg)}else{window.addEventListener("load",addFliterForImg,false)}};
  743. </script>
  744. <script type="text/javascript">
  745. if (config.dynamic_trans_type === 1) {
  746. this.setInterval("flipAnimationImage()", 4000);
  747. } else if (config.dynamic_trans_type === 2) {
  748. this.setInterval("rollAnimationImage()", 4000);
  749. }else if (config.dynamic_trans_type === 3 || config.dynamic_trans_type === 4) {
  750. this.setInterval("hideAnimationImage()", 4000);
  751. }
  752. function flipAnimationImage() {
  753. var picas = document.getElementsByName("pic_a_name");
  754. if (picas && picas.length > 0) {
  755. for (var i = 0; i < picas.length; i++) {
  756. if (i > 2) {
  757. return;
  758. }
  759. var pica= picas[i];
  760. var frontImages = pica.getElementsByClassName("frontImage");
  761. var frontImage = frontImages[0];
  762. var backImages = pica.getElementsByClassName("backImage");
  763. var backImage = backImages[0];
  764. if (pica && pica.className === "flip_image") {
  765. pica.className = "flip_image flip_image_fliped";
  766. frontImage.className = "frontImage frontImage_fliped";
  767. backImage.className = "backImage backImage_fliped";
  768. } else if (pica && pica.className === "flip_image flip_image_fliped"){
  769. pica.className = "flip_image";
  770. frontImage.className = "frontImage";
  771. backImage.className = "backImage";
  772. }
  773. };
  774. }
  775. }
  776. function rollAnimationImage() {
  777. var picas = document.getElementsByName("pic_a_name");
  778. if (picas && picas.length > 0) {
  779. for (var i = 0; i < picas.length; i++) {
  780. if (i > 2) {
  781. return;
  782. }
  783. var pica= picas[i];
  784. var frontImages = pica.getElementsByClassName("firstImage");
  785. var frontImage = frontImages[0];
  786. var backImages = pica.getElementsByClassName("secondImage");
  787. var backImage = backImages[0];
  788. if (pica && pica.className === "roll_image") {
  789. pica.className = "roll_image roll_image_done";
  790. frontImage.className = "firstImage firstImage_done";
  791. backImage.className = "secondImage secondImage_done";
  792. } else if (pica && pica.className === "roll_image roll_image_done"){
  793. pica.className = "roll_image";
  794. frontImage.className = "firstImage";
  795. backImage.className = "secondImage";
  796. }
  797. };
  798. }
  799. }
  800. function hideAnimationImage() {
  801. var picas = document.getElementsByName("pic_a_name");
  802. if (picas && picas.length > 0) {
  803. for (var i = 0; i < picas.length; i++) {
  804. if (i > 2) {
  805. return;
  806. }
  807. var pica= picas[i];
  808. var frontImages = pica.getElementsByClassName("frontImage");
  809. var frontImage = frontImages[0];
  810. var backImages = pica.getElementsByClassName("backImage");
  811. var backImage = backImages[0];
  812. if (pica && pica.className === "flip_image") {
  813. pica.className = "flip_image hide_image_hiden";
  814. frontImage.className = "frontImage frontImage_fliped";
  815. backImage.className = "backImage backImage_fliped";
  816. } else {
  817. pica.className = "flip_image";
  818. frontImage.className = "frontImage";
  819. backImage.className = "backImage";
  820. }
  821. };
  822. }
  823. }
  824. </script>
  825. </body></html>