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
layui.define(['jquery', 'element', 'carousel', 'code', 'laypage'], function(exports) {
var $ = layui.jquery,
element = layui.element,
carousel = layui.carousel,
laypage = layui.laypage;
//wow动态
var wow = new WOW({
boxClass: 'wow',
animateClass: 'animated',
offset: 0,
mobiles: true,
live: true
});
wow.init();
//源码
layui.code({
title: ' ',
about: false
});
$('.share').shareConfig({
Shade : true, //是否显示遮罩层
Event:'click', //触发事件
Content : 'Share', //内容DIV ID
Title : '' //显示标题
});
var timesnav;
$(".tem_head nav li").hover(function() {
var li = $(this),
dl = $(this).find("dl");
if (dl.length > 0) {
clearTimeout(timesnav);
if (dl.is(":hidden")) {
$(".tem_head nav li dl").hide();
dl.stop().slideToggle();
if (dl.attr("data-postinok") == null) {
if (dl.find("dt").length == 0) {
if (li.find('dl dd h3').length > 0) {
dl.addClass('tem_pronoaw');
$('.tem_head nav ul li dl.tem_pronoaw').width(function() {
var rt = $(this).find('dd h3').length * 140;
return rt > $(".tem_head").width() ? $(".tem_head").width() : rt
})
} else {
li.find('dl').css("width","auto");
li.find('dl').css("white-space","nowrap");
li.find('dl dd').css("width","auto");
li.find('dl dd').css("min-width","100px");
li.find('dl').css("min-width","100px");
}
}
li.find("dl dd i").css('left', (li.width() / 2 - 6) + 'px');
var a = dl.offset().left - $(".tem_head").offset().left,
b = dl.outerWidth(),
z = $(".tem_head").outerWidth();
if (a + b > z) {
var py = b - (z - a);
dl.css({
'left': -(py) + 'px'
});
li.find("dl dd i").css('left', py + (li.width() / 2 - 6) + 'px')
}
dl.attr("data-postinok", 1)
}
}
}
}, function() {
var dl = $(this).find("dl");
timesnav = setTimeout(function() {
dl.hide()
}, 300)
});
// 导航头部固定
$(document).scroll(function(){
var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop;
if(scrollTop > 0){
$("kui_nav_fix").addClass("current");
}else{
$("kui_nav_fix").removeClass("current");
}
})
//切换
$.extend({
"swiperOption": function(f1, f2, f3, f4) {
new Swiper(f1, {
slidesPerView: 'auto',
autoplay: true,
loop: 1,
navigation: {
nextEl: f2,
prevEl: f3,
},
pagination: {
el: f4,
clickable: true,
},
on:{
init: function(){
swiperAnimateCache(this); //隐藏动画元素
swiperAnimate(this); //初始化完成开始动画
},
slideChangeTransitionEnd: function(){
swiperAnimate(this); //每个slide切换结束时也运行当前slide动画
//this.slides.eq(this.activeIndex).find('.ani').removeClass('ani'); 动画只展现一次,去除ani类名
}
}
});
},
});
$(".swiper_box").each(function(index) {
$.swiperOption($(this), $(this).parent().find(".swiper-button-next"), $(this).parent().find(".swiper-button-prev"),
$(this).parent().find(".swiper-pagination"));
});
$(".kui_banner").each(function(index) {
$.swiperOption($(this), $(this).find(".swiper-button-next"), $(this).find(".swiper-button-prev"), $(this).find(
".swiper-pagination"));
});
//切换
$(".kui_tab li").on("click", function() {
$(this).addClass('kui_active').siblings().removeClass('kui_active');
$(this).parents('.layui-container').find(".kui_tab_box ul").eq($(this).index()).addClass(
'layui-anim layui-anim-scale kui_active').siblings().addClass('kui_none').removeClass('kui_active');
});
//banner漂浮导航
if ($('.kui_banner').length) {
kui_banner_h = $('.kui_banner').height();
$('.kui_banner_nav01').show().css({
'height': kui_banner_h,
'bottom': -kui_banner_h
});
$('.kui_banner_nav01 ul ul').css({
'height': kui_banner_h
});
$('.kui_banner_nav01 li').hover(function() {
$(this).toggleClass('hover').find('ul').stop(0, 0).toggle();
});
}
//导航
$(window).resize(function() {
$(".kui_toggle_01").parent().removeClass('kui_open');
$(".kui_nav_01 li a").css({'margin-left':0});
});
$(".kui_nav_01").height('auto');
$(".kui_toggle_01").parent().removeClass('kui_open');
$(".kui_nav_01 li a").removeAttr('style');
$(".kui_nav_01 li").has('ul').children('a').each(function(i) {
href = $(this).attr('whref');
$(this).attr({
'href': href
});
});
$(".kui_nav_01 ul ul").hide();
$(".kui_nav_01 li").has('ul').hover(function() {
var window_width = $(window).width();
if (window_width > 767) {
$(this).children('a').attr({
'href': $(this).children('a').attr('whref')
});
$(this).css({
'overflow': 'inherit'
});
$(this).toggleClass('hover').children('ul').stop(0, 0).slideToggle('fast');
}
});
$(".kui_toggle_01").on('click', function() {
$(".kui_nav_01 li a").each(function(i) {
$(this).css({
'padding-left': $(this).parents('ul').length * 15
});
});
if ($(window).width() < 767) {
$(".kui_nav_01 li").has('ul').children('a').each(function(i) {
href = $(this).attr('href');
$(this).attr({
'whref': href
});
$(this).attr({
'href': 'javascript:;'
});
});
}
$(this).parent().toggleClass('kui_open');
$(this).parent().find('.kui_nav_01 ul ul').stop(0, 0).slideUp('fast');
$(this).parent().find('.kui_nav_01').find('li').removeClass('hover');
$(this).parent().find('.kui_nav_01').stop(0, 0).slideToggle('fast').css({
'overflow': 'inherit'
});
$(this).parents('.kui_nav_box').next('.kui_nav_01').find('ul ul').stop(0, 0).slideUp('fast');
$(this).parents('.kui_nav_box').next('.kui_nav_01').find('li').removeClass('hover');
$(this).parents('.kui_nav_box').next('.kui_nav_01').stop(0, 0).slideToggle('fast');
});
$(".kui_nav_01 li a").on('click', function() {
$(this).parent("li").toggleClass('hover').children('ul').stop(0, 0).slideToggle('fast');
})
//内页导航
if ($('.kui_pape_nav').length) {
$(".kui_pape_nav li a").each(function(i) {
$(this).css({
'margin-left': ($(this).parents('ul').length - 1) * 15
});
});
$(".kui_pape_nav li").has('ul').children('a').each(function(i) {
if (!$(this).attr('whref')) {
href = $(this).attr('href');
$(this).attr({
'whref': href
});
}
$(this).attr({
'href': 'javascript:;'
});
});
$('.kui_pape_nav li a').click(function() {
if ($(this).parent("li").attr("class") == "hover") {
$(this).parent("li").removeClass('hover').children('ul').stop(0, 0).slideUp('fast');
} else {
$(this).parent("li").addClass('hover').children('ul').stop(0, 0).slideDown('fast').css('display', 'block');
}
});
}
// 返回顶部
if ($('.kui_scroll_top').length) {
$(window).scroll(function() {
if ($(this).scrollTop() > $(this).height()) {
$(".kui_scroll_top").show();
} else {
$(".kui_scroll_top").hide();
}
});
$(".kui_scroll_top").click(
function(){$('html,body').animate({scrollTop:'0px'},'slow');
})
}
//分享代码
if ($('#kui_share').length) {
$('#kui_share').share({
sites: ['qzone', 'qq', 'weibo', 'wechat']
});
}
/*响应式表格*/
if ($('table').length) {
$('table').wrap("");
}
//产品栏目左右等高
function allh(t) {
var height = 0;
t.each(function(i) {
if (height < t.eq(i).height()) {
height = t.eq(i).height();
}
});
return height;
}
//左右图$('.kui_list_06').find('.kui_l a').height(allh($('.kui_list_06 .kui_tab_box li')));
/*独立声明
var swiper = new Swiper('.swiper-container2', {
slidesPerView: 'auto',
navigation: {
nextEl: '.kui_service_03 .swiper-button-next',
prevEl: '.kui_service_03 .swiper-button-prev',
},
});*/
});
// //滚动元素动画
// AOS.init({
// offset: 200,
// duration: 600,
// easing: 'ease-in-sine',
// delay: 100,
// });