$(".yang_wow").addClass("wow animated slideInUp"); // 滑动动画插入 var mySwiper = new Swiper('#index_gonggao', { autoplay: { delay: 8000, stopOnLastSlide: false, disableOnInteraction: false, }, direction: 'vertical', }) // 首页banner var swiper = new Swiper("#flip_index_line1", { autoplay: { delay: 8000, stopOnLastSlide: false, disableOnInteraction: false, }, effect : 'fade', navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, loop: true, pagination: { el: '.swiper-pagination', clickable: true, renderBullet: function(index, className) { return '
'; }, }, on: { init: function() { swiperAnimateCache(this); //隐藏动画元素 swiperAnimate(this); //初始化完成开始动画 }, slideChangeTransitionEnd: function() { swiperAnimate(this); //每个slide切换结束时也运行当前slide动画 } } }); // 首页新闻 var swiper = new Swiper("#index_new_1", { autoplay: { delay: 8000, stopOnLastSlide: false, disableOnInteraction: false, }, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, loop: true, pagination: { el: '.swiper-pagination', clickable: true, renderBullet: function(index, className) { return '
'; }, }, on: { init: function() { swiperAnimateCache(this); //隐藏动画元素 swiperAnimate(this); //初始化完成开始动画 }, slideChangeTransitionEnd: function() { swiperAnimate(this); //每个slide切换结束时也运行当前slide动画 } } }); // 业务 var mySwiper = new Swiper('#index_yewu_swiper', { slidesPerView: 1, spaceBetween : 20, // navigation: { // nextEl: '.swiper-button-next', // prevEl: '.swiper-button-prev', // }, // pagination: { // el: '.swiper-pagination', // type: 'progressbar', // }, autoplay: { delay: 5000, stopOnLastSlide: false, disableOnInteraction: false, }, }) // 大事记 var mySwiper = new Swiper('#swiper-dashiji', { slidesPerView: 3, slidesPerGroup: 3, loop: true, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, pagination: { el: '.swiper-pagination', type: 'progressbar', }, autoplay: { delay: 5000, stopOnLastSlide: false, disableOnInteraction: false, }, }) // 公司简介 var mySwiper = new Swiper('#swiper-gsjj-index', { slidesPerView: 1, centeredSlides: true, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, pagination: { el: '.swiper-pagination', type: 'progressbar', }, autoplay: { delay: 3000, stopOnLastSlide: false, disableOnInteraction: false, }, }) // 荣誉 var mySwiper = new Swiper('#swiper-ry', { slidesPerView: 4, slidesPerGroup: 4, loop: true, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, pagination: { el: '.swiper-pagination', type: 'progressbar', }, autoplay: { delay: 6000, stopOnLastSlide: false, disableOnInteraction: false, }, }) // 子公司1 var mySwiper = new Swiper('#swiper-zgs1', { slidesPerView: 4, loop: true, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, pagination: { el: '.swiper-pagination', type: 'progressbar', progressbarOpposite: true, }, autoplay: { delay: 6000, stopOnLastSlide: false, disableOnInteraction: false, }, }) // 子公司2 var mySwiper = new Swiper('#swiper-zgs2', { slidesPerView: 3, loop: true, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, pagination: { el: '.swiper-pagination', type: 'progressbar', progressbarOpposite: true, }, autoplay: { delay: 6000, stopOnLastSlide: false, disableOnInteraction: false, }, }) // 子公司3 var mySwiper = new Swiper('#swiper-zgs3', { slidesPerView: 3, loop: true, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, pagination: { el: '.swiper-pagination', type: 'progressbar', progressbarOpposite: true, }, autoplay: { delay: 6000, stopOnLastSlide: false, disableOnInteraction: false, }, }) var mySwiper = new Swiper('#swiper-pub-art', { slidesPerView: 1, loop: true, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, pagination: { el: '.swiper-pagination', type: 'progressbar', }, autoplay: { delay: 3000, stopOnLastSlide: false, disableOnInteraction: false, }, }) // 文化作品 var mySwiper = new Swiper('#swiper-whzp', { slidesPerView: 3, slidesPerGroup: 3, loop: true, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, pagination: { el: '.swiper-pagination', type: 'progressbar', }, autoplay: { delay: 3000, stopOnLastSlide: false, disableOnInteraction: false, }, }) // 先进人物 var mySwiper = new Swiper('#swiper-xjrw', { slidesPerView: 1, loop: true, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, pagination: { el: '.swiper-pagination', type: 'progressbar', }, // autoplay: { // delay: 3000, // stopOnLastSlide: false, // disableOnInteraction: false, // }, }) // 陈列馆 var mySwiper = new Swiper('#swiper-clg', { slidesPerView: 1, loop: true, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, pagination: { el: '.swiper-pagination', type: 'progressbar', }, autoplay: { delay: 3000, stopOnLastSlide: false, disableOnInteraction: false, }, }) //首页第2屏新闻 $(function() { $('#flip_news1').flip({ "autoplay": true, "interval": 5, "page": true, "prev": "#flip-prev1", "next": "#flip-next1", }); }); $(function() { $('#index_new_card').tab({ 'toggle': '#index_new_card>div>ul>li', 'target': '#index_new_card>.card-body', 'mouse': 'mouseover' }); }); // 发展历程 var mySwiper = new Swiper('#fazhanlicheng', { slidesPerView: 3, centeredSlides: true, autoplay: { delay: 3000, stopOnLastSlide: false, disableOnInteraction: false, }, }) // 集团风采 // 悬浮导航 // $(function() { // var nav = $(".pub_nav"); // var win = $(window); // var sc = $(document); // win.scroll(function() { // if (sc.scrollTop() >= 200) { // nav.addClass("pub_nav_fixd"); // $(".navTmphead").fadeIn(); // } else { // nav.removeClass("pub_nav_fixd"); // $(".navTmphead").fadeOut(); // } // }) // }) $(function() { var nav = $(".jiaocheng_box"); //得到导航对象 var win = $(window); //得到窗口对象 var sc = $(document); //得到document文档对象。 win.scroll(function() { if (sc.scrollTop() >= 200) { nav.addClass("jiaocheng_box_fixd"); $(".navTmphead").fadeIn(); } else { nav.removeClass("jiaocheng_box_fixd"); $(".navTmphead").fadeOut(); } }) }) // $(function() { // var nav = $(".page_jieshao_left_box"); //得到导航对象 // var win = $(window); //得到窗口对象 // var sc = $(document); //得到document文档对象。 // win.scroll(function() { // if(sc.scrollTop() >= 620) { // nav.addClass("page_jieshao_left_fixd"); // $(".navTmphead").fadeIn(); // } else { // nav.removeClass("page_jieshao_left_fixd"); // $(".navTmphead").fadeOut(); // } // }) // }) // $('.about1_body_more').click(function() { // $('.about1_body').toggleClass("about1_body_yes") // $('.about1_body_more').toggleClass("about1_body_no") // })