123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- (() => {
- if ($(".video-button").click(function () {
- $(".modalKede").css("display", "block"),
- document.getElementById("video_").play()
- }),
- $(".button_video").click(function () {
- $(".modalKede").css("display", "block"),
- document.getElementById("video_").play()
- }),
- $(".modalx_kede").click(function () {
- $(".modalKede").css("display", "none"),
- document.getElementById("video_").pause()
- }),
- xRoll($(".serve-list li"), function (e) {
- e.toggleClass("animation-slide-bottom50")
- }),
- xRoll($(".item-title"), function (e) {
- e.toggleClass("animation-slide-bottom50")
- }),
- xRoll($(".item-dec"), function (e) {
- e.toggleClass("animation-slide-bottom50")
- }),
- xRoll($(".mainnews"), function (e) {
- e.toggleClass("animation-slide-left")
- }),
- xRoll($(".newslist-right"), function (e) {
- e.toggleClass("animation-slide-right")
- }),
- xRoll($(".honor-box"), function (e) {
- e.toggleClass("animation-slide-bottom50")
- }),
- xRoll($("#swiper2"), function (e) {
- e.toggleClass("animation-slide-bottom50")
- }),
- xRoll($(".about .col-lg-8"), function (e) {
- e.toggleClass("animation-slide-left")
- }),
- xRoll($(".about .col-lg-4"), function (e) {
- e.toggleClass("animation-slide-right")
- }),
- xRoll($("#swiper22"), function (e) {
- e.toggleClass("animation-slide-bottom50")
- }),
- $(".serve-button").click(function (e) {
- e.preventDefault(), e.stopPropagation(),
- $("#nb_icon_wrap").click()
- }),
- /(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent))
- console.log("我是手机端");
- else {
- var e = 0,
- t = document.querySelector(".serve-list").querySelectorAll("li"),
- o = null;
- function a(e) {
- for (var o = 0; o < t.length; o++)t[o].classList.remove("active")
- }
- o = setInterval(function () {
- a(), t[e].classList.add("active"), ++e > 8 && (e = 0)
- }, 1500);
- !function () {
- for (var l = 0; l < t.length; l++)t[l].addEventListener("mouseleave", function (l) {
- clearInterval(o), o = setInterval(function () { a(), t[e].classList.add("active"), ++e > 8 && (e = 0) }, 1500)
- })
- }(),
- function () {
- for (var e = 0; e < t.length; e++)t[e].addEventListener("mouseenter", function (e) { clearInterval(o), a() }, !1)
- }()
- } (window.ActiveXObject || "ActiveXObject" in window) && alert("您好!你当前的浏览器版本过低!安全系数较低!页面无法显示完全,请切换至其他浏览器!!");
- var l = 1;
-
- setInterval(function () {
- l > 8 && (l = 1),
- function (e) {
- 1 == e ? (
- $(".about-dot").removeClass("active").find(".bubble").hide(),
- $(".about-dot.two").toggleClass("active").find(".bubble").fadeIn("fast"),
- $(".about-dot.three").toggleClass("active").find(".bubble").fadeIn("fast"),
- $(".about-dot.sixteen").toggleClass("active").find(".bubble").fadeIn("fast")
- ) : 2 == e ? (
- $(".about-dot").removeClass("active").find(".bubble").hide(),
- $(".about-dot.eighteen").toggleClass("active").find(".bubble").fadeIn("fast"),
- $(".about-dot.ten").toggleClass("active").find(".bubble").fadeIn("fast"),
- $(".about-dot.twenty").toggleClass("active").find(".bubble").fadeIn("fast")
- ) : 3 == e ? (
- $(".about-dot").removeClass("active").find(".bubble").hide(),
- $(".about-dot.fifteen").toggleClass("active").find(".bubble").fadeIn("fast"),
- $(".about-dot.seven").toggleClass("active").find(".bubble").fadeIn("fast"),
- $(".about-dot.twelve").toggleClass("active").find(".bubble").fadeIn("fast")
- ) : 4 == e ? (
- $(".about-dot").removeClass("active").find(".bubble").hide(),
- $(".about-dot.eleven").toggleClass("active").find(".bubble").fadeIn("fast"),
- $(".about-dot.one").toggleClass("active").find(".bubble").fadeIn("fast"),
- $(".about-dot.nineteen").toggleClass("active").find(".bubble").fadeIn("fast")
- ) : 5 == e ? (
- $(".about-dot").removeClass("active").find(".bubble").hide(),
- $(".about-dot.seventeen").toggleClass("active").find(".bubble").fadeIn("fast"),
- $(".about-dot.thirteen ").toggleClass("active").find(".bubble").fadeIn("fast"),
- $(".about-dot.six ").toggleClass("active").find(".bubble").fadeIn("fast")
- ) : 6 == e ? (
- $(".about-dot").removeClass("active").find(".bubble").hide(),
- $(".about-dot.fourteen").toggleClass("active").find(".bubble").fadeIn("fast"),
- $(".about-dot.nine").toggleClass("active").find(".bubble").fadeIn("fast"),
- $(".about-dot.five").toggleClass("active").find(".bubble").fadeIn("fast")
- ) : 7 == e ? (
- $(".about-dot").removeClass("active").find(".bubble").hide(),
- $(".about-dot.four").toggleClass("active").find(".bubble").fadeIn("fast"),
- $(".about-dot.eight").toggleClass("active").find(".bubble").fadeIn("fast"),
- $(".about-dot.twenty-one").toggleClass("active").find(".bubble").fadeIn("fast")
- ) : 8 == e && (
- $(".about-dot").removeClass("active").find(".bubble").hide(),
- $(".about-dot.twenty-two").toggleClass("active").find(".bubble").fadeIn("fast")
- )
- }(l), l++
- }, 2300)
- })();
|