btoe = '\u6280\u672f\u652f\u6301\uff1a\u52a8\u529b\u65e0\u9650\u007c\u0062\u0074\u006f\u0065\u002e\u0063\u006e'; /*! Search */ function SiteSearchkwf(a) { var b = $.trim($(a).val()); 0 < b.length && "\u8f93\u5165\u5173\u5065\u5b57" != b && (window.location.href="/tfbsdi_" + encodeURI($(a).val()) + ".html"); return !1 }; /*! WJDH Message 1.1 */ $(function(){$("[href="#xkei-nfttbhf"]").click(function(b){$.get("/message.html",function(a){$("body").append(a)})})}); /*! 分享代码 */ window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdMiniList": false, "bdPic": "", "bdStyle": "0", "bdSize": "16" }, "share": {} }; with(document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)]; /*! 平滑滚动*/ function docscroll(eid){$("html,body").animate({scrollTop:$(eid).offset().top+"px"},800,"swing")}; /*! WJDH Lazy Load 2.0 */ (function(c,g,n,q){var e=c(g);c.fn.lazyload=function(a){function b(){var a=0;m.each(function(){var b=c(this);0==b.offset().top&&(b.trigger("appear"),a=0);if(!d.skip_invisible||b.is(":visible"))if(!c.belowthefold(this,d)&&!c.abovethetop(this,d))b.trigger("appear"),a=0;else if(++a>d.failure_limit)return!1})}var m=this,d={threshold:0,failure_limit:999,event:"scroll",effect:"fadeIn",container:g,data_attribute:"src",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};a&&(void 0!==a.failurelimit&&(a.failure_limit=a.failurelimit,delete a.failurelimit),void 0!==a.effectspeed&&(a.effect_speed=a.effectspeed,delete a.effectspeed),c.extend(d,a));a=void 0===d.container||d.container===g?e:c(d.container);0===d.event.indexOf("scroll")&&a.bind(d.event,function(){return b()});this.each(function(){var a=this,b=c(a);a.loaded=!1;(void 0===b.attr("src")||!1===b.attr("src"))&&b.is("img")&&b.attr("src",d.placeholder);b.one("appear",function(){this.loaded||(d.appear&&d.appear.call(a,m.length,d),c("").bind("load",function(){function g(){if(0=c(a).offset().top+b.threshold+c(a).height()};c.leftofbegin=function(a,b){return(void 0===b.container||b.container===g?e.scrollLeft():c(b.container).offset().left)>=c(a).offset().left+b.threshold+c(a).width()};c.inviewport=function(a,b){return!c.rightoffold(a,b)&&!c.leftofbegin(a,b)&&!c.belowthefold(a,b)&&!c.abovethetop(a,b)};c.extend(c.expr[":"],{"below-the-fold":function(a){return c.belowthefold(a,{threshold:0})},"above-the-top":function(a){return!c.belowthefold(a,{threshold:0})},"right-of-screen":function(a){return c.rightoffold(a,{threshold:0})},"left-of-screen":function(a){return!c.rightoffold(a,{threshold:0})},"in-viewport":function(a){return c.inviewport(a,{threshold:0})},"above-the-fold":function(a){return!c.belowthefold(a,{threshold:0})},"right-of-fold":function(a){return c.rightoffold(a,{threshold:0})},"left-of-fold":function(a){return!c.rightoffold(a,{threshold:0})}})})(jQuery,window,document);$(function(){$("img").lazyload({});console.log(btoe)}); /*导航吸顶*/ $(function(){var $nav=$('#fixedNav');var $top = $nav.offset().top;if($nav.length!=-1){$(window).scroll(function(){if($(window).scrollTop()>=$top){$("#fixedNav").addClass("fixedNav")}else{$("#fixedNav").removeClass("fixedNav")}})}});