(function(op) { var effect1 = function() { var head = $('#xg_header'); var an = function() { if (document.documentElement.scrollTop + document.body.scrollTop > head.height()) { head.css('opacity', 0); } else { head.css('opacity', 1); } } head.hover(function() { head.css('opacity', 1); }, an); page.scroll(an); head.on('mousemove', function() { $(this).css('opacity', 1); }); $(an); } if (page.currentDevice() == 1) { if (op.pcEffect == 2) { effect1(); } } else {} })({ 'pcEffect': 0, 'mobileEffect': 0 }); var menu = function(obj, options) { var cssAColor = ''; var addClass = function(el, className) { el.addClass(className); if (el.css('color') && cssAColor.indexOf('.' + className) == -1) { cssAColor += '.' + className + ' a{color:' + el.css('color') + ';}'; } } var nid = parseInt(util.queryString('nid')); if (isNaN(nid)) { nid = 0; } if (nid > 0) { var navi = obj.find('li[data-nid=' + nid + ']'); var tid = parseInt(util.queryString('typeid')); if (isNaN(tid)) { tid = parseInt(util.queryString('tid')); } var li = obj.children('.xg_menuUl').children('li[data-tid=' + tid + ']'); if (li.length > 0) { addClass(li, li.attr('class').split(' ')[0] + '-select'); } else if (navi.length > 0) { addClass(navi, navi.attr('class').split(' ')[0] + '-select'); if (tid > 0) { var li = navi.find('li[data-tid=' + tid + ']'); if (li.length > 0) { addClass(li, li.attr('class').split(' ')[0] + '-select'); li.parentsUntil('.xg_menu', 'li').each(function() { addClass($(this), $(this).attr('class').split(' ')[0] + '-select'); actived = true; return false; }); } } } } else { var url = util.createUrl(); if (url.replace(document.location.host, '').indexOf('.') == -1 || url.indexOf('index.aspx') > 0) { var home = obj.find('li[home=1]'); if (home.length > 0) { addClass(home, home.attr('class').split(' ')[0] + '-select'); } } } if (cssAColor) { var style = document.createElement('style'); style.type = 'text/css'; style.innerText = cssAColor; document.head.appendChild(style); } var showType = obj.data('mobileshoweffect'); obj.find('.xg_menuMobile .xg_memu_btn').on('click', function() { options.mobileMenuEffect.show(obj); if (util.isNullOrEmpty($('body').attr('style')) || (!util.isNullOrEmpty($('body').attr('style') && $('body').attr('style').indexOf('overflow-y') == -1))) { $('body').css('overflow-y', 'hidden'); $('body').attr('data-overflow', true); } else { $('body').attr('data-overflow', false); } if (showType == 0 || showType == 2) { $(this).next().css({ 'left': '0px' }); } else if (showType == 1 || showType == 3) { $(this).next().css({ 'top': '0px' }); } setTimeout(function() { obj.find('img').lazyload(); }, 300); }); obj.find('.xg_menuShade').on('click', function() { if ($('body').data('overflow')) { $('body').css('overflow-y', ''); } $('body').removeAttr('data-overflow'); var css = {}; if (showType == 0) { css = { 'left': '-100%' }; } else if (showType == 1) { css = { 'top': '-100%' }; } else if (showType == 2) { css = { 'left': '100%' }; } else if (showType == 3) { css = { 'top': '100%' }; } $(this).parent().css(css); options.mobileMenuEffect.hide(obj); }); var design = util.inDesign(); if (design) { if (obj.find('.xg_menutop').children().length == 0) { obj.find('.xg_menutop').html('
可拖动行到此
'); } if (obj.find('.xg_menubottom').children().length == 0) { obj.find('.xg_menubottom').html('
可拖动行到此
'); } } var device = page.currentDevice(); if (device == 2) { options.mobileMenuEffect.init(obj); if (obj.data('mobilelisttype') == 2) { var mobile = obj.find('.xg_menuMobile'); mobile.children('.xg_menuPanel').find('ul').show(); mobile.find('.xg_menuUl').css({ 'height': '100%', 'overflow-y': 'auto' }); return; } } obj.children('.xg_menuMobile').find('.xg_menuTitle1,.xg_menuTitle2,.xg_menuTitle3,.xg_menuTitle4').on('click', function(e) { var ul = $(this).next(); if (ul.length == 0) { return true; } ul.slideToggle(); return true; }); if (device == 1 && obj.data('droptype') == '1') { var ul = obj.children('.xg_menuUl'); var needEffect = obj.data('effect'); if (!needEffect) { needEffect = 0; } var menulis = ul.children('li'); var droplist = obj.children('.xg_dropdownlist'); if (design) { var html = ''; if (droplist.length == 0) { html = '
'; } obj.children('.xg_menuUl').children('li').each(function() { var id = $(this).data('nid'); var type = 'n'; if (!id) { id = $(this).data('tid'); type = 't'; } if ($(this).attr('home') || droplist.children('div[data-rid=' + id + ']').length > 0) { return; } html += '
当前下拉菜单中无内容,访客访问将不显示当前下拉菜单
'; }); if (droplist.length == 0) { html += '
'; obj.append(html); droplist = obj.children('.xg_dropdownlist'); } else { droplist.append(html); } menulis.on('click', function() { var _this = $(this); setTimeout(function() { if (!selector._element.innerSelect) { return; } var id = _this.data('nid'); if (!id) { id = _this.data('tid'); } if (!id) { return; } var mWidth = $(this).parents('.xg_header').width(); droplist.css({ 'width': document.documentElement.clientWidth + 'px', 'height': 'auto', 'display': 'block', 'min-width': mWidth + 'px', 'position': 'absolute', 'top': ul.height() + 'px' }); if (droplist.offset().left != 0) { var mLeft = parseInt(droplist.css('margin-left')); isNaN(mLeft) && (mLeft = 0); var left = mLeft - droplist.offset().left; droplist.css({ 'margin-left': left + 'px' }); } var list = droplist.children('[data-rid=' + id + ']'); if (list.length == 0) { return; } if (list.css('display') == 'block') { list.hide(); } else { list.show().siblings().hide(); } }, 150); }); } else if (droplist.length > 0) { menulis.hover(function() { clearTimeout($(this).data('menuHide')); var id = $(this).data('nid'); if (!id) { id = $(this).data('tid'); } if (!id) { return; } var mWidth = $(this).parents('.xg_header').width(); droplist.css({ 'width': document.documentElement.clientWidth + 'px', 'height': 'auto', 'display': 'block', 'min-width': mWidth + 'px', 'position': 'absolute', 'top': ul.height() + 'px' }); if (droplist.offset().left != 0) { var mLeft = parseInt(droplist.css('margin-left')); isNaN(mLeft) && (mLeft = 0); var left = mLeft - droplist.offset().left; droplist.css({ 'margin-left': left + 'px' }); } var list = droplist.children('[data-rid=' + id + ']'); if (list.length == 0) { return; } list.siblings().hide(); if (needEffect == 0) { list.show(); } else { list.stop().slideDown('fast'); } }, function() { var _this = $(this); var id = _this.data('nid'); if (!id) { id = _this.data('tid'); } if (!id) { return; } var list = droplist.children('[data-rid=' + id + ']'); if (list.length == 0) { return; } clearTimeout(_this.data('menuHide')); _this.data('menuHide', setTimeout(function() { if (needEffect == 0) { list.hide(); } else { list.stop().slideUp('fast'); } }, 120)); }); droplist.children('div').hover(function() { var id = $(this).data('rid'); menulis.each(function() { var _that = $(this); var mid = _that.data('nid'); if (!mid) { mid = _that.data('tid'); } if (mid == id || mid == id) { clearTimeout(_that.data('menuHide')); } }); }, function() { if (needEffect == 0) { $(this).hide(); } else { $(this).stop().slideUp('fast'); } }); } } } var banner = { init: function(panel) { banner.autoChange(panel); var adaptive = panel.data('adaptive'); var firstImg = panel.find('img:first'); firstImg.addClass('lazyload'); firstImg.one('animationend webkitAnimationEnd oAnimationEnd webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function() { firstImg.removeClass('lazyload'); }); firstImg.one('load', function(e) { var maxWidth = e && e.target ? e.target.width : 0; var op = banner.getOptions(panel); op.onAfterChange = banner.afterChange; op.centerPadding = '0px'; op.index = 0; op.pcMouseTouch = true; if (typeof op.animaType == 'undefined' || op.animaType == 1) { if (typeof myBannerOption != 'undefined') { op = myBannerOption(op); } var sc = panel.slick(op); panel.on('beforeChange', function(event, slick, currentSlide, nextSlide) { slick.$slides.eq(currentSlide).find('[data-eventid]').trigger('screenout'); if (typeof myBannerBeforeChange != 'undefined') { myBannerBeforeChange(slick, currentSlide, nextSlide); } }); panel.on('afterChange', function(event, slick, currentSlide, nextSlide) { var container = slick.$slides.eq(currentSlide); var device = page.currentDevice(); var hideClass = (device == 1 ? 'pc_an_hide' : 'mobile_an_hide'); setTimeout(function() { container.find('[data-anids]').each(function() { var ok = false; String($(this).data('anids')).split(',').forEach(function(item) { if (!ok && animation.anFindEvent(item)) { ok = true; } }); if (ok) { $(this).removeClass(hideClass); } }); }, 17); container.find('[data-eventid]').trigger('screenin'); container.siblings().find('[data-anids]').each(function() { animation.removeAllAn($(this)); var ok = false; String($(this).data('anids')).split(',').forEach(function(item) { if (!ok && animation.anFindEvent(item)) { ok = true; } }); if (ok) { $(this).removeClass(hideClass).addClass(hideClass); } }); if (typeof myBannerAfterChange != 'undefined') { myBannerAfterChange(slick, currentSlide, nextSlide); } }); $(function() { setTimeout(function() { setTimeout(function() { sc.find('.slick-current').find('[data-anids]').each(function() { $(this).removeClass(hideClass); }); }, 17); sc.find('.slick-current').find('[data-eventid]').trigger('screenin'); }, 100); }); } else { var relwidth = panel.data('width'); var relheight = panel.data('height'); var width = panel.width(); var height = panel.height(); if (width > relwidth) { width = relwidth; op.Width = relwidth; } if (height > relheight) { height = relheight; op.Height = relheight; } if (typeof myBannerOption != 'undefined') { op = myBannerOption(op); } banner.initshutter(op); panel.find('.xg_banner_item').addClass('xg_banner_show'); if (width > relwidth) { panel.find('.shutter').css({ 'width': width + 'px', 'height': height + 'px', 'margin-left': 'auto', 'margin-right': 'auto', 'overflow': 'hidden' }); } } var maxWidthFun = function() { if (maxWidth > 0 && screen.width > maxWidth) { panel.find('.xg_banner_item').css({ 'maxWidth': maxWidth + 'px', 'overflow': 'hidden', 'margin-left': 'auto', 'margin-right': 'auto' }); panel.find('.xg_banner_img img').css({ 'maxWidth': maxWidth + 'px' }); } } maxWidthFun(); var hideClass = ''; // (page.currentDevice() == 1 ? 'pc_an_hide' : 'mobile_an_hide'); var ans = []; panel.find('[data-anids]').each(function() { var ok = false; String($(this).data('anids')).split(',').forEach(function(item) { if (!ok && animation.anFindEvent(item)) { ok = true; } }); if (ok) { $(this).addClass(hideClass); ans.push($(this)); } }); panel.find('.container').click(function(e) { if (util.inDesign()) { return; } var a = $(this).prev().find('a'); util.openUrl(a.attr('href'), a.attr('target')); e.stopPropagation(); }); }); panel.find('img').each(function() { banner.loadImage($(this)); }); }, imgSrc: function(img) { var data = $(img).data('src'); if (data) { var src = data.split(','); if (src.length == 1) { return src[0].split(' ')[0]; } if (page.currentDevice() == 1) { return src[0].split(' ')[0]; } else { return src[1].split(' ')[0]; } } else { return $(img).data('src'); } }, afterChange: function() {}, loadImage: function(obj) { var src = banner.imgSrc(obj); if (!src) return; if (banner.imgCached(src)) { $(obj).attr('src', src); } else { setTimeout(function() { $(obj).attr('src', src); }, 0); } }, imgCached: function(src) { var img = new Image(); img.src = src; if (img.complete) { return true; } return false; }, getOptions: function(panel) { if (!panel) { typeof console == 'undefined' && console.log('banner不存在'); return; } var op = {}; var data = panel.data('autoplay'); if (data) { op.autoplay = true; op.autoplaySpeed = data; } if (!util.inDesign()) { op.pauseOnHover = false; } data = panel.data('loop'); data && (op.infinite = data == '1' ? true : false); data = panel.data('dots'); if (data == '1') { op.dots = true; } else { op.dots = false; } data = panel.data('arrows'); if (data == '1') { op.arrows = true; } else { op.arrows = false; } data = panel.data('effect'); op.animaType = data; op.speed = panel.data('speed') * 1000 == 0 ? 1000 : panel.data('speed') * 1000; if (typeof data == 'undefined' || data == '1') { op.fade = false; op.cssEase = 'ease'; } op.variableWidth = true; op.centerMode = true; op.responsive = [{ breakpoint: page.splitMobileWidth, settings: { arrows: false, variableWidth: false, centerMode: false } }]; data = panel.data('mobilarrow'); if (data == '1') { op.responsive[0].settings.arrows = true; op.mobilarrow = true; } data = panel.data('width'); if (typeof data == 'undefined') { op.Width = 1920; } else { op.Width = data; } data = panel.data('height'); if (typeof data == 'undefined') { op.Height = 600; } else { op.Height = data; } return op; }, autoChangeWidth: function(container) { var device = page.currentDevice(); if (device == 2 && util.inDesign()) { $('html').addClass('xg_scrollwidth'); } if (parent != window) { if (device == 2) { container.css({ 'width': container.parent().width() + 'px' }); } else { container.css({ 'width': '' }); } } else if (page.currentDevice() == 1) { container.css({ 'width': '' }); } }, resize: function(container) { var device = page.currentDevice(); var relwidth = container.data('width'); var relheight = container.data('height'); var width = container.width(); var height = container.height(); var adaptive = container.data('adaptive'); if (device == 2) { if (width > document.documentElement.clientWidth) { width = document.documentElement.clientWidth; } relwidth = width; height = relheight = container.width() / (parseInt(container.data('scalheight')) / 100); } else { if (typeof relwidth == 'undefined') { relwidth = 1920; } if (typeof relheight == 'undefined') { relheight = 600; } if (!adaptive && height > relheight) { height = relheight; } } var screenWidth = banner.getWidth(container); if (width < screenWidth) { width = screenWidth; if (container.parents('#xg_banner').length > 0) { $('#xg_banner').css('min-width', width + 'px'); } } if (device == 2) { height = width / (parseInt(container.data('scalheight')) / 100); } else if (adaptive) { height = relheight / relwidth * width; } if (!adaptive && device == 1) { container.css('height', ''); } else { if (device == 2) { container.css({ 'height': height + 'px', 'width': width + 'px' }); } else { container.css({ 'height': (relheight / relwidth * width) + 'px', 'width': width + 'px' }); } } container.find('.xg_banner_item').css({ 'width': width + 'px', 'height': height + 'px', 'max-width': width + 'px', 'max-height': height + 'px', 'min-width': width + 'px', 'min-height': height + 'px' }); if (parent.$('#preview_page').length > 0) { setTimeout(function() { container.find('.xg_banner_item').css({ 'width': width, 'height': height, 'max-width': width, 'max-height': height, 'min-width': width, 'min-height': height }); }, 40); } if (device == 1) { if (container.data('effect') == 1) { container.find('.slick-list').css({ 'width': width + 'px', 'height': height + 'px', 'margin-left': 'auto', 'margin-right': 'auto', 'overflow': 'hidden' }); if (adaptive) { container.find('.xg_banner_img img').css({ 'width': '100%', 'height': '100%', 'min-width': '', 'max-width': '', 'min-height': '', 'left': '', 'margin-left': '', 'top': '', 'margin-top': '' }); } else { container.find('.xg_banner_img img').css({ 'width': relwidth + 'px', 'height': relheight + 'px', 'min-width': relwidth + 'px', 'min-height': relheight + 'px', 'max-width': '', 'left': '50%', 'position': 'relative', 'margin-left': (-1 * relwidth / 2) + 'px' }); } } else if (adaptive) { container.find('.xg_banner_img img').css({ 'width': '100%', 'height': '100%', 'position': 'relative', 'min-width': '', 'min-height': '', 'max-width': '', 'left': '', 'margin-left': '', 'top': '', 'margin-top': '' }); } else { container.find('.xg_banner_img img').css({ 'width': relwidth + 'px', 'height': relheight + 'px', 'min-width': relwidth + 'px', 'min-height': relheight + 'px', 'max-width': '', 'left': '50%', 'top': '50%', 'position': 'relative', 'margin-left': (-1 * relwidth / 2) + 'px', 'margin-top': (-1 * relheight / 2) + 'px' }); } } else { container.find('.xg_banner_img img').css({ 'width': '100%', 'height': '100%', 'position': 'relative', 'min-width': '', 'max-width': '100%', 'min-height': '', 'left': '', 'margin-left': '', 'top': '', 'margin-top': '' }); } }, autoChange: function(container) { var pcAdaptive = container.data('adaptive'); if (parent != window && page.currentDevice() == 2 && container.parent().width() == banner.getWidth(container)) { var width = container.parent().width(); width = screen.width < width ? screen.width : width; container.css({ 'width': width + 'px', }); } container.data('device', page.currentDevice()); var resize = function() { var device = page.currentDevice(); var changedDeivce = device != container.data('device'); banner.autoChangeWidth(container); banner.resize(container); if (device == 1) { container.slick && container.slick('unload'); container.slick && container.slick('reinit'); } if (!changedDeivce) { return; } container.data('device', device); container.find('.xg_banner_img img').each(function(i) { banner.loadImage($(this)); }); setTimeout(resize, 150); } $(window).on('resize', resize); resize(); }, getWidth: function(container) { if (page.currentDevice() == 2) { return document.documentElement.clientWidth; } if (container.parents('#xg_banner').length == 0) { var w = container.parent().width(); var swh = screen.width - util.getScrollBarWidth(); if (w > swh) { return swh; } return w; } else { var width = document.documentElement.clientWidth; if ($('#xg_header').width() > width) { width = $('#xg_header').width(); } else if ($('#xg_content').width() > width) { width = $('#xg_content').width(); } else if ($('#xg_footer').width() > width) { width = $('#xg_footer').width(); } var swh = screen.width - util.getScrollBarWidth(); if (width > swh) { return swh; } return width; } }, initshutter: function(option) { option.shutterW = option.Width; option.shutterH = option.Height; option.isAutoPlay = option.autoplay; option.playInterval = option.autoplaySpeed; option.curDisplay = 0; option.fullPage = false; option.dotsNav = option.dots; option.arrows = option.arrows; option.animaType = option.animaType; option.duration = option.speed; option.mobilarrow = option.mobilarrow; option.currentDevice = page.currentDevice(); $('.shutter').shutter(option); } } var tab = { init: function(tabid) { var obj = $('#' + tabid); var evt = obj.data('switch'); if (!evt) { util.log('事件不存在'); return; } var datalist = obj.parents('.xg_list:first'); if (datalist.length > 0) { var className = ''; var parent = obj; while (!parent.is(datalist) && !className) { var strs = parent.attr('class').split(' '); for (var i = 0; i < strs.length; i++) { if (strs[i] && /^p[\d]+/.test(strs[i])) { className = strs[i]; break; } } parent = parent.parent(); } var tabs = null; if (className) { tabs = datalist.find('.' + className); } else { tabs = datalist.find('.xg_tab'); } tabs.children('.xg_tab_l_t').find('ul li').on(evt, tab.show); } else { obj.children('.xg_tab_l_t').find('ul li').on(evt, tab.show); var index = util.queryString('tab'); if (index) { tab.active(obj.children('.xg_tab_l_t').find('ul li[data-index=' + index + ']')); } } if (typeof page.registeTabReload != 'undefined') { obj.find('.xg_tab_tt').each(function(index) { if ($(this).hasClass('xg_tab_tt-select')) { for (var i = 0; i < page.registeTabReload.length; i++) { page.registeTabReload[i]($(this), i); } } }); } }, show: function() { tab.active($(this)); }, active: function(_this) { var index = _this.data('index'); var content = _this.parentsUntil('.xg_tab').last().parent().find('.xg_tab_tt[data-index=' + index + ']'); content.addClass('xg_tab_tt-select').siblings().removeClass('xg_tab_tt-select'); var checkarr = _this.attr('class').split(/[ ,]/); var pmcid = 'xg_tab_tl'; for (j = 0; j < checkarr.length; j++) { var currcheck = checkarr[j].replace('.', ''); if (/p\d+(m|c|\-m|\-c)\S/.test(currcheck)) { if (/-select$/.test(currcheck)) continue; pmcid = currcheck } }; _this.addClass(pmcid + '-select'); $.each(_this.siblings(), function() { var arrCls = this.className.split(/[ ,]/); for (c = 0; c < arrCls.length; c++) { if (/-select$/.test(arrCls[c])) { $(this).removeClass(arrCls[c]); } } }); content.find('.xg_video').each(function() { myplayer.tabChange($(this).attr('id')); }); if (typeof page.registeTabReload != 'undefined') { for (var i = 0; i < page.registeTabReload.length; i++) { page.registeTabReload[i](content, index); } } }, changeitem: function(currSelect) { if (currSelect.length > 0) { var csslist = currSelect.attr('class').split(/[ ,]/); var currids = 'xg_tab_tl-select'; for (h = 0; h < csslist.length; h++) { if (/p\d+(m|c|\-m|\-c)\S/.test(csslist[h])) { if (/-select$/.test(csslist[h])) continue; currids = csslist[h]; currSelect.removeClass('xg_tab_tl-select').addClass(currids + '-select') } } } } }; var goTop = { init: function(btn) { btn.on('click', goTop.go); }, go: function() { var device = page.currentDevice(); if ((device == 1 && $(document.body).data('pcrolling') == 1) || (device == 2 && $(document.body).data('mobilerolling') == 1)) { $('#fp-nav').find('a:first').click(); } else { $('html,body').animate({ 'scrollTop': 0 }, 400); } } } //横向无缝滚动三个 $(document).ready(function() { var box20 = $("#ia1d933f840a9f7bb"); move1(); setTimeout(function() { loadImages(box20); }, 400); function move1() { //$Box2移动的对象,v对象移动的速率 var v0 = 1.5; //这里添加滚动的对象和其速率 var $Box2_ul = $("#ia1d933f840a9f7bb .data_row"), $Box2_li = $("#ia1d933f840a9f7bb .data_col"), $Box2_li_span = $Box2_li, left = 0, s = 0, timer; //定时器 $Box2_ul.css({ "position": "relative", "width": "9999rem" }) $Box2_li.each(function(index) { $($Box2_li_span[index]).width($(this).width()); //hover s += $(this).outerWidth(true); //即要滚动的长度 }) window.requestAnimationFrame = window.requestAnimationFrame || function(Tmove) { return setTimeout(Tmove, 1000 / 60) }; window.cancelAnimationFrame = window.cancelAnimationFrame || clearTimeout; if (s >= box20.width()) { //如果滚动长度超出Box2长度即开始滚动,没有的话就不执行滚动 $Box2_li.clone(true).appendTo($Box2_ul); Tmove(); function Tmove() { //运动是移动left 从0到-s;(个人习惯往左滚) left -= v0; if (left <= -s) { left = 0; //console.log(left) $Box2_ul.css("left", left) // $("#ia1d933f840a9f7bb").scrollLeft(left) } else { $Box2_ul.css("left", left) } // else{ $("#ia1d933f840a9f7bb").scrollLeft(left) } timer = requestAnimationFrame(Tmove); } $Box2_ul.hover(function() { cancelAnimationFrame(timer) }, function() { Tmove() }) } } }); menu($('#' + 'if17350ce9a04a0fad1e1ce'), { mobileMenuEffect: { init: function(root) {}, show: function(root) { var lis = root.find('.xg_menuMobile').find('li'); var count = 0; for (var index = 0; index < lis.length; index++) { if (lis.eq(index).parent().css('display') == 'none') { continue; } lis.eq(index).css({ 'transition': 'left 0.5s ' + (count++ * 0.08) + 's', 'left': (-1 * lis.width()) + 'px' }); } setTimeout(function() { lis.css('left', '0px'); }, 50); }, hide: function(root) { setTimeout(function() { var lis = root.find('.xg_menuMobile').find('li'); lis.css({ 'transition': '', 'left': (-1 * lis.width()) + 'px' }); }, 100); } } }); banner.init($('#i6d4bef526313b8fa')); animation.config['an7'] = { "id": "7", "clientIndex": "50047", "timingFunction": "", "duration": "0.6", "delay": "0", "type": 1, "name": "gs标题_向上飞入", "anName": "an_tran_7", "library": "fadeInUp", "device": 1, "loop": 1, "resume": 1, "clear": 0 }; animation.regist($("[data-eventid='50047']"), [{ "name": "滚动到此", "id": 91, "event": "scroll", "an": [{ "id": 7, "anName": "an_tran_7", "device": 1 }], "device": 1, "doCount": 0, "count": 0 }]); animation.config['an8'] = { "id": "8", "clientIndex": "50048", "timingFunction": "", "duration": "0.5", "delay": "0", "type": 1, "name": "gs内容_向上飞入", "anName": "an_tran_8", "library": "fadeInUp", "device": 1, "loop": 1, "resume": 1, "clear": 0 }; animation.regist($("[data-eventid='50048']"), [{ "name": "滚动到此", "id": 92, "event": "scroll", "an": [{ "id": 8, "anName": "an_tran_8", "device": 1 }], "device": 1, "doCount": 0, "count": 0 }]); $(function() { tab.init('i04b901ba60411b9c'); var getcount = 20; var getindex = setInterval(function() { var tabselectdefault = $('#i04b901ba60411b9c .xg_tab_tl-select'); if (getcount-- <= 0 || $(tabselectdefault).length <= 0) { clearInterval(getindex); return; } tab.changeitem(tabselectdefault) }, 300); }); animation.config['an24'] = { "id": "24", "clientIndex": "04b901ba60411b9c", "timingFunction": "", "duration": "1", "delay": "0", "type": 1, "name": "xw内容1_向上飞入", "anName": "an_tran_24", "library": "fadeInUp", "device": 1, "loop": 1, "resume": 1, "clear": 0 }; animation.regist($("[data-eventid='04b901ba60411b9c']"), [{ "name": "滚动到此", "id": 102, "event": "scroll", "an": [{ "id": 24, "anName": "an_tran_24", "device": 1 }], "device": 1, "doCount": 0, "count": 0 }]); animation.config['an5'] = { "id": "5", "clientIndex": "50039", "timingFunction": "", "duration": "0.6", "delay": "0", "type": 1, "name": "xw标题_向上飞入", "anName": "an_tran_5", "library": "fadeInUp", "device": 1, "loop": 1, "resume": 1, "clear": 0 }; animation.regist($("[data-eventid='50039']"), [{ "name": "滚动到此", "id": 89, "event": "scroll", "an": [{ "id": 5, "anName": "an_tran_5", "device": 1 }], "device": 1, "doCount": 0, "count": 0 }]); animation.config['an3'] = { "id": "3", "clientIndex": "50035", "timingFunction": "", "duration": "0.5", "delay": "0", "type": 1, "name": "cp标题_向上飞入", "anName": "an_tran_3", "library": "fadeInUp", "device": 1, "loop": 1, "resume": 1, "clear": 0 }; animation.regist($("[data-eventid='50035']"), [{ "name": "滚动到此", "id": 87, "event": "scroll", "an": [{ "id": 3, "anName": "an_tran_3", "device": 1 }], "device": 1, "doCount": 0, "count": 0 }]); animation.config['an11'] = { "id": "11", "clientIndex": "50045", "timingFunction": "", "duration": "0.6", "delay": "0", "type": 1, "name": "hz标题_向上飞入", "anName": "an_tran_11", "library": "fadeInUp", "device": 1, "loop": 1, "resume": 1, "clear": 0 }; animation.regist($("[data-eventid='50045']"), [{ "name": "滚动到此", "id": 95, "event": "scroll", "an": [{ "id": 11, "anName": "an_tran_11", "device": 1 }], "device": 1, "doCount": 0, "count": 0 }]); animation.config['an25'] = { "id": "25", "clientIndex": "50050", "timingFunction": "", "duration": "0.6", "delay": "0", "type": 1, "name": "25_gs标题_向上飞入", "anName": "an_tran_25", "library": "fadeInUp", "device": 1, "loop": 1, "resume": 1, "clear": 0 }; animation.config['an2'] = { "id": "2", "clientIndex": "6ae89680634b4e0e", "timingFunction": "", "duration": "0.6", "delay": "0", "type": 1, "name": "友情链接移入_向上飞入", "anName": "an_tran_2", "library": "fadeInUp", "device": 1, "loop": 1, "resume": 1, "clear": 0 }; animation.regist($("[data-eventid='6ae89680634b4e0e']"), [{ "name": "滚动到此", "id": 86, "event": "scroll", "an": [{ "id": 2, "anName": "an_tran_2", "device": 1 }], "device": 1, "doCount": 0, "count": 0 }]); $(function() { goTop.init($('#if17360643d3579118b7e65').children('a:first')) });