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
if(typeof(Worker) == "undefined"){
$("body").addClass("ieBody");
}else{
animateImg();
if($(window).width() < 992){
$("body").wrapInner("");
$("video").remove();
}
function animateImg(){
var wow = new WOW({
mobiles: false,
live: true
});
wow.init();
AOS.init({
disable: 'mobiles',
easing: 'ease-out-back',
duration: 1000
});
}
}
/*$(window).resize(function(){
webHeader();
});*/
//导航
function webHeader(){
if($(window).width() < 1199){
$(".mMmenuLay dl").each(function(i) {
var _this = $(this);
if(_this.find("dd").size()>0){
_this.find(".mToggle").show();
}
});
$(".mToggle").click(function(e){
e.stopPropagation();
var _this2 = $(this);
if(_this2.parents("dl").hasClass("on")){
_this2.parents("dl").removeClass("on");
_this2.removeClass("mToggle2");
_this2.parents("dl").find(".mToggle_a").removeClass("mToggle2_a");
_this2.parents("dl").find(".mMenu_dd3").slideUp(300);
}else{
$(".mMmenuLay dl").removeClass("on");
$(".mToggle").removeClass("mToggle2");
_this2.addClass("mToggle2");
_this2.parents("dl").addClass("on");
$(".mToggle_a").removeClass("mToggle2_a");
$(".mMenu_dd3").slideUp(300);
}
});
$(".mToggle_a").click(function(event){
event.stopPropagation();
var _this3 = $(this);
_this3.toggleClass("mToggle2_a");
_this3.parents("dd").next(".mMenu_dd3").slideToggle(300);
});
$(".mOpenBtn").click(function(e){
$(".mMenuLayBg,.mMmenuLay,.mCloseBtn").addClass("on");
$("body").css("overflow","hidden");
});
$(".mCloseBtn,.mMenuLayBg").click(function(){
$(".mMenuLayBg,.mMmenuLay,.mCloseBtn").removeClass("on");
$("body").css("overflow","inherit");
});
}else{
$(".subNav_box dl").each(function(i) {
if($(this).find("dd").size()<1){
$(this).find(".nav_btn").hide();
}
});
$(".nav_btn").click(function(){
$(this).parents("dt").next("dd").slideToggle(300);
});
}
}
webHeader();
$(window).scroll(function(){
if($(document).scrollTop()>10){
$(".headerWpr").removeClass("headerWpr_w").addClass("headerBg_w");
}else{
$(".headerWpr").removeClass("headerBg_w").addClass("headerWpr_w");
}
});
//$(window).resize(function(){webHeader();});
jQuery(document).ready(function($) {
setTimeout(function(){$("body").addClass("bodyIn")},100);
//if($(".m2proBomBox").size()){autoH(".m2proBomBox");}
if($(".hmc2aBox p").size()){autoH(".hmc2aBox p");}
$(".footTag a").hover(function(){
$(this).addClass("on").siblings("a").removeClass("on");
$(".footChgs p").removeClass("on");
$(".footChgs p").eq($(".footTag a").index(this)).addClass("on");
});
$('input, textarea').placeholder();
$(".backTop").click(function(){$("body,html").animate({"scrollTop":0},500);});
$(window).scroll(function(){
if($(document).scrollTop()>10){
$(".backWpr").addClass("on");
}else{
$(".backWpr").removeClass("on");
}
});
//搜素
$(".topSerBtn").click(function(){
$(".serBg,.serLayer").fadeIn(500);
$(".serClose").removeClass("on");
});
$(".serClose").click(function(){
$(".serBg,.serLayer").fadeOut(500);
$(".serClose").addClass("on");
});
//banner
$('.hmVdoBox video').trigger('play');
$('.hmFocus').slick({
autoplay: true,
arrows: false,
dots:false,
infinite: true,
speed: 500,
autoplaySpeed: 16000,
pauseOnHover: false,
fade: true,
});
$('.hmFocus_dot span').click(function(){
$('.hmFocus').slick('slickGoTo',$(this).index());
$(this).addClass("on").siblings().removeClass("on")
});
$('.hmFocus').init(function(slick){
$('.hmFocus_item.slick-current').addClass('on').siblings().removeClass('on');
$('.hmFocus_dot span').eq($('.hmFocus').slick('slickCurrentSlide')).addClass('on').siblings().removeClass('on')
})
$('.hmFocus').on('afterChange',function(slick,currentSlide){
$('.hmFocus_item.slick-current').addClass('on').siblings().removeClass('on');
$('.hmFocus_dot span').eq($('.hmFocus').slick('slickCurrentSlide')).addClass('on').siblings().removeClass('on')
})
if($(".m2abt_c2top").length){
$('.m2abt_c2top').slick({
autoplay: true,
arrows: false,
dots:false,
infinite: true,
speed: 500,
autoplaySpeed: 5000,
pauseOnHover: false,
asNavFor: '.m2abt_c2bom',
});
$('.m2abt_c2bom').slick({
autoplay: true,
arrows: true,
dots:false,
infinite: true,
speed: 500,
autoplaySpeed: 5000,
pauseOnHover: false,
slidesToShow: 7,
slidesToScroll: 1,
asNavFor: '.m2abt_c2top',
focusOnSelect: true,
centerMode: true,
centerPadding: '0px',
responsive: [
{
breakpoint: 767,
settings: {
slidesToShow: 3,
}
}
]
});
}
if($(".m2abt_c5slick").length){
$('.m2abt_c5slick').slick({
autoplay: true,
arrows: true,
dots:false,
infinite: true,
speed: 500,
autoplaySpeed: 5000,
pauseOnHover: false,
responsive: [
{
breakpoint: 1199,
settings: {
arrows: false,
dots: true
}
}
]
});
}
if($(".m2csc3Swiper").length){
$('.m2csc3Swiper').slick({
autoplay: true,
arrows: true,
dots:false,
infinite: true,
speed: 500,
autoplaySpeed: 5000,
pauseOnHover: false,
responsive: [
{
breakpoint: 767,
settings: {
arrows: false,
dots: true
}
}
]
});
}
if($(".hmc4Lx").length){
$('.hmc4Lx').slick({
autoplay: true,
arrows: false,
dots:true,
infinite: true,
speed: 500,
autoplaySpeed: 5000,
pauseOnHover: false,
});
}
if($(".m2proc3Swiper").length){
$('.m2proc3Swiper').slick({
autoplay: true,
arrows: true,
dots:false,
infinite: true,
speed: 500,
autoplaySpeed: 5000,
pauseOnHover: false,
slidesToShow: 3,
slidesToScroll: 1,
responsive: [
{
breakpoint: 1199,
settings: {
arrows: false,
dots: true
}
},
{
breakpoint: 993,
settings: {
slidesToShow: 2,
arrows: false,
dots: true
}
},
{
breakpoint: 767,
settings: {
slidesToShow: 1,
arrows: false,
dots: true
}
}
]
});
}
if($(".m2banVideo").length){
$('.m2banVideo video').trigger('play');
}
});
//百度分享
if($(".bdsharebuttonbox").size()){
window._bd_share_config = { "common": { "bdSign": "off", "bdSize": "24" }, "share": { "bdCustomStyle": "../css/style.css" } }
with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion=' + ~(-new Date() / 36e5)];
}
function picTxtHeight() {
$(".picTxtBox").each(function(i){if($(this).find(".txtBox").height()>$(this).find(".picBox").height()){$(this).height($(this).find(".txtBox").height());}else{$(this).height($(this).find(".picBox").height());}$(this).find(".picBox-wp,.txtBox-wp").css("min-height",$(this).height())})}
if($(document).width()>993){
picTxtHeight(); setTimeout(function(){picTxtHeight();},300);
}
$(window).resize(function(){
if($(document).width()>993){
picTxtHeight();
}
})
function autoH(className){
var maxH = 0;
$(className).each(function() {
var cutH = $(this).innerHeight();
if(cutH>maxH){
maxH = cutH;
}
});
$(className).innerHeight(maxH);
}
function autoW(className){
var maxW = 0;
$(className).each(function() {
var cutW = $(this).innerWidth();
if(cutW>maxW){
maxW = cutW;
}
});
$(className).innerWidth(maxW);
}
function addPreZero(num){
if(num<10){
var t = (num+'').length,
s = '';
for(var i=0; i<2-t; i++){
s += '0';
}
return s+num;
}else{
return num;
}
}
//屏蔽页面错误
jQuery(window).error(function(){
return true;
});
jQuery("img").error(function(){
$(this).hide();
});