Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/www.85520057.com/func.php:230) in /www/wwwroot/www.85520057.com/js.php on line 27
function chkSearch(){var key=$("input[name='kw']:first");if(!key.val()){tip('请输入关键词');key.focus();return false;}} function range(startNum, endNum, stepNum){for(var arr=[], i=startNum; i<=endNum; arr.push(i), i+=(stepNum ? stepNum : 1));return arr;}; function isCell(s){return /^1[34578]\d{9}$/.test(s)} function isEmail(s){return /^[a-z0-9]([a-z0-9]*[-_\.]*[a-z0-9])*@([a-z0-9]*[-]?[a-z0-9])+([\.][a-z]{2,}){1,2}$/i.test(s)} //waiting(f,tag1,tag2[,...]) function waiting(f){f=!!f;f?$('body').addClass('waiting'):$('body').removeClass('waiting');for(var i=1; inum');return [];}var arr=[], tmp=0, i=0;while(arr.length $(window).height()/2){$('#DIVGOTOP').fadeIn();}else{$('#DIVGOTOP').fadeOut();}}); //提示信息(代替alert) function tip(s, t, isTip){$('div#wxy-js-tip').remove();if(!s)return;var div=$('
'+s+' 5
').appendTo('body'), h=(0-div.outerHeight())+'px', divCount=div.find('i#wxy-js-tip-count'), tipTimer=null;div.css('top', h).animate({'top':0}, 200);t=t?t:5;setTimeout(function(){div.animate({'top':h}, 200, function(){clearInterval(tipTimer);div.remove();})}, t*1000);tipTimer=setInterval(function(){divCount.text(t);t=(t-0.1).toFixed(1);},100);} //横向滚动--$('#ul') function wxyMoving(a){if(a.length>1){a.each(function(){edgesunMovingVertical($(this))});return;};var f,g,b=a.parent(),c=a.find("li"),d=0,e="";c.size()&&(e=b.css("display"),"none"==e&&b.css({display:"block"}),d=c.outerWidth(!0)*c.size(),"none"==e&&b.css({display:"none"}),b.width()>d||(a.html(a.html()+a.html()),a.css({width:2*d+"px"}),f=function(){b.scrollLeft()==d?b.scrollLeft(1):b.scrollLeft(b.scrollLeft()+1)},g=setInterval(f,20),b.mouseover(function(){clearInterval(g)}),b.mouseout(function(){clearInterval(g),g=setInterval(f,20)})))}; //纵向滚动--$('#ul') function wxyMovingVertical(a){if(a.length>1){a.each(function(){edgesunMovingVertical($(this))});return;};function d(){b.scrollTop()==c?b.scrollTop(1):b.scrollTop(b.scrollTop()+1)}var e,b=a.parent(),c=a.height();!a.find("li").size()||b.height()>c||(a.html(a.html()+a.html()),e=setInterval(d,25),b.mouseover(function(){clearInterval(e)}),b.mouseout(function(){e=setInterval(d,25)}))}; /*div水平滑动 $(ul)[,$(btn)[,time[,num]] btn属性data-direction=1||-1 num为每次滑动的li个数*/ function wxySlideHorizontal(a,b,c,d){function e(b){f.stop(!1,!0);var c=0;b=-1==b?-1:1,0>b&&0==f.scrollLeft()?(k=h.length,c=a.width()-f.width()):b>0&&f.scrollLeft()+f.width()==a.width()?(k=0,c=0):(k+=d*b,c=f.scrollLeft()+h.eq(0).outerWidth(!0)*d*b),f.animate({scrollLeft:c},300)}var f=a.parent(),g=f.width(),h=a.find("li"),i=h.outerWidth(!0),j=h.length*i-h.outerWidth(!0)+h.outerWidth(!1),k=0,l=null;h.last().css("margin-right",0),$(window).resize(function(){g=f.width(),i=h.eq(0).outerWidth(!0),j=h.length*i-i+h.eq(0).outerWidth(!1),a.width(j)}),a.width(j),isNaN(d)&&(d=1),isNaN(c)&&(c=3e3),l=setInterval(e,c),f.hover(function(){clearInterval(l)},function(){l=setInterval(e,c)}),b&&(b.hover(function(){clearInterval(l)},function(){l=setInterval(e,c)}),b.click(function(){e($(this).attr("data-direction"))}))} /*div垂直滑动 $(ul)[,$(btn)[,time[,num]]] btn属性data-direction=1||-1 num为每次滑动的li个数*/ function wxySlideVertical(a,b,c,d){function e(b){f.stop(!1,!0);var c=0;b=-1==b?-1:1,0>b&&0==f.scrollTop()?(i=g.size(),c=a.height()-f.height()):b>0&&f.scrollTop()+f.height()==a.height()?(i=0,c=0):(i+=b*d,c=f.scrollTop()+g.eq(0).outerHeight(!0)*d*b),f.animate({scrollTop:c},300)}var k,f=a.parent(),g=a.find("li"),h=0,i=0,j=null;for(k=1;kg.eq(0).position().top){h=k;break}return a.find("li:gt("+((Math.ceil(g.size()/h)-1)*h-1)+")").css("margin-bottom",0),f.height()>=a.height()?("undefined"!=typeof b&&b.hide(),void 0):(isNaN(d)&&(d=1),isNaN(c)&&(c=3e3),j=setInterval(e,c),f.hover(function(){clearInterval(j)},function(){j=setInterval(e,c)}),b&&(b.hover(function(){clearInterval(j)},function(){j=setInterval(e,c)}),b.click(function(){e($(this).attr("data-direction"))})),void 0)} /* 焦点图-20161217 html
  • ...
wxyImgFocus({width:658, height:420, delay:4000, tag:$('#div2'), title:1|0, indexType:dot|num|null, indexPos:center|right, button:1|0}) */ function wxyImgFocus(a){function b(b){j="undefined"==typeof b?++j:-1==b?--j:b,j==k&&(j=0),0>j&&(j=k-1),h.eq(j).stop(!0,!0).addClass("on").siblings().removeClass("on"),d.eq(j).stop(!0,!0).fadeIn().siblings().fadeOut(),a.title&&f.stop(!0,!0).append(e[0][j]).animate({scrollTop:f.height()},function(){$(this).find("a:first").remove()})}var c=a.tag,d=c.find("li"),e=[[],[]],f=null,g=null,h=null,i=null,j=0,k=0;return c.size()>1?(c.each(function(){var b=a;b.tag=$(this),wxyImgFocus(b)}),void 0):(c.hasClass("wxy-img-focus")||(c=c.find(".wxy-img-focus")),c.css({width:a.width,height:a.height}),d.size()&&(d.size()>10&&(c.find("li:gt(9)").remove(),d=c.find("li")),k=d.size(),d.eq(0).siblings().fadeOut(1),d.each(function(){e[0].push(''+$(this).find("a").attr("data-title")+""),e[1].push("
  • "+($(this).index()+1)+"
  • ")}),c.append('
    '+(a.title?'
    '+e[0][0]+"
    ":"")+(k>1&&a.indexType?'
      '+e[1].join("")+"
    ":"")+"
    "+(a.button&&k>1?'':"")),f=c.find(".title"),g=c.find("ol"),h=g.find("li"),h.eq(0).addClass("on"),g.width(h.eq(0).outerWidth(!0)*k),"center"==a.indexPos?g.css({left:"50%","margin-left":0-g.width()/2}):g.css({right:0}),f.width(c.width()-(a.indexType?g.width()+30:0)),1!=k&&(i=setInterval(function(){b()},a.delay),h.each(function(){$(this).hover(function(){clearInterval(i),b($(this).index())},function(){i=setInterval(function(){b()},a.delay)})}),c.find(".button").hover(function(){clearInterval(i)},function(){i=setInterval(function(){b()},a.delay)}).click(function(){$(this).hasClass("prev")?b(-1):b()}))),void 0)}; //下拉菜单 function initNav(a,b){function j(){var b=function(c){var d=0,f=c.parent().offset().left,i=(c.parent().outerHeight(),0);for(c.show().width(1e5),i=c.height(),d=c.find("ul").outerWidth(!0);c.width(d)&&c.height()>i;)d++;d=c.outerWidth(!0),d>a&&(d=a-parseInt(c.css("padding-left"))-parseInt(c.css("padding-left")),c.width(d),d=a),f=f+d>e?e-f-d:0,c.css({left:f}),c.find(h).each(function(){$(this).parent().addClass("hassub"),b($(this))}),c.hide()},e=c.width()>a?(c.width()+a)/2:a;d.children().children(h).each(function(){b($(this))})}var c=$(window),d=$("#nav"),e=$("#nav>li>a[data-id='"+b+"']"),f="em",g="on",h="div",i=300;$("#nav>li>a").each(function(){$(this).html(""+$(this).text()+"")}),e.addClass(g).parent().addClass("cur").find(f).slideDown(),d.hover(function(){},function(){e.find(f).stop(!1,!0).slideDown(i),e.addClass(g)}),j(),$(window).resize(function(){j()}),$("#nav>li").each(function(){$(this).hover(function(){e.removeClass("on"),$(this).find("a:first").addClass("on"),$(this).find(h).eq(0).stop().slideDown(i)},function(){$(this).find("a:first").removeClass("on"),e.addClass("on"),$(this).find(h).stop().slideUp(i)}),$(this).find("li").hover(function(){$(this).find(h).stop().slideDown(i)},function(){$(this).find(h).stop().slideUp(i)})})}; /** * 倒计时 *
    * 调用 $('.js-header-countdown').wxyCountDown({dayTag:'.js-day', hourTag:'.js-hour', minuteTag:'.js-minute', secondTag:'js-second', seperateBy:':'}); */ (function($){ //倒计时 $.fn.wxyCountDown = function(options){ var opts = $.extend({ titleObj: null, //标题 beginHtml: null, //开始时标题html beginClass: null, //开始时标题clss endHtml: null, endClass: null, okHtml: null, //完成时标题html okClass: null, //完成时标题clss dayTag : null, hourTag : null, minuteTag : null, secondTag : null, seperateBy: ':', }, options), This=$(this); var beginDT = new Date(This.attr('data-begintime') ? This.attr('data-begintime').replace(/-/g, '/') : 0).getTime(), endDT = new Date(This.attr('data-endtime') ? This.attr('data-endtime').replace(/-/g, '/') : 0).getTime(), wxyCountDownInterval=null; function wxyCountDownDo(){ var nowDT = new Date().getTime(), d=h=m=s=0, html=clsName=''; if(beginDT > nowDT){ //尚未开始 diff = beginDT-nowDT; d = Math.floor(diff / 1000 / 60 / 60 / 24); h = Math.floor(diff / 1000 / 60 / 60 % 24); m = Math.floor(diff / 1000 / 60 % 60); s = Math.floor(diff / 1000 % 60); html = opts.beginHtml ? opts.beginHtml : ''; clsName = opts.beginClass ? opts.beginClass : ''; }else if(endDT > nowDT){ //已开始未结束 diff = nowDT-endDT; d = Math.floor(diff / 1000 / 60 / 60 / 24); h = Math.floor(diff / 1000 / 60 / 60 % 24); m = Math.floor(diff / 1000 / 60 % 60); s = Math.floor(diff / 1000 % 60); html = opts.endHtml ? opts.endHtml : ''; clsName = opts.endClass ? opts.endClass : ''; }else{ //已结束 html = opts.okHtml ? opts.okHtml : ''; clsName = opts.okClass ? opts.okClass : ''; window.clearInterval(wxyCountDownInterval); } if(opts.titleObj && This.find(opts.titleObj).length>0){ if(html)This.find(opts.titleObj).html(html); if(clsName)This.find(opts.titleObj).addClass(clsName); } if(This.find(opts.dayTag))This.find(opts.dayTag).text(('0'+d).substr(-2)+opts.seperateBy); if(This.find(opts.hourTag))This.find(opts.hourTag).text(('0'+h).substr(-2)+opts.seperateBy); if(This.find(opts.minuteTag))This.find(opts.minuteTag).text(('0'+m).substr(-2)+opts.seperateBy); if(This.find(opts.secondTag))This.find(opts.secondTag).text(('0'+s).substr(-2)); } wxyCountDownInterval = setInterval(wxyCountDownDo, 1000); }; })(jQuery); /** * 变化的数字 *
    100
    与使用标签无关 * 调用 my_number($('.js-my-number')); */ function my_number(Target, ExtraText){ if(typeof(ExtraText)=='undefined')ExtraText=''; function animation_init(obj){ var times=30, //每秒最多变化次数 time=2, //变化过程总持续时间2秒 amount=0, //每次变化数 timer=0, //多长时间变化一次(单位毫秒) num=parseInt(obj.text()); if(num >= times*time){ timer=Math.ceil(1000/times); amount=Math.ceil(num/times/time); }else{ amount=1; timer=Math.ceil(time*1000/num); } obj.data('num', num); obj.data('timer', timer); obj.data('amount', amount); } function my_number_roll(obj){ var cur=parseInt(obj.text()), num=obj.data('num'); if(curnum)cur=num; obj.text(cur + ExtraText); setTimeout(function(){my_number_roll(obj)}, obj.data('timer')); } } if(typeof(Target.data('animation_status'))!='undefined')return; if(Target.offset().top < $(window).scrollTop()+$(window).height()-50){ Target.data('animation_status', 1).find('.js-number').each(function(){animation_init($(this)); $(this).text(0);my_number_roll($(this))}); } }