$("#c_static_001-16632319416910 .e_richText-9,#c_static_001-16632319416910 .e_container-11,#c_static_001-16632319416910 .e_richText-18,#c_static_001-16632319416910 .e_button-22,#c_static_001-16632319526720 .e_richText-2,#c_static_001-16632319526720 .e_richText-3,#c_static_001-16632319526720 .e_line-4,#c_static_001-16632319526720 .e_loop-24,#c_static_001-16632319526720 .e_button-27,#c_static_001-16632330879070 .e_richText-2,#c_static_001-16632330879070 .e_richText-3,#c_static_001-16632330879070 .e_line-4,#c_static_001-16632330879070 .e_richText-26,#c_static_001-16632330879070 .e_loop-23 .p_loopitem,#c_static_001-16632330879070 .e_button-27,#c_static_001-16632337342270 .e_richText-2,#c_static_001-16632337342270 .e_richText-3,#c_static_001-16632337342270 .e_line-4,#c_static_001-16632337342270 .e_loopFocus-28,#c_static_001-16632337342270 .e_button-27").each(function(i,e){ var time = 0.03 * i + 's'; $(this).addClass("aos-init fade-top").attr("data-aos","flip-up"); if(!$(this).hasClass("aos-animate")){ this.style.transitionDelay = time; } }) AOS.init({ once:true }); $(function(){ var li_h=window.location.pathname; var time=setInterval(function(){ var m=$(".p_loopitem .s_title a").attr("href"); if(m){ console.log(m); $(".p_loopitem .s_title a").each(function(){ var l_m=$(this).attr("href") if(l_m==li_h){ $(this).parent().addClass("click") } } ); clearInterval(time); } },100); }) $require(['swiper'], function () { var swiper = new Swiper('.magnify1', { slidesPerView: 4, spaceBetween: 0, centeredSlides: false, loop: false, pagination :{ el: '.swiper-pagination1', clickable :true, }, navigation: { nextEl: '.Under', prevEl: '.Upper', }, breakpoints: { 320: { slidesPerView :2, spaceBetween : 0, }, 768: { slidesPerView :5, spaceBetween : 20, }, 1280: { slidesPerView :4, spaceBetween : 0, } } }); }) $("#c_effect_022-16637402589290 .e_container-13").click(function(){ $(this).find(".e_icon-15").toggleClass("reg"); $(this).siblings("#c_effect_022-16637402589290 .e_container-20").stop().slideToggle(0); })