window.onload = function(){ $('.npro_nav_nr_t').each(function(){ var thi = $(this) if (thi.find('svg').length != 0) { console.log(1) thi.addClass('hov') } }) } $(window).scroll(function() { if ($(window).scrollTop() > $(window).height()*0.8) { $(".b_adv").fadeIn(250) } }); $(document).on('click','.g_del',function () { $('.b_adv').addClass('on') }) $(".curtain5 .editor img").removeAttr("style"); $(function() { $(".nav_login").click(function() { $(".curtain2").addClass("on"); $(".curtain_box").addClass("on") }); $(".mask2,.close_tc").click(function() { $(".curtain2").removeClass("on"); $(".curtain_box").removeClass("on") }); $(".dlqr .a2,.mask3").click(function() { $(".curtain11").hide(); $("body").css("overflow-y", "auto") }); $(".dlqr .a1").click(function() { $(".curtain11").hide(); $("body").css("overflow-y", "auto"); $(".curtain2").addClass("on"); $(".curtain_box").addClass("on") }) }); $(".flo>div:last-child").click(function() { $("body,html").animate({ scrollTop: 0 }, 300); $("nav").removeClass("nav1_none") }); // $(window).scroll(function() { // if ($(window).scrollTop() > $(window).height() / 2) { // $(".flo").stop().fadeIn(250) // } else { // $(".flo").stop().fadeOut(250) // } // }); $(".flo_cont").hover(function() { $(this).find('.flo_cont_l').stop().fadeIn(250) }, function() { $(this).find('.flo_cont_l').stop().fadeOut(250) }); $(".nav_loginHas_tIcon").hover(function() { $(this).find(".nav_loginHas_tIcon_box").stop().slideDown(250) }, function() { $(this).find(".nav_loginHas_tIcon_box").stop().slideUp(250) }); $(window).scroll(function() { if ($(window).scrollTop() > 0) { $("nav").addClass("nav_on"); $("nav").addClass("nav_on2") } else { $("nav").removeClass("nav_on"); $("nav").removeClass("nav_on2") } }); if ($(window).width() < 768) { $(".h_video").remove() } var log = $(".login"); var logdl = $(".login_dl"); var logzc = $(".login_zc"); var logzh1 = $(".login_zh1"); var logzh2 = $(".login_zh2"); $(".log_zc").click(function() { logzc.show().siblings().hide() }); $(".log_zh1").click(function() { logzh1.show().siblings().hide() }); $(".log_zh2").click(function() { logzh2.show().siblings().hide() }); $(".isWechatOn").click(function() { $(".login_ewm_box").addClass("on") }); $(".login_ewm_fh").click(function() { $(".login_ewm_box").removeClass("on") }); $(".log_dl").click(function() { logdl.show().siblings().hide() }); $(".nenav_l_box").hover(function() { $(this).addClass("on").siblings().removeClass("on"); $(this).parent().parent().find(".nenav_box .nenav_fl").hide(); $(this).parent().parent().find(".nenav_box .nenav_fl").eq($(this).index()).show() }); $(".nenav_box_nav p").hover(function() { $(this).addClass("on").siblings().removeClass("on"); $(this).parent().parent().find(".nenav_con_box").hide(); $(this).parent().parent().find(".nenav_con_box").eq($(this).index()).show() }); $(".pop_a:last-child").click(function() { $("body,html").animate({ scrollTop: 0 }, 300); $("nav").removeClass("nav1_none") }); $(window).scroll(function() { if ($(window).scrollTop() > $(window).height() / 2) { $(".pop").stop().fadeIn(250) } else { $(".pop").stop().fadeOut(250) } }); $(".pop_a").hover(function() { $(this).addClass("on") }, function() { $(this).removeClass("on") }); $(".nav_rr_inp form").hover(function() { $(this).addClass("on") }, function() { $(this).removeClass("on") }); function xxkh(x_id, dj, cla) { $(x_id).hide(); $(x_id).eq(0).show(); $(dj).hover(function() { $(this).addClass(cla).siblings().removeClass(cla); $(x_id).hide(); $(x_id).eq($(this).index(dj)).show() }) } function xxkc(x_id, dj, cla) { $(x_id).hide(); $(x_id).eq(0).show(); $(dj).click(function() { $(this).addClass(cla).siblings().removeClass(cla); $(x_id).hide(); $(x_id).eq($(this).index(dj)).show() }) } function HiScrollNav(sClass, obj1, obj2, obj3, obj4) { var obj3Height = 0; var obj4Height = 0; if (obj3.length != 0) { obj3Height = obj3.outerHeight() } if (obj4.length != 0) { obj4Height = obj4.outerHeight() } obj1.each(function() { $(this).click(function() { $("html,body").animate({ scrollTop: obj2.eq($(this).index()).offset().top - obj3Height - obj4Height + 1 }, 500) }) }); $(window).scroll(function() { hiDefault() }); function hiDefault() { obj2.each(function() { if ($(window).scrollTop() >= $(this).offset().top - obj3Height - obj4Height) { obj1.eq($(this).index()).addClass(sClass).siblings().removeClass(sClass) } }) } hiDefault() } function HiVideoPop(obj) { var oVideoBox = $("#hi-video-pop"); var oClose = oVideoBox.find(".hi-close"); var oVideo = oVideoBox.find("video"); var oattr = obj.attr("data-video-src"); obj.each(function() { if ($(this).attr("data-video-src")) { $(this).on("click", function() { oVideoBox.stop().fadeIn(); oVideo.attr("src", $(this).attr("data-video-src")); oVideo.trigger("play") }) } }); oClose.on("click", function() { oVideoBox.stop().fadeOut(); oVideo.trigger("pause") }) } HiVideoPop($(".h_b_txt_video")); function HiImgPop(obj) { var oImgBox = $("#hi-img-pop"); var oClose = oImgBox.find(".hi-close"); var oImg = oImgBox.find("img"); var op = oImgBox.find("p"); obj.each(function() { var obj_p = $(this).find("p").text(); $(this).click(function() { oImgBox.stop().fadeIn(); oImg.attr("src", $(this).attr("data-img-src")); op.html(obj_p) }) }); oClose.click(function() { oImgBox.stop().fadeOut() }) } HiImgPop($(".about_ry_con")); $(".nav>ul>li").hover(function() { $(this).find(".pro_nav2").stop().show() }, function() { $(this).find(".pro_nav2").stop().hide() }); $("nav").hover(function() { $(this).addClass("nav_on") }, function() { $(this).removeClass("nav_on") }); $(".search_box>img").click(function() { $(".nav_r").addClass("ssxs") }); $(".search .sc").click(function() { $(".nav_r").removeClass("ssxs") }); $(".language").hover(function() { $(".language_a").stop().slideDown() }, function() { $(".language_a").stop().slideUp() }); $("#c-header .c-nav2 li").click(function() { $(this).toggleClass("on").siblings().removeClass("on"); $(this).find(".c-title-con").slideToggle(); $(this).siblings().find(".c-title-con").slideUp() }); function cNav() { var oMask = $("#c-mask"); var oBody = $("body"); var oHead = $("#c-header"); var oNav = $("#c-header .c-nav"); var oBtn = $("#c-header .c-switch"); var oL = $("#c-header .c-nav>li"); var oTitle = $("#c-header .c-nav2 li .c-title-box"); var num = 0; var i = $(window).scrollTop(); var oP = $("#c-placeholder"); var b = true; var t = null; oBtn.click(function() { if (b) { b = false; oBody.addClass("c-open"); oMask.stop().fadeIn() } else { b = true; oBody.removeClass("c-open"); oMask.stop().fadeOut() } }); oHead.hover(function() {}, function() { b = true; oBody.removeClass("c-open"); oMask.stop().fadeOut() }); $(window).resize(function() { if ($("#c-header .c-nav").css("display") == "block") { oBody.removeClass("c-open") } }); function fn1() { if ($(window).scrollTop() - i > 0 && $(window).scrollTop() > oHead.outerHeight()) { i = $(window).scrollTop(); oHead.addClass("c-head-move"); oHead.addClass("c-style2") } else { if ($(window).scrollTop() - i < 0) { i = $(window).scrollTop(); oHead.removeClass("c-head-move"); if ($(window).scrollTop() <= oHead.outerHeight() && oP.length == 0 && !oBody.hasClass("c-open")) { oHead.removeClass("c-style2") } else { if ($(window).scrollTop() > oHead.outerHeight()) { oHead.addClass("c-style2") } else { if ($(window).scrollTop() <= oHead.outerHeight() && oP.length != 0) { oHead.addClass("c-style2") } } } } } } fn1(); $(window).scroll(function() { fn1() }) } cNav(); $(document).on("mousewheel DOMMouseScroll", function(e) { var delta = (e.originalEvent.wheelDelta && (e.originalEvent.wheelDelta > 0 ? 1 : -1)) || (e.originalEvent .detail && (e.originalEvent.detail > 0 ? -1 : 1)); if (delta > 0) { $("nav").removeClass("nav1_none"); $(".about_tab,.act_tab").addClass("nav2_none"); $(".prod_nav").removeClass("prod_nav2"); $(".suc_nav").addClass("suc_nav_on") } else { if (delta < 0) { $("nav").addClass("nav1_none"); $(".about_tab,.act_tab").removeClass("nav2_none"); $(".prod_nav").addClass("prod_nav2"); $(".suc_nav").removeClass("suc_nav_on") } } }); // function OSnow() { // var agent = navigator.userAgent.toLowerCase(); // var isMac = /macintosh|mac os x/i.test(navigator.userAgent); // if (agent.indexOf("win64") >= 0 || agent.indexOf("wow64") >= 0) { // $("body").css("font-family", "Calibri,CN-Regular,微软雅黑") // } // if (isMac) { // $("body").css("font-family", "PingFangSC-Regular, sans-serif") // } // } // OSnow(); function hiUpgrade() { window.AESKey = ""; function isSupportPlaceholder() { var input = document.createElement("input"); return "placeholder" in input } function IEVersion() { var userAgent = navigator.userAgent; var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; if (isIE) { var reIE = new RegExp("MSIE (\\d+\\.\\d+);"); reIE.test(userAgent); var fIEVersion = parseFloat(RegExp["$1"]); if (fIEVersion < 10 || !isSupportPlaceholder()) { return true } } else { return false } } var tpl = '

无法正常浏览本网站!

继续浏览

1、您的浏览器版本过低,请升级您的浏览器。

2、如果您的浏览器是最新版本,请切换到极速模式访问。

3、您使用的是IE10以下的浏览器,建议您使用主流浏览器访问。

主流浏览器下载

'; if (IEVersion()) { document.write(tpl) } } hiUpgrade(); (function() { var a, b, c = function(a, b) { return function() { return a.apply(b, arguments) } }; a = function() { function a() {} return a.prototype.extend = function(a, b) { var c, d; for (c in a) { d = a[c], null != d && (b[c] = d) } return b }, a.prototype.isMobile = function(a) { return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a) }, a }(), b = this.WeakMap || (b = function() { function a() { this.keys = [], this.values = [] } return a.prototype.get = function(a) { var b, c, d, e, f; for (f = this.keys, b = d = 0, e = f.length; e > d; b = ++d) { if (c = f[b], c === a) { return this.values[b] } } }, a.prototype.set = function(a, b) { var c, d, e, f, g; for (g = this.keys, c = e = 0, f = g.length; f > e; c = ++e) { if (d = g[c], d === a) { return void(this.values[c] = b) } } return this.keys.push(a), this.values.push(b) }, a }()), this.WOW = function() { function d(a) { null == a && (a = {}), this.scrollCallback = c(this.scrollCallback, this), this.scrollHandler = c( this.scrollHandler, this), this.start = c(this.start, this), this.scrolled = !0, this .config = this.util().extend(a, this.defaults), this.animationNameCache = new b } return d.prototype.defaults = { boxClass: "wow", animateClass: "animated", offset: 0, mobile: !0 }, d.prototype.init = function() { var a; return this.element = window.document.documentElement, "interactive" === (a = document .readyState) || "complete" === a ? this.start() : document.addEventListener( "DOMContentLoaded", this.start) }, d.prototype.start = function() { var a, b, c, d; if (this.boxes = this.element.getElementsByClassName(this.config.boxClass), this.boxes.length) { if (this.disabled()) { return this.resetStyle() } for (d = this.boxes, b = 0, c = d.length; c > b; b++) { a = d[b], this.applyStyle(a, !0) } return window.addEventListener("scroll", this.scrollHandler, !1), window.addEventListener( "resize", this.scrollHandler, !1), this.interval = setInterval(this.scrollCallback, 50) } }, d.prototype.stop = function() { return window.removeEventListener("scroll", this.scrollHandler, !1), window.removeEventListener( "resize", this.scrollHandler, !1), null != this.interval ? clearInterval(this .interval) : void 0 }, d.prototype.show = function(a) { return this.applyStyle(a), a.className = "" + a.className + " " + this.config.animateClass }, d.prototype.applyStyle = function(a, b) { var c, d, e; return d = a.getAttribute("data-wow-duration"), c = a.getAttribute("data-wow-delay"), e = a .getAttribute("data-wow-iteration"), this.animate(function(f) { return function() { return f.customStyle(a, b, d, c, e) } }(this)) }, d.prototype.animate = function() { return "requestAnimationFrame" in window ? function(a) { return window.requestAnimationFrame(a) } : function(a) { return a() } }(), d.prototype.resetStyle = function() { var a, b, c, d, e; for (d = this.boxes, e = [], b = 0, c = d.length; c > b; b++) { a = d[b], e.push(a.setAttribute("style", "visibility: visible;")) } return e }, d.prototype.customStyle = function(a, b, c, d, e) { return b && this.cacheAnimationName(a), a.style.visibility = b ? "hidden" : "visible", c && this .vendorSet(a.style, { animationDuration: c }), d && this.vendorSet(a.style, { animationDelay: d }), e && this.vendorSet(a.style, { animationIterationCount: e }), this.vendorSet(a.style, { animationName: b ? "none" : this.cachedAnimationName(a) }), a }, d.prototype.vendors = ["moz", "webkit"], d.prototype.vendorSet = function(a, b) { var c, d, e, f; f = []; for (c in b) { d = b[c], a["" + c] = d, f.push(function() { var b, f, g, h; for (g = this.vendors, h = [], b = 0, f = g.length; f > b; b++) { e = g[b], h.push(a["" + e + c.charAt(0).toUpperCase() + c.substr(1)] = d) } return h }.call(this)) } return f }, d.prototype.vendorCSS = function(a, b) { var c, d, e, f, g, h; for (d = window.getComputedStyle(a), c = d.getPropertyCSSValue(b), h = this.vendors, f = 0, g = h.length; g > f; f++) { e = h[f], c = c || d.getPropertyCSSValue("-" + e + "-" + b) } return c }, d.prototype.animationName = function(a) { var b; try { b = this.vendorCSS(a, "animation-name").cssText } catch (c) { b = window.getComputedStyle(a).getPropertyValue("animation-name") } return "none" === b ? "" : b }, d.prototype.cacheAnimationName = function(a) { return this.animationNameCache.set(a, this.animationName(a)) }, d.prototype.cachedAnimationName = function(a) { return this.animationNameCache.get(a) }, d.prototype.scrollHandler = function() { return this.scrolled = !0 }, d.prototype.scrollCallback = function() { var a; return this.scrolled && (this.scrolled = !1, this.boxes = function() { var b, c, d, e; for (d = this.boxes, e = [], b = 0, c = d.length; c > b; b++) { a = d[b], a && (this.isVisible(a) ? this.show(a) : e.push(a)) } return e }.call(this), !this.boxes.length) ? this.stop() : void 0 }, d.prototype.offsetTop = function(a) { for (var b; void 0 === a.offsetTop;) { a = a.parentNode } for (b = a.offsetTop; a = a.offsetParent;) { b += a.offsetTop } return b }, d.prototype.isVisible = function(a) { var b, c, d, e, f; return c = a.getAttribute("data-wow-offset") || this.config.offset, f = window.pageYOffset, e = f + this.element.clientHeight - c, d = this.offsetTop(a), b = d + a.clientHeight, e >= d && b >= f }, d.prototype.util = function() { return this._util || (this._util = new a) }, d.prototype.disabled = function() { return !this.config.mobile && this.util().isMobile(navigator.userAgent) }, d }() }).call(this); var wow = new WOW({ boxClass: "wow", animateClass: "animated", offset: 0, mobile: false, live: true }); wow.init();