<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">$(window).load(function() {
	function configIframe(){
		
		var headerH=$('#header').height();	
		var navH=$('#nav').height();
		if ( matchMedia( 'only screen and (max-width:880px)' ).matches ) { navH=0;  }
		$('#banner').css('margin-top',headerH+navH);
		$('.ny_banner').css('margin-top',headerH+navH);
		
		var navToggleH=$('#navToggle').outerHeight();	
		$('#navToggle').css('margin-top',-navToggleH/2);
		
		var logo_descH=$('.logo_desc').outerHeight();	
		logo_descH=headerH-logo_descH;
		$('.logo_desc').css('margin-top',logo_descH/2);
		
		/*首页产品滚动*/
		var w=$(window).width();	
		var vis=4;
		if(w&gt;=1200){
			vis=4;
		}else if(w&lt;=1199 &amp;&amp; w&gt;880) {
			vis=3;
		}else if(w&lt;=880 &amp;&amp; w&gt;380) {
			vis=2;
		}else if(w&lt;=380){
			vis=2;
		}
		var pro_bdW=$('.product .bd').width();
		var pro_LiW=(pro_bdW-30*vis)/vis;
		$('.product .bd li').width(pro_LiW);	
		//document.getElementById("swidth").innerHTML=vis;		
		jQuery(".product").slide({	
			mainCell:".bd ul",
			autoPage:true,
			effect:"left",
			autoPlay:false,
			vis:vis,
			trigger:"click"
		});
		
		
	}
	
	configIframe();

	/*窗口改变事件*/
	window.onresize = function () {
		/*window.location.reload();*/
		configIframe();
	}

	
	
	//二级导航  移动端
	/*$(".m_nav .ul li").click(function() {
		$(this).children("div.dropdown_menu").slideToggle('slow')
		$(this).siblings('li').children('.dropdown_menu').slideUp('slow');				
	});*/

});

/*联系方式tab切换*/
$(".contact .tags_title .one").hover(function(){
	$(this).removeClass('ron');
	$(".contact .tags_title .two").addClass('ron');
	$(".contact .content2").hide();
    $(".contact .content1").show();
},function(){
    
});
$(".contact .tags_title .two").hover(function(){
	$(this).removeClass('ron');
	$(".contact .tags_title .one").addClass('ron');
	$(".contact .content1").hide();
    $(".contact .content2").show();
},function(){
    
});

/* -----QQ 侧边悬浮 ---- */
$( ".suspension .a").bind("mouseenter", function(){
	var _this = $(this);
	var s = $(".suspension");
	var isService = _this.hasClass("a-service");
	var isServicePhone = _this.hasClass("a-service-phone");
	var isQrcode = _this.hasClass("a-qrcode");
	if(isService){ s.find(".d-service").show().siblings(".d").hide();}
	if(isServicePhone){ s.find(".d-service-phone").show().siblings(".d").hide();}
	if(isQrcode){ s.find(".d-qrcode").show().siblings(".d").hide();}
});
$(".suspension, .suspension .a-top").bind("mouseleave", function(){
	$(".suspension").find(".d").hide();
});
$(".suspension .a-top").bind("mouseenter", function(){
	$(".suspension").find(".d").hide(); 
});
$(".suspension .a-top").bind("click", ".suspension .a-top", function(){
	$("html,body").animate({scrollTop: 0});
});
$(window).scroll(function(){
	var st = $(document).scrollTop();
	var $top = $(".suspension .a-top");
	if(st &gt; 400){
		$top.css({display: 'block'});
	}else{
		if ($top.is(":visible")) {
			$top.hide();
		}
	}
});	   


</pre></body></html>