$(function() { //关于银河娱乐澳门娱乐网站核心技术切换 $("#c_static_545-1650331979942 .e_container-53").addClass('show') $("#c_static_545-1650331979942 .e_container-57 .cbox-57-0").addClass("opty") $("#c_static_545-1650331979942 .e_container-57 > .p_item").click(function(){ $(this).addClass("opty").siblings().removeClass("opty") $('#c_static_545-1650331979942 .e_container-46 .cbox-46-0').find('.s_layout').eq($(this).index()).addClass('show').siblings().removeClass('show'); }) //移动端可复美点击事件 $("#c_static_001-1649901863353 .e_container-15").click(function(){ if($(this).next().css("display")=="none"){ $(this).next().addClass('show_time') $(this).addClass('show_syg') }else{ $(this).next().removeClass('show_time') $(this).removeClass('show_syg') } }); $("#c_static_001-16509799555730 .e_loop-1 .p_v_item").click(function(){ event.preventDefault() }) //荣誉与资质移动端点击事件 /*setInterval(() => { $('#c_static_001-16509799555730 .e_loop-1 .p_loopitem').on('click',function(){ if($(this).find(".e_richText-8").css("display")=="none"){ $(this).addClass('active_ryzz') }else{ $(this).removeClass('active_ryzz') } }); },50)*/ var aa=true $('#c_static_001-16509799555730').on('click',".clk",function(){ if(aa==true){ //$(this).find(".e_loop_sub-7").show(); $(this).find(".e_loop_sub-7").slideDown(); $(this).addClass("xuan") }else{ //$(this).find(".e_loop_sub-7").hide(); $(this).find(".e_loop_sub-7").slideUp(); $(this).removeClass("xuan") } aa=!aa }); //关于银河娱乐澳门娱乐网站页面产业布局移动端点击事件 $("#c_static_001-1650347929700 .e_loop-4 .p_loopitem").click(function(){ if($(this).find(".e_richText-6").css("display")=="none"){ $(this).addClass('active_about') $(this).siblings().removeClass('active_about') }else{ $(this).removeClass('active_about') } }); //首页核心技术切换 $(".qh_wzk").click(function() { $(this).addClass('active_qh').siblings().removeClass('active_qh'); $('.right_cont').find('.right_items').eq($(this).index()).addClass('show').siblings().removeClass('show'); }); // $("#c_static_001_P_1485-1649639965154 .e_form-13").click(function(){ if($("#c_static_001_P_1485-1649639965154 .e_form-13 .p_input").css("display")=="none"){ $("#c_static_001_P_1485-1649639965154 .e_form-13 .p_input").addClass("show") }else{ $("#c_static_001_P_1485-1649639965154 .e_form-13 .p_input").removeClass("show") } }); //手机端导航点击展开 $("#c_static_001_P_1485-16498324296900 .e_navigationA-6>.p_navButton").click(function(){ $("#c_static_001_P_1485-16498324296900 .e_navigationA-6 .p_navContent").addClass("show") }); $("#c_static_001_P_1485-16498324296900 .e_navigationA-6 .p_navContent>.p_navButton").click(function(){ $("#c_static_001_P_1485-16498324296900 .e_navigationA-6 .p_navContent").removeClass("show") }); //荣誉资质年份轮播 $("#prev").hide(); var a = -0.25; var b = -0.25; for (var i=0;i<100;i++){ $("#prev").click(function(){ $("#next").show() a = a + 0.25; var vright = a; $("#c_static_001-16509799555730 .p_v_list").css("transform","translate3d(" + vright + "%,0,0)"); if(a == b){ $("#prev").hide(); } }) $("#next").click(function(){ var d = $("#c_static_001-16509799555730 .e_loop-1 .p_v_item").length - 4; var c = -d * 25 - 0.25; $("#prev").show() var vleft = a $("#c_static_001-16509799555730 .p_v_list").css("transform","translate3d(" + vleft + "%,0,0)"); a = a-0.25; if(a == b){ $("#prev").hide(); }else if(a == c){ $("#next").hide(); } }) }; //监听用户放大浏览器页面适配 var li_h = window.location.host; //console.log(li_h,"是制作器") if(li_h = '2203225101.p.make.dcloud.portal1.portal.thefastmake.com'){ //console.log(li_h,"是制作器") $(".banner_lb video").addClass('heightauto') } var width2 = $(window).width(); if(width2<1540){ $("#content_box-16497244164620-0 video").addClass('showzx_1') $(".fixed_con").addClass('showzx_2') $("#c_static_363-16497246505021 .e_container-1").addClass('showzx_3') $("#content_box-16497246504870-0").addClass('showzx_4') $("#c_static_363-16497246505021 .e_text-3").addClass('showzx_5') $("#c_static_363-16497246505021 .e_text-34").addClass('showzx_6') $("#c_static_363-16497246505021 .e_container-36").addClass('showzx_7') $(".rightcircle").addClass('showzx_8') $(".leftcircle").addClass('showzx_8') $(".right").addClass('showzx_9') $(".left").addClass('showzx_9') $(".icon_k").addClass('showzx_8') $(".icon_k img").addClass('showzx_10') $(".qh_wzk").addClass('showzx_11') $(".icon_text").addClass('showzx_12') $("#c_effect_019-16497248791501").addClass('showzx_13') $("#content_box-16497251583520-0").addClass('showzx_16') $("#c_effect_019-16497248791501 .e_loop-60").addClass('showzx_14') $("#c_grid-16497251583520").addClass('showzx_15') $("#c_static_001-16497252964390 .e_container-1").addClass('showzx_16') $("#c_static_001-16497252964390 .e_bottomNav-29 .p_level1Box").addClass('showzx_17') $("#c_static_001-16497252964390 .e_container-1 .cbox-1-0").addClass('showzx_18') $("#c_static_001-16497252964390").addClass('showzx_19') } window.addEventListener("resize", function(){ var width1 = $(window).width() if(width1<1400){ $("#content_box-16497244164620-0 video").addClass('showzx_1') $(".fixed_con").addClass('showzx_2') $("#c_static_363-16497246505021 .e_container-1").addClass('showzx_3') $("#content_box-16497246504870-0").addClass('showzx_4') $("#c_static_363-16497246505021 .e_text-3").addClass('showzx_5') $("#c_static_363-16497246505021 .e_text-34").addClass('showzx_6') $("#c_static_363-16497246505021 .e_container-36").addClass('showzx_7') $(".rightcircle").addClass('showzx_8') $(".leftcircle").addClass('showzx_8') $(".right").addClass('showzx_9') $(".left").addClass('showzx_9') $(".icon_k").addClass('showzx_8') $(".icon_k img").addClass('showzx_10') $(".qh_wzk").addClass('showzx_11') $(".icon_text").addClass('showzx_12') $("#c_effect_019-16497248791501").addClass('showzx_13') $("#content_box-16497251583520-0").addClass('showzx_16') $("#c_effect_019-16497248791501 .e_loop-60").addClass('showzx_14') $("#c_grid-16497251583520").addClass('showzx_15') $("#c_static_001-16497252964390 .e_container-1").addClass('showzx_16') $("#c_static_001-16497252964390 .e_bottomNav-29 .p_level1Box").addClass('showzx_17') $("#c_static_001-16497252964390 .e_container-1 .cbox-1-0").addClass('showzx_18') $("#c_static_001-16497252964390").addClass('showzx_19') } }); })