| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /www/data/wwwroot/2025_09_29_01/skin/js/ |
Upload File : |
$(function () {
$('.bannerclose').click(function(){
$(this).parent('.bannerad').hide(100)
})
$(window).scroll(function(){
var iH=$('#myCarousel').height();
var iH1=$('#molbanner').height();
if($(window).scrollTop()>iH){
$('#header').css('display','none')
$('#header1').css('display','block')
} else{
$('#header1').css('display','none')
$('#header').css('display','block')
}
if($(window).scrollTop()>iH1){
$('#molheader').css('display','none')
$('#molheader1').css('display','block')
} else{
$('#molheader1').css('display','none')
$('#molheader').css('display','block')
}
})
//手机banner滚动
if($('.swiper-banner').length>0){
var mySwiper1 = new Swiper('.swiper-banner',{
loop:true,
autoplay:1000,
});
}
$('.carousel').carousel({
interval: 5000
});
$(".classfiy").click(function(){
if($(".navs").is(":hidden")){
$(".navs").slideDown();
$(this).find('em').removeClass('active').addClass('inactive')
return false;
}else{
$(".navs").slideUp();
$(this).find('em').removeClass('inactive').addClass('active')
return false;
}
});
(function(){
$('.mtree>li>a').click(function(){
$(this).parent('li').children('ul').toggle(100);
$(this).parent('li').siblings('li').children('ul').slideUp();
$(this).toggleClass('act_firstli');
$(this).parent('li').siblings('li').children('a').removeClass('act_firstli')
})
$('.mtree>li>ul>li>a').click(function(){
$(this).parent('li').children('ul').toggle(100);
$(this).parent('li').siblings('li').children('ul').slideUp();
$(this).toggleClass('act_secondli');
$(this).parent('li').siblings('li').children('a').removeClass('act_secondli')
})
})();
(function(){
$('.nynav>ul>li>a').click(function(){
$(this).parent('li').children('ul').toggle(100);
$(this).parent('li').siblings('li').find('ul').slideUp();
$(this).parent('li').addClass('current');
$(this).parent('li').siblings('li').removeClass('current')
})
$('.nynav>ul>li>ul>li>a').click(function(){
$(this).parent('li').find('ul').toggle(100);
$(this).parent('li').siblings('li').find('ul').slideUp();
$(this).parent('li').addClass('act_secondli');
$(this).parent('li').siblings('li').removeClass('act_secondli')
})
})()
if($('#leftTabBox').length>0){
TouchSlide({ slideCell:"#leftTabBox",effect:"leftLoop" });
}
var swiper6
function windowWidth(){
$('.gallery-thumbs .swiper-wrapper').css('transform','translate3d(0, 0px, 0px)')
var iBtnh=$('.gallery-top').height()
$('.btnpn').height(iBtnh)
if($(window).width()>974){
// $('.section1 .tabBox .hd ul').width('90%')
// $('.section1 .tabBox .hd ul li').width('auto')
if($('.section3-container').length>0){
swiper6 = new Swiper('.section3-container', {
slidesPerView: 4,
slidesPerColumn: 1,
spaceBetween: 28,
loop:true,
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
pagination: {
el: '.swiper-pagination',
type: 'fraction',
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
});
}
var ish=99999+'px'
$('.section3-container .swiper-wrapper').css('width','99999px')
} else{
// var iW1=$(window).width()*(0.92)/4
// $('.section1 .tabBox .hd li').width(iW1)
// $('.section1 .tabBox .hd ul').width(iW1*$('.section1 .tabBox .hd li').length)
if($('.section3-container').length>0){
swiper6 = new Swiper('.section3-container', {
slidesPerView: 2,
slidesPerColumn: 2,
spaceBetween: 20,
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
pagination: {
el: '.swiper-pagination',
type: 'fraction',
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
});
}
}
}
windowWidth()
$(window).resize(function () {
windowWidth();
});
$(".kz").each(function(){
var maxwidth=parseInt($(this).attr("data-limit"));
if($(this).text().length>maxwidth){
$(this).text($(this).text().substring(0,maxwidth));
$(this).html($(this).html()+'...');
}
});
$('.libox').each(function(index){
if($(this).find('a').length>8){
$(this).width('200%')
$(this).css('left','-50%')
$(this).find('a').width('50%')
$(this).find('a').css('borderRight','1px solid #2f3b42')
}
})
// if($('.libox a').length>8){
// $(this).parent('.libox').width('200%')
// console.log($('.libox a').length)
// }
$('.block').smoove({offset:'50%'});
$("#header .nav_box .yiji, #header1 .nav_box .yiji, #header2 .nav_box .yiji").hover(function (index) {
$(this).find(".libox").stop(true, false).slideDown();
},function () {
$(this).find(".libox").slideUp();
});
//隐藏导航跟wrap的切换
$(".mol_navbutton,.navbtn,.navbtn1").click(function(){
$(".class").removeClass("page-prev").addClass("page-in");
$(".wrap").removeClass("page-active").addClass("page-next page-in")
$(".opacity2").show()
// pageSlideOver();
})
function xs(oDiv){
oDiv.on('click touchstart',function(){
$(".class").addClass("page-prev page-out")
$(".wrap").removeClass("page-next").addClass(" page-out")
$(".opacity2").hide()
$(".newsclass").removeClass("show")
// pageSlideOver();
return false;
});
}
xs($(".opacity2"))
xs($(".close"))
// 二级导航下拉
$(".menu_head>a").click(function(){
$(this).siblings('ul.menu_body').slideToggle()
})
// 三级下拉
$(".menu_body li a.er").click(function(){
$(this).siblings('ul.thr_body').slideToggle()
})
$('.returnback').click(function(){
$(this).parent('ul').hide()
})
// 内页导航
$(window).scroll(function () {
var sT = $(window).scrollTop();
if (sT >300) {
$(".head_ny").addClass("head_on");
} else {
$(".head_ny").removeClass("head_on");
}
});
// 鼠标滚动渐入
if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))){
new WOW().init();
};
});
!function(a, b, c) {
a.fn.smoove = function(b) {
return a.fn.smoove.init(this, a.extend({}, a.fn.smoove.defaults, b)), this
}, a.fn.smoove.items = [], a.fn.smoove.loaded = !1, a.fn.smoove.defaults = {
offset: 150,
opacity: 0,
transition: "all 1s ease, opacity 1.5s ease",
transformStyle: "preserve-3d",
transformOrigin: !1,
perspective: 1e3
}, a.fn.smoove.init = function(d, e) {
function f(a, b, c) {
function d(a) {
return a.charAt(0).toUpperCase() + a.slice(1)
}
for (var e = ["webkit", "moz", "ms", "o"], f = {}, g = 0; g < e.length; g++) c && (b = b.replace(c, "-" + e[g] + "-" + c)), f[d(e[g]) + d(a)] = b;
return f[a] = b, f
}
function g(c) {
for (var d = 0; d < a.fn.smoove.items.length; d++) {
var e = a.fn.smoove.items[d],
g = e.params,
h = a(b).height(),
i = !c || "down" === c && "1" === e.css("opacity") ? 0 : g.offset,
j = a(b).scrollTop() + h - e.data("top");
if ("string" == typeof i && i.indexOf("%") && (i = parseInt(i) / 750 * h), i > j) {
g.opacity !== !1 && e.css({
opacity: g.opacity
});
for (var k = [], l = ["move", "move3D", "moveX", "moveY", "moveZ", "rotate", "rotate3d", "rotateX", "rotateY", "rotateZ", "scale", "scale3d", "scaleX", "scaleY", "skew", "skewX", "skewY"], m = 0; m < l.length; m++)"undefined" != typeof g[l[m]] && (k[l[m]] = g[l[m]]);
var n = "";
for (var o in k) n += o.replace("move", "translate") + "(" + k[o] + ") ";
n && (e.css(f("transform", n)), e.parent().css(f("perspective", g.perspective)), g.transformOrigin && e.css(f("transformOrigin", g.transformOrigin)))
} else e.css("opacity", 1).css(f("transform", ""))
}
}
if (d.each(function() {
var b = a(this),
c = b.params = a.extend({}, e, b.data());
b.params.opacity = b.params.opacity / 100, b.data("top", b.offset().top), c.transition = f("transition", c.transition, "transform"), b.css(c.transition), a.fn.smoove.items.push(b)
}), !a.fn.smoove.loaded) {
a.fn.smoove.loaded = !0;
var h, i = !1,
j = 0,
k = a(b).height(),
l = a(b).width(),
m = a(c).height();
a("body").width() === a(b).width() && a("body").css("overflow-x", "hidden"), a(b).resize(function() {
clearTimeout(h), h = setTimeout(function() {
var d = a(b).height(),
e = a(b).width(),
h = k > d ? h = "up" : "down",
i = a.fn.smoove.items;
if (k = d, l !== e) {
for (var j = 0; j < i.length; j++) i[j].css(f("transform", "")).css(f("transition", ""));
var n = setInterval(function() {
var d = a(c).height();
if (d === m) {
b.clearInterval(n);
for (var e = 0; e < i.length; e++) i[e].data("top", i[e].offset().top), i[e].css(i[e].params.transition);
g(h)
}
m = d
}, 500)
} else g(h);
l = e
}, 500)
}), a(b).on("load", function() {
g(), a(b).scroll(function() {
i = !0
}), setInterval(function() {
if (i) {
i = !1;
var c = a(b).scrollTop(),
d = j > c ? d = "up" : "down";
j = c, g(d)
}
}, 250)
})
}
}
}(jQuery, window, document);