//=== viewid:dh_style_11_1547122568954,dh_style_28_1692335372111,dh_style_28_1692335876140,dh_style_28_1692264276315,dh_style_28_1692264307738,dh_style_28_1692335387158,dh_style_28_1610608763424 ===// /*pc,手机显示隐藏*/ function is_mobile(){ return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767); } var is_mobile_boolean = is_mobile(); $(function(){ /*pc,手机显示隐藏*/ }) //=== viewid:dh_style_11_1547122568954 ===// function navSwtich(obj) { $(obj).siblings(".menuUlCopy").slideToggle(200); $(obj).toggleClass('ontoggle'); $(obj).parent().siblings().find(".menuUlCopy").slideUp(200); $(obj).parent().siblings().find(".fa-angle-down").removeClass('ontoggle'); } function subLeft_dh_style_11_1547122568954(){ $("#dh_style_11_1547122568954 .menuUl>li").each(function(){ $(this).find(".menuUl03").css("left",'100%'); }) } $(window).resize(function() { subLeft_dh_style_11_1547122568954(); }) $(function(){ $("#dh_style_11_1547122568954 .fa-navicon").click(function(){ $("#dh_style_11_1547122568954").addClass('clearTransform'); $("#dh_style_11_1547122568954 .menuUlCopy").each(function(){ $(this).siblings(".fa").show(); }) }) subLeft_dh_style_11_1547122568954(); $("#dh_style_11_1547122568954 .subBox").css("top",$("#dh_style_11_1547122568954 .menuUl_box").height()); if($("#dh_style_11_1547122568954 .menuUl").hasClass("noHover")){ var tabNum = 0; $("#dh_style_11_1547122568954 .menuUl>li").find(".Onsub").each(function(){ tabNum += 1; $(this).parent().attr("tabNum",tabNum) }) $("#dh_style_11_1547122568954 .menuUl>li .Onsub").mouseover(function(){ $("#dh_style_11_1547122568954 .subBox").show(); var index = $(this).parent().attr("tabNum"); $("#dh_style_11_1547122568954 .subBox .subItems").eq(index-1).fadeIn(100).siblings().hide(); $("#dh_style_11_1547122568954 .subBox .subMenuImgArea .subMenuImgCon").eq(0).fadeIn(100).siblings().hide(); }) $("#dh_style_11_1547122568954 .subBox").mouseleave(function(){ $(this).hide(); }); $("#dh_style_11_1547122568954 .menuUl>li .Nosub").mouseover(function(){ $("#dh_style_11_1547122568954 .subBox").hide(); }) //风格41 42 } }) //=== viewid:searchbox_style_03_1594112302943 ===// $("#searchbox_style_03_1594112302943 .search-btn").click(function(){ var kw=$("#searchbox_style_03_1594112302943 .search_input").val(); var gourl = $(this).attr("attrhref"); href = gourl+(gourl.indexOf('?')>-1?'&':'?')+"pkeyword="+kw; location.href = href; }) function searchOne(lname){ var gourl = $(lname).attr("attrhref"); href = gourl+(gourl.indexOf('?')>-1?'&':'?')+"pkeyword="+$(lname).html(); location.href = href; } $("#searchbox_style_03_1594112302943 .search_input").val(decodeURIComponent(Request("pkeyword"))); function goSearch(form) { console.log('form: ', form); $(form).find('.search-btn').trigger('click'); return false; } //=== viewid:text_default_1594179296751 ===// //=== viewid:video_style_03_1612499331056 ===// $(document).ready(function(){ }); //=== viewid:video_style_03_1612499331056 ===// $('#video_style_03_1612499331056 .videoStyle03 iframe').removeAttr('width').removeAttr('height'); //=== viewid:video_style_03_1612499331056 ===// var video = $("#video_style_03_1612499331056 video")[0]; if(video) { video.addEventListener('playing',function(){ var this1 = this; this1.play(); for(var j=$('video').length-1; j>=0; j--) { var this2 = $('video')[j]; if(this1 !== this2) { this2.pause(); } } }); } //=== viewid:dh_style_28_1610608763424 ===// function navSwtich(obj) { $(obj).siblings(".menuUlCopy").slideToggle(200); $(obj).toggleClass('ontoggle'); $(obj).parent().siblings().find(".menuUlCopy").slideUp(200); $(obj).parent().siblings().find(".fa-angle-down").removeClass('ontoggle'); } function subLeft_dh_style_28_1610608763424(){ $("#dh_style_28_1610608763424 .menuUl>li").each(function(){ $(this).find(".menuUl03").css("left",'100%'); }) } $(window).resize(function() { subLeft_dh_style_28_1610608763424(); }) $(function(){ $("#dh_style_28_1610608763424 .fa-navicon").click(function(){ $("#dh_style_28_1610608763424").addClass('clearTransform'); $("#dh_style_28_1610608763424 .menuUlCopy").each(function(){ $(this).siblings(".fa").show(); }) }) subLeft_dh_style_28_1610608763424(); $("#dh_style_28_1610608763424 .subBox").css("top",$("#dh_style_28_1610608763424 .menuUl_box").height()); if($("#dh_style_28_1610608763424 .menuUl").hasClass("noHover")){ var tabNum = 0; $("#dh_style_28_1610608763424 .menuUl>li").find(".Onsub").each(function(){ tabNum += 1; $(this).parent().attr("tabNum",tabNum) }) $("#dh_style_28_1610608763424 .menuUl>li .Onsub").mouseover(function(){ $("#dh_style_28_1610608763424 .subBox").show(); var index = $(this).parent().attr("tabNum"); $("#dh_style_28_1610608763424 .subBox .subItems").eq(index-1).fadeIn(100).siblings().hide(); $("#dh_style_28_1610608763424 .subBox .subMenuImgArea .subMenuImgCon").eq(0).fadeIn(100).siblings().hide(); }) $("#dh_style_28_1610608763424 .subBox").mouseleave(function(){ $(this).hide(); }); $("#dh_style_28_1610608763424 .menuUl>li .Nosub").mouseover(function(){ $("#dh_style_28_1610608763424 .subBox").hide(); }) //风格41 42 } }) var color = $('#dh_style_28_1610608763424 .menuStyle_28 .menuUl02 .subMenu02').css('background-color'); $('#dh_style_28_1610608763424 .menuStyle_28').append(``); $('#dh_style_28_1610608763424 .menuStyle_28 .menuUl02 .subMenu02').mouseover(function(){ let that = $(this); setTimeout(function(){ var hoverColor = that.css('background-color'); $('#dh_style_28_1610608763424 .menuStyle_28').append(``); },100); }); //=== viewid:text_default_1692335372115,text_default_1692335876144,text_default_1692264276318,text_default_1692264307741,text_default_1692335387160,text_default_1610608763433 ===// LA.init({id: "JhnZNFcR8UhdlU3j",ck: "JhnZNFcR8UhdlU3j"})