var IqwXiongJs = { Width: $(window).width(), Height: $(window).height(), //banner切换效果 SwiperFadeIn: 'fade', EventKey: 'click', indexBanner: null, scrollTop: null, WowJsAnimation: null, HeaderTrue: false, //banner自动切换 SwiperAuto: true, AllImgLoad: [], DataTitle: [], DataAlt: [], //动画时间和切换时间 AnimateTime: 500, SwitchTime: 3000, //banner循环播放 SwiperLoop: 'loop', //移动1.5,电脑3 SwiperN: 3, //导航判断 IfNav: false, //头部高度 headerH: 110, //banner文字效果 bannerAnimation: 'fadeInUp2', //数字滚动判断 NumberIf: true, //锚点距离 maoNumber: 100, //有锚点才吸顶 maoTop: false, //swiper居中 centerSwiper: false, //-------------以上是默认 indexImgSwiper: null, aboutSwiper: null, //移动端控制客户Logo个数 LogoLength: 21, IpoSwiper: null, PlanSwiper: null, NewsSwiper: null, xxfun:function(){ if($('#xx_top').get(0)){ (function(){ var $to=$('#xx_top'); var $iconweixin=$('.header_black_friend .iconweixin').eq(0),$shuzhong_lnk=$('.shuzhong_lnk'); $to.click(function(e){ var tar=$(e.target); if(tar.hasClass('inDiv') || tar.hasClass('xx_top')){ $to.fadeOut(); } }); $iconweixin.click(function(){ $to.fadeIn(); }); $shuzhong_lnk.click(function(){ $to.fadeIn(); }); })(); } if($('#xx_top1').get(0)){ var $to1=$('#xx_top1'),$btn1=$('#xx_open_zhang a'); $to1.click(function(e){ var tar=$(e.target); if(tar.hasClass('inDiv') || tar.hasClass('xx_top')){ $to1.fadeOut(); } }); $btn1.click(function(){ $to1.fadeIn(); }); } if($('#xx_top2').get(0)){ var $to2=$('#xx_top2'),$btn2=$('#xx_open_fu a'); $to2.click(function(e){ var tar=$(e.target); if(tar.hasClass('inDiv') || tar.hasClass('xx_top')){ $to2.fadeOut(); } }); $btn2.click(function(){ $to2.fadeIn(); }); } }, //EventKey: "ontouchstart" in document.documentElement ? "touchstart" : "click", Init: function () { var that = this; that.AddEventList(); that.HtmlInit(); }, //banner BannerSwiper: function () { var that = this,$window=$(window); var direction = 'horizontal'; var $banner_box=$('.banner-box'); if(!$banner_box.get(0)){ return false; } var xgl_swiper1_autoplay=false,xgl_swiper1_loop=false,xgl_swiper1,xgl_swiper1_slide,xgl_swiper1_slide_len=0,xgl_swiper1_hei=0,xgl_swiper1_arr; if($(".swiper-container-index-wap").length){ xgl_swiper1=$('.swiper-container-index-wap').eq(0); if(xgl_swiper1.get(0)){ xgl_swiper1_slide=xgl_swiper1.children('.swiper-wrapper').eq(0).children('.swiper-slide'); xgl_swiper1_slide_len=xgl_swiper1_slide.length; if(xgl_swiper1_slide_len>0){ if(xgl_swiper1_slide_len==1){ xgl_swiper1_autoplay=false;xgl_swiper1_loop=false; }else if(xgl_swiper1_slide_len==2){ xgl_swiper1_autoplay=5200;xgl_swiper1_loop=false; }else{ xgl_swiper1_autoplay=5200;xgl_swiper1_loop=true; } new Swiper(".swiper-container-index-wap",{autoplay:xgl_swiper1_autoplay,speed:300,direction:"horizontal",loop:xgl_swiper1_loop,autoplayDisableOnInteraction:false}); $window.on('load',function(e){ xgl_swiper1_hei=xgl_swiper1.innerHeight(); xgl_swiper1_arr=xgl_swiper1.find('.index-wap-arr').eq(0); xgl_swiper1_arr.on('click',function(e){ $('html,body').animate({scrollTop:xgl_swiper1_hei},300,'linear'); }); }); }else{ xgl_swiper1.hide(); } } } function banner_box_f(){ var _width=$window.width(); if(_width>1200){ $banner_box.each(function(_i,_el){ var $box=$(_el),$pa=$box.parent(); if($pa.hasClass('banner_wrap_cases')){ $box.css({ height: (_width * 0.27083333) + 'px' }); }else{ $box.css({ height: (_width * 0.383333) + 'px' }); } }); }else{ $banner_box.each(function(_i,_el){ var $box=$(_el),$pa=$box.parent(); $box.css({ height: '53vh' }); }); } } banner_box_f(); $window.resize(banner_box_f); that.indexBanner = new Swiper('.banner-box', { loop: this.SwiperLoop, fadeEffect: { crossFade: true, }, autoplay: { delay: 5000, stopOnLastSlide: false, disableOnInteraction: false, }, direction: direction, pagination: { el: '.banner-box .swiper-pagination', clickable: true, }, loopedSlides: document.querySelectorAll('.swiper-slide').length, on: { init: function () { $('.swiper_text_box .swiper_animation').removeClass(that.bannerAnimation); $('.swiper_text_box1 .swiper_animation').addClass(that.bannerAnimation); }, slideChangeTransitionEnd: function () { if (this.activeIndex == (this.loopedSlides - 1)) { $('.swiper-slide .swiper_text_box .swiper_animation').removeClass(that.bannerAnimation); $('.swiper_text_box' + this.loopedSlides + ' .swiper_animation').addClass(that.bannerAnimation); } if (this.activeIndex == (this.loopedSlides * 2)) { $('.swiper-slide .swiper_text_box .swiper_animation').removeClass(that.bannerAnimation); $('.swiper_text_box1 .swiper_animation').addClass(that.bannerAnimation); } for (var i = 0; i < this.loopedSlides; i++) { if ((this.activeIndex - this.loopedSlides) == i) { $('.swiper-slide .swiper_text_box .swiper_animation').removeClass(that.bannerAnimation); $('.swiper_text_box' + (i + 1) + ' .swiper_animation').addClass(that.bannerAnimation); break; } } }, }, }); }, //首页广告图 indexImgTab: function () { var that = this; var $img_index_box=$('.img_index_box'),$slide,len=0; if($img_index_box.length){ $slide=$img_index_box.eq(0).find('.swiper-slide'); len=$slide.length; } if(len){ that.indexImgSwiper = new Swiper('.img_index_box', { loop: true, effect: 'fade', autoplay: { delay: 5000, stopOnLastSlide: false, disableOnInteraction: false, }, loopedSlides: len, on: { init: function () { console.log(len); } } }); } }, //获取TOP NavScroll: function () { var that = this; that.scrollTop = $(window).scrollTop(); that.NavScrollTop(); $(window).scroll(function () { that.NavScrollTop(); }); }, //判断top值 NavScrollTop: function () { var that = this; that.scrollTop = $(window).scrollTop(); var bannerH = $('.banner_wrap').height(); //大于导航的高度 if (that.Width < 1200) { //移动端 if (that.scrollTop > 60) { $('.header_wrap').addClass('header_wrap2'); } else { $('.header_wrap').removeClass('header_wrap2'); } } else { //PC端 //首页 if ($('.body_content').hasClass('index_height')) { if (that.scrollTop > bannerH) { $('.header_wrap').addClass('header_wrap2'); } else { $('.header_wrap').removeClass('header_wrap2'); } } else { if (that.scrollTop > 100) { $('.header_wrap').addClass('header_wrap2'); } else { $('.header_wrap').removeClass('header_wrap2'); } } } }, //底部滚动 mCustomScrollbar: function () { $(".mCustom").mCustomScrollbar({ scrollButtons: { enable: false, scrollType: "continuous", scrollSpeed: 20, scrollAmount: 40 }, horizontalScroll: false, }); }, //关于我们整屏切换 aboutTab: function () { var that = this,$window=$(window); //pc不支持抓手。手机支持抓手 // if(that.Width<1200){ // $('.about_page_swiper').removeClass('swiper-no-swiping'); // } // else { // $('.about_page_swiper').addClass('swiper-no-swiping'); // } if($window.width()<=1200){ if($('.index-wap-arr').length){ $('.index-wap-arr').click(function(){ var xgl_hei=$window.height(); $('html,body').animate({scrollTop:xgl_hei},300,'linear'); }); } } }, //Ipo整屏切换 IpoTab: function () { var that = this,$window=$(window); //pc不支持抓手。手机支持抓手 // if(that.Width<1200){ // $('.about_page_swiper').removeClass('swiper-no-swiping'); // } // else { // $('.about_page_swiper').addClass('swiper-no-swiping'); // } if($window.width()<=1200){ that.IpoSwiper = new Swiper('.ipo_page_swiper', { initialSlide: 0, direction: 'vertical', noSwiping: true, slidesPerView: 'auto', mousewheel: true, speed: 300, pagination: { el: '.ipo_page_swiper .swiper-pagination', clickable: true, }, on: { init: function () { this.mousewheel.enable(); }, slideChangeTransitionEnd: function () { if (this.activeIndex == 0) { $('.header_wrap').removeClass('header_wrap2'); } else { $('.header_wrap').addClass('header_wrap2'); } if (this.activeIndex == 1) { $('.header_wrap').addClass('header_wrap2'); } if (this.activeIndex == 2) { $('.whiteFade').addClass('whiteSlate'); $('.header_wrap').addClass('header_wrap2'); } if (this.activeIndex == 3) { $('.orangeFade').addClass('orangeSlate'); } } } }); if($('#top').get(0)){ $('#top').click(function(){ that.IpoSwiper.slideTo(0); }); } } }, //品牌策划整屏切换 PlanTab: function () { var that = this,$window=$(window); //pc不支持抓手。手机支持抓手 // if(that.Width<1200){ // $('.about_page_swiper').removeClass('swiper-no-swiping'); // } // else { // $('.about_page_swiper').addClass('swiper-no-swiping'); // } if($window.width()<=1200) { that.PlanSwiper = new Swiper('.plan_page_swiper', { initialSlide: 0, direction: 'vertical', noSwiping: true, slidesPerView: 'auto', mousewheel: true, speed: 300, pagination: { el: '.plan_page_swiper .swiper-pagination', clickable: true, }, on: { init: function () { this.mousewheel.enable(); }, // slideChangeTransitionStart: function () { // console.log(this.activeIndex); // if (this.activeIndex == 0) { // $('.plan_page_swiper').removeClass('swiper_black'); // } // if (this.activeIndex == 1) { // $('.plan_page_swiper').addClass('swiper_black'); // } // if (this.activeIndex == 2) { // $('.plan_page_swiper').removeClass('swiper_black'); // } // // // }, slideChangeTransitionEnd: function () { if (this.activeIndex == 0) { $('.header_wrap').removeClass('header_wrap2'); } else { $('.header_wrap').addClass('header_wrap2'); } if (this.activeIndex == 1) { $('.header_wrap').addClass('header_wrap2'); } if (this.activeIndex == 2) { $('.plan_wrap3').addClass('whiteSlate'); $('.blueFade').addClass('blueSlate'); } if (this.activeIndex == 3) { $('.orangeFade').addClass('orangeSlate'); } } } }); if ($('#top').get(0)) { $('#top').click(function () { that.PlanSwiper.slideTo(0); }); } } }, //新闻 NewsTab: function () { var that = this; var NewsLength = 10; if (that.Width < 1600 && that.Width >1300) { NewsLength=6; } that.NewsSwiper = new Swiper('.news_swiper_list', { slidesPerView: NewsLength, spaceBetween: 0, navigation: { nextEl: '.news_next_button', prevEl: '.news_prev_button', }, }); }, //服务网络切换swiper serviceTab: function () { var that = this; that.serviceSwiper = new Swiper('.net_box_swiper', { noSwiping: true, // initialSlide:1, autoHeight: true, navigation: { nextEl: '.net_tab_next', prevEl: '.net_tab_prev', }, }); }, xgl_fun:function(){ var $window=$(window),$f_w=$('.footer_fixed_wrap').eq(0); function f(){ var scr=$window.scrollTop(),win_h=$window.height(); if(!$f_w || $f_w.length==0){ return; } if(scr>win_h/2 || scr>800){ $f_w.addClass('active'); }else{ $f_w.removeClass('active'); } } if($window.width()>1200){ f(); $window.scroll(f); $window.resize(f); } }, //获取底部top值 footerTop: function () { //窗口滚动 var FooterLogo = $('.footer-logo-wrap').offset().top; var windowH = $(window).height(); var FooterTop = FooterLogo - windowH; var scrollTop = $(window).scrollTop(); if (scrollTop >= FooterTop) { $('.footer-logo-wrap').removeClass('footer-animation').addClass('footer-animation'); } $(window).scroll(function () { var FooterLogo = $('.footer-logo-wrap').offset().top; var windowH = $(window).height(); var FooterTop = FooterLogo - windowH; var scrollTop = $(window).scrollTop(); if (scrollTop >= FooterTop) { $('.footer-logo-wrap').removeClass('footer-animation').addClass('footer-animation'); } }); }, //移动端滑动 or PC端渐现 ifWidth: function () { var that = this; if (that.Width < 1200) { that.SwiperFadeIn = ''; that.headerH = 65; that.SwiperN = 1; that.swiperNumber = 1.5; that.centerSwiper = true; $('.swiper-fz-text .swiper-fz-span:nth-child(1) span').addClass('wow fadeInLeft d2'); $('.swiper-fz-text .swiper-fz-span:nth-child(2)').addClass('wow fadeInRight d2'); $('.advantage-li').addClass('wow fadeInUp'); } else { $('.swiper-fz-wrap').addClass('wow fadeInUp d4'); } // that.footerTop(); }, //动画启动 WowJs: function () { this.WowJsAnimation = new WOW({ animateClass: 'animated', offset: 50 }); this.WowJsAnimation.init(); }, //事件 AddEventList: function () { var that = this; function return_false() { return false; } that.xgl_fun(); //导航遮罩出现 // $('.m-header-nav').on('click', function (e) { // e.preventDefault(); // if (!that.IfNav) { // $('html,body, .black-box').on('mousewheel DOMMouseScroll wheel', return_false); // $('.m-header-nav span:first-child').removeClass('first-rotate2').addClass('first-rotate'); // $('.m-header-nav span:last-child').removeClass('last-rotate2').addClass('last-rotate'); // $('.m-header-nav span:nth-child(2)').removeClass('navOpacity2').addClass('navOpacity'); // $('.m-header-nav').addClass('header-click-nav'); // for (var i = 0; i < $('.header-animation').length; i++) { // $('.header-animation').eq(i).addClass('fadeInUp2'); // $('.header-animation').eq(i).css({ // animationDelay: (i * 100) + 'ms', // webkitAnimationDelay: (i * 100) + 'ms' // }); // } // $('.header-wrap').removeClass('header-position').addClass('header-position'); // $('.header-nav').removeClass('header-nav-show').addClass('header-nav-show'); // $('.black-box').stop(); // $('.black-box').fadeIn(); // $('.header-wrap').addClass('header-height'); // that.IfNav = true; // } else { // $('html,body, .black-box').off('mousewheel DOMMouseScroll wheel', return_false); // $('.m-header-nav span:first-child').removeClass('first-rotate').addClass('first-rotate2'); // $('.m-header-nav span:last-child').removeClass('last-rotate').addClass('last-rotate2'); // $('.m-header-nav span:nth-child(2)').removeClass('navOpacity').addClass('navOpacity2'); // $('.m-header-nav').removeClass('header-click-nav'); // for (var j = 0; j < $('.header-animation').length; j++) { // $('.header-animation').eq(i).removeClass('fadeInUp2'); // } // $('.header-wrap').addClass('header-position').removeClass('header-position'); // $('.header-nav').addClass('header-nav-show').removeClass('header-nav-show'); // $('.black-box').stop(); // $('.black-box').fadeOut(); // $('.header-wrap').removeClass('header-height'); // that.IfNav = false; // } // // }); //回到顶部 $('#top').on('click', function () { that.TopHtml(); }); //遮罩 $('.clickBlack').on('click', function (e) { e.preventDefault(); if (!that.IfNav) { console.log('打开遮罩'); $('html,body, .header_black_wrap').on('mousewheel DOMMouseScroll wheel', return_false); $('.header_black_wrap').addClass('header_black_top'); that.IfNav = true; } else { console.log('关闭遮罩'); $('html,body, .header_black_wrap').off('mousewheel DOMMouseScroll wheel', return_false); $('.header_black_wrap').removeClass('header_black_top'); that.IfNav = false; } }); //底部咨询 that.xxfun(); }, //首页核心 CoreSwiperTab: function () { var that = this; that.CoreSwiper = new Swiper('.core_index_swiper', { slidesPerView: 1, autoHeight: true, spaceBetween: 30, loop: true, navigation: { nextEl: '.core_index_next', prevEl: '.core_index_prev', }, }) }, //标签选择 lableList: function () { var lableClick = $('.mbx-nav span'); lableClick.on('click', function () { var lableThis = $(this); var lableIndex = lableThis.index(); console.log(lableIndex); if (lableThis.hasClass('max-hover')) { lableClick.eq(lableIndex).removeClass('max-hover'); } else { lableClick.eq(lableIndex).addClass('max-hover'); } }); }, //图文下拉 imgDown: function () { var that = this; var imgName = $('.banner-img-down'); var arr = [ 'easeInQuad', 'easeOutQuad', 'easeInOutQuad', 'easeInCubic', 'easeOutCubic', 'easeInOutCubic', 'easeInQuart', 'easeOutQuart', 'easeInOutQuart', 'easeInQuint', 'easeOutQuint', 'easeInOutQuint', 'easeInSine', 'easeOutSine', 'easeInOutSine', 'easeInExpo', 'easeOutExpo', 'easeInOutExpo', 'easeInCirc', 'easeOutCirc', 'easeInOutCirc', 'easeInElastic', 'easeOutElastic', 'easeInOutElastic', 'easeInBack', 'easeOutBack', 'easeInOutBack', 'easeInBounce', 'easeOutBounce', 'easeInOutBounce' ]; var Down = $(window).scrollTop(); var Blur = $(window).scrollTop() - imgName.height(); var Blur2 = imgName.height() + (Blur); var BlurPX = imgName.height() - Blur2; var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop; var t; if (Down <= 0) { t = setTimeout(function () { $(document.body).animate({ 'scrollTop': imgName.height() - that.headerH }, {duration: 1500, easing: arr[18]}); $('html').animate({ 'scrollTop': imgName.height() - that.headerH }, {duration: 1500, easing: arr[18]}); }, 2000); } if (BlurPX > 100) { imgName.css({ filter: 'blur(' + (Blur2 * 0.021) + 'px)' }) } $(window).scroll(function () { clearTimeout(t); Blur = $(window).scrollTop() - imgName.height(); Blur2 = imgName.height() + (Blur); BlurPX = imgName.height() - Blur2; if (BlurPX > 100) { imgName.css({ filter: 'blur(' + (Blur2 * 0.021) + 'px)' }) } }); }, //导航下拉 navDown: function () { var that = this; $('.header_nav_li').hover(function () { $('.header_nav_li').eq($(this).index()).children('.header_down_nav').stop().slideDown(600); }, function () { $('.header_nav_li').eq($(this).index()).children('.header_down_nav').stop().slideUp(600); }); }, //地图 IsMap: function () { var that = this; if (that.Width < 1200) { var map = new BMap.Map("allmap"); // 百度地图API功能 var point = new BMap.Point(116.919008, 36.810857); map.centerAndZoom(point, 19); //创建覆盖点 var pt = new BMap.Point(116.919821, 36.810572); var myIcon = new BMap.Icon("images/map2.png", new BMap.Size(130, 48)); var marker2 = new BMap.Marker(pt, {icon: myIcon}); // 创建标注 map.addOverlay(marker2); // 将标注添加到地图中 } else { var map = new BMap.Map("allmap"); // 百度地图API功能 var point = new BMap.Point(116.91824, 36.811204); map.centerAndZoom(point, 19); //创建覆盖点 var pt = new BMap.Point(116.919821, 36.810572); var myIcon = new BMap.Icon("images/map2.png", new BMap.Size(130, 48)); var marker2 = new BMap.Marker(pt, {icon: myIcon}); // 创建标注 map.addOverlay(marker2); // 将标注添加到地图中 } }, numberRoll: function () { var that = this; console.log(111111); //窗口滚动 var dataTop = $('.index_number').offset().top; var dataH = dataTop - that.Height; var scrollTop = $(window).scrollTop(); if (scrollTop > dataH && scrollTop < dataTop) { that.NumberCount(); } $(window).scroll(function () { var dataTop = $('.index_number').offset().top; var dataH = dataTop - that.Height; var scrollTop = $(window).scrollTop(); if (scrollTop > dataH && scrollTop < dataTop) { that.NumberCount(); } }); }, NumberCount: function () { var that = this; var numberL = $('.index_number'); if (that.NumberIf) { for (var i = 0; i < numberL.length; i++) { numberL.eq(i).numberRock({ lastNumber: that.Number[i][0], duration: that.Number[i][1], easing: that.Number[i][2], //慢快慢 }); } that.NumberIf = false; } }, //回到顶部 TopHtml: function () { var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop; $(document.body).animate({ scrollTop: 0 }, 700); $('html').animate({ scrollTop: 0 }, 700) }, //锚点特效 maoAnimate: function () { var that = this; that.maoTop = true; if (that.Width < 1200) { that.maoNumber = 70; } // that.aboutNav(); var _hash = window.location.hash; //锚点滑动 $('.anchor_link').click(function () { var $target = $(this.hash); $target = $target.length && $target || $('[name=' + this.hash.slice(1) + ']'); if ($target.length) { var targetOffset = $target.offset().top; $('html,body').animate({ scrollTop: targetOffset - that.maoNumber }, 700); return false; } }); setTimeout(function () { if (_hash && $(_hash).get(0)) { $('html,body').animate({ scrollTop: $(_hash).offset().top - that.maoNumber }, 700); } }, 500); }, //内导航吸顶 aboutNav: function () { var that = this; var top = $(window).scrollTop(); if (that.Width < 1200) { that.maoNumber = 60; } var navigationHover = 'navigation_hover'; var aCurrent = $('.about_page'); for (var i = 0; i < aCurrent.length - 1; i++) { if ((top + that.maoNumber + 1) >= aCurrent.eq(i).offset().top && top < aCurrent.eq(i + 1).offset().top) { $('.navigation_li').eq(i).addClass(navigationHover).siblings().removeClass(navigationHover); } } if ((top + that.maoNumber) > aCurrent.eq(aCurrent.length - 1).offset().top) { $('.navigation_li').eq(aCurrent.length - 1).addClass(navigationHover).siblings().removeClass(navigationHover); } $(window).scroll(function () { var top = $(window).scrollTop() + 1; var aCurrent = $('.about_page'); for (var i = 0; i < aCurrent.length - 1; i++) { if ((top + that.maoNumber + 1) >= aCurrent.eq(i).offset().top && top < aCurrent.eq(i + 1).offset().top) { $('.navigation_li').eq(i).addClass(navigationHover).siblings().removeClass(navigationHover); } } if ((top + that.maoNumber) > aCurrent.eq(aCurrent.length - 1).offset().top) { $('.navigation_li').eq(aCurrent.length - 1).addClass(navigationHover).siblings().removeClass(navigationHover); } }) }, //循环加入全部图片 AddImg: function () { var that = this; for (var i = 0; i < $('.data').length; i++) { that.AllImgLoad.push( $('.data').eq(i).attr('data-src') ); $('.data').eq(i).append(''); } }, //循环加入全部标签 ForAlt: function () { var that = this; var DataSeo = $('.data-seo'); for (var e = 0; e < DataSeo.length; e++) { that.DataTitle.push( DataSeo.eq(e).attr('data-title') ); that.DataAlt.push( DataSeo.eq(e).attr('data-alt') ) } for (var i = 0; i < $('.data-seo').length; i++) { $('.data-seo').eq(i).children('img').attr({ 'title': that.DataTitle[i], 'alt': that.DataAlt[i] }) } }, newsline_f:function(){ var $news_read_left=$('.news_read_left'),$news_read_right=$('.news_read_right'),$window=$(window),max_h=0; function f(){ $news_read_left.removeAttr('style'),$news_read_right.removeAttr('style'); var l_h=$news_read_left.innerHeight(),r_h=$news_read_right.innerHeight(); if($window.width()>1200){ if(l_h>r_h){ max_h=l_h; }else{ max_h=r_h; } $news_read_left.innerHeight(max_h); $news_read_right.innerHeight(max_h); } } if($news_read_right.get(0) && $news_read_right.get(0)){ $window.load(f); $window.resize(f); } }, view_list_page_f:function(){ var $page=$('.view_list_page'),$window=$(window); if($window.width()>1200){ if($page.length){ $page.each(function(){ var $lnks=$(this).find('a'); $lnks.each(function(){ var $el=$(this),txt= $.trim($el.text()); if(txt=='上一页' || txt=='下一页'){ $el.hide(); } }); }); } } }, //默认方法 HtmlInit: function () { var that = this; $('html, body').show(); that.imgDown(); that.ifWidth(); that.WowJs(); that.AddImg(); that.ForAlt(); that.NavScroll(); that.BannerSwiper(); that.navDown(); that.indexImgTab(); that.mCustomScrollbar(); that.aboutTab(); that.IpoTab(); that.PlanTab(); that.newsline_f(); that.view_list_page_f(); if(that.Width>1200){ that.NewsTab(); } }, }; $(function () { IqwXiongJs.Init(); });