//=== 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,dh_style_28_1692334971057,dh_style_28_1692334987161,dh_style_28_1692335841898,dh_style_28_1692335355840,dh_style_28_1692335004539,dh_style_28_1692335339100,dh_style_28_1692335157000,dh_style_28_1692607235370,dh_style_28_1692335732789 ===// /*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:customForm_style_button_01_1638325700643,customForm_style_button_01_1611800406613 ===// function btnTop(){$("html,body").animate({scrollTop:"0px"},1000);}function btnBottom(){var bodyH = $("html,body").height();$("html,body").animate({scrollTop:bodyH},1000);} //=== viewid:customForm_style_button_01_1638325700643,customForm_style_button_01_1611800406613 ===// if(typeof showcart !== 'function'){ function showcart(){ var langid = 0; if (langid==0 && BodyIsFt) langid = 1; if(window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767)){ location.href = "https://box6js.nicebox.cn/exusers/u_cart.php?idweb=27175&act=show&lang="+langid+"&ismobile=1"; }else{ document.getElementById("boxName").innerHTML=""; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="×"; document.getElementById("showiframe").src="https://box6js.nicebox.cn/exusers/u_cart.php?idweb=27175&act=show&lang="+langid+"&v=9"; box.Show({width:'1000px', height:'600px'}); } } } //=== viewid:customForm_form_1611800406421 ===// $(function(){ $("#form_customForm_form_1611800406421 input,select,textarea").each(function(){ var typename = $(this).attr("type"); if(typename=="hidden") return; $(this).attr('tabindex', $(this).offset().top); }); }); window.addEventListener('pageshow', function(event) { var historyTraversal = event.persisted || (typeof window.performance != 'undefined' && window.performance.navigation.type === 2); if (historyTraversal) { // 通过返回上一页进入时触发 hideFormTipView(); $('.style_verification_01 .input_view img').attr('src','//box6js.nicebox.cn/exusers/codeimg.php?sign=customForm&rnd=' + Date.parse(new Date())); } }); function submitForm(form){ showFormTipView(); if (!CheckForm(form)){ hideFormTipView(); return false; } return true; } function showFormTipView(){ if($(".showFormTipView").length > 0){ $(".showFormTipView").show(); $("#showFormTipOverlay").show(); }else{ let html = `
该表单正在提交中,请稍等并且不要重复提交。
`; $('body').append(html); } } function hideFormTipView(){ $(".showFormTipView").hide(0); $("#showFormTipOverlay").hide(0); } //=== viewid:dh_style_28_1692335732789 ===// 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_1692335732789(){ $("#dh_style_28_1692335732789 .menuUl>li").each(function(){ $(this).find(".menuUl03").css("left",'100%'); }) } $(window).resize(function() { subLeft_dh_style_28_1692335732789(); }) $(function(){ $("#dh_style_28_1692335732789 .fa-navicon").click(function(){ $("#dh_style_28_1692335732789").addClass('clearTransform'); $("#dh_style_28_1692335732789 .menuUlCopy").each(function(){ $(this).siblings(".fa").show(); }) }) subLeft_dh_style_28_1692335732789(); $("#dh_style_28_1692335732789 .subBox").css("top",$("#dh_style_28_1692335732789 .menuUl_box").height()); if($("#dh_style_28_1692335732789 .menuUl").hasClass("noHover")){ var tabNum = 0; $("#dh_style_28_1692335732789 .menuUl>li").find(".Onsub").each(function(){ tabNum += 1; $(this).parent().attr("tabNum",tabNum) }) $("#dh_style_28_1692335732789 .menuUl>li .Onsub").mouseover(function(){ $("#dh_style_28_1692335732789 .subBox").show(); var index = $(this).parent().attr("tabNum"); $("#dh_style_28_1692335732789 .subBox .subItems").eq(index-1).fadeIn(100).siblings().hide(); $("#dh_style_28_1692335732789 .subBox .subMenuImgArea .subMenuImgCon").eq(0).fadeIn(100).siblings().hide(); }) $("#dh_style_28_1692335732789 .subBox").mouseleave(function(){ $(this).hide(); }); $("#dh_style_28_1692335732789 .menuUl>li .Nosub").mouseover(function(){ $("#dh_style_28_1692335732789 .subBox").hide(); }) //风格41 42 } }) var color = $('#dh_style_28_1692335732789 .menuStyle_28 .menuUl02 .subMenu02').css('background-color'); $('#dh_style_28_1692335732789 .menuStyle_28').append(``); $('#dh_style_28_1692335732789 .menuStyle_28 .menuUl02 .subMenu02').mouseover(function(){ let that = $(this); setTimeout(function(){ var hoverColor = that.css('background-color'); $('#dh_style_28_1692335732789 .menuStyle_28').append(``); },100); }); //=== viewid:text_default_1692335372115,text_default_1692335876144,text_default_1692264276318,text_default_1692264307741,text_default_1692335387160,text_default_1610608763433,text_default_1692334971059,text_default_1692334987166,text_default_1692335841901,text_default_1692335355843,text_default_1692335004542,text_default_1692335339103,text_default_1692335157003,text_default_1692607235373,text_default_1692335732791 ===// LA.init({id: "JhnZNFcR8UhdlU3j",ck: "JhnZNFcR8UhdlU3j"})