//=== 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 ===// /*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_input_02_02_1638325700639 ===// if($("#customForm_style_input_02_02_1638325700639 .div1").find("select").length=="2"){ $("#customForm_style_input_02_02_1638325700639 select").css("width","49%"); $("#customForm_style_input_02_02_1638325700639 #city").css("margin","0 0 0 2%"); }else if($("#customForm_style_input_02_02_1638325700639 .div1").find("select").length=="1"){ $("#customForm_style_input_02_02_1638325700639 select").css("width","100%"); } $("#customForm_style_input_02_02_1638325700639 select").change(function(){ if($("#customForm_style_input_02_02_1638325700639 #district option:selected").text()==""){ if($("#customForm_style_input_02_02_1638325700639 #city option:selected").text()==""){ $("#customForm_style_input_02_02_1638325700639 .adreecon").find("input").val(""+$("#customForm_style_input_02_02_1638325700639 #province option:selected").text()+""); }else{ $("#customForm_style_input_02_02_1638325700639 .adreecon").find("input").val(""+$("#customForm_style_input_02_02_1638325700639 #province option:selected").text()+"-"+$("#customForm_style_input_02_02_1638325700639 #city option:selected").text()+""); } }else{ $("#customForm_style_input_02_02_1638325700639 .adreecon").find("input").val(""+$("#customForm_style_input_02_02_1638325700639 #province option:selected").text()+"-"+$("#customForm_style_input_02_02_1638325700639 #city option:selected").text()+"-"+$("#customForm_style_input_02_02_1638325700639 #district option:selected").text()+"") } }) //遍历placesMap这个Json对象,根据key:value对创建place对象,并根据地区类型分类 var customForm_style_input_02_02_1638325700639provinces=new Array();//省数组 var customForm_style_input_02_02_1638325700639cities=new Array();//市数组 var customForm_style_input_02_02_1638325700639districts= new Array();//区数组 for (var key in placesMap){ var pl=new place(key,placesMap[key]); var ty=pl.PlaceType(); if(ty=="p"){ customForm_style_input_02_02_1638325700639provinces.push(pl); } if(ty=="c"){ customForm_style_input_02_02_1638325700639cities.push(pl); } if(ty=="d"){ customForm_style_input_02_02_1638325700639districts.push(pl); } } //初始化省下拉选择列表 for(var i=0;i-请选择市- '); if(pCode!=0){ for(var i=0;i-请选择区-'); var cCode=$(this).next("#city").val().slice(0, 4); if(cCode!=0){ for(var i=0;i-请选择区-');//清除区下拉列表旧选项 var cCode=$(this).val().slice(0, 4); if(cCode!=0){ for(var i=0;i 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:systemForm_form_02_1638325668136 ===// $(function(){ $("#form_systemForm_form_02_1638325668136 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_1692607235370 ===// 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_1692607235370(){ $("#dh_style_28_1692607235370 .menuUl>li").each(function(){ $(this).find(".menuUl03").css("left",'100%'); }) } $(window).resize(function() { subLeft_dh_style_28_1692607235370(); }) $(function(){ $("#dh_style_28_1692607235370 .fa-navicon").click(function(){ $("#dh_style_28_1692607235370").addClass('clearTransform'); $("#dh_style_28_1692607235370 .menuUlCopy").each(function(){ $(this).siblings(".fa").show(); }) }) subLeft_dh_style_28_1692607235370(); $("#dh_style_28_1692607235370 .subBox").css("top",$("#dh_style_28_1692607235370 .menuUl_box").height()); if($("#dh_style_28_1692607235370 .menuUl").hasClass("noHover")){ var tabNum = 0; $("#dh_style_28_1692607235370 .menuUl>li").find(".Onsub").each(function(){ tabNum += 1; $(this).parent().attr("tabNum",tabNum) }) $("#dh_style_28_1692607235370 .menuUl>li .Onsub").mouseover(function(){ $("#dh_style_28_1692607235370 .subBox").show(); var index = $(this).parent().attr("tabNum"); $("#dh_style_28_1692607235370 .subBox .subItems").eq(index-1).fadeIn(100).siblings().hide(); $("#dh_style_28_1692607235370 .subBox .subMenuImgArea .subMenuImgCon").eq(0).fadeIn(100).siblings().hide(); }) $("#dh_style_28_1692607235370 .subBox").mouseleave(function(){ $(this).hide(); }); $("#dh_style_28_1692607235370 .menuUl>li .Nosub").mouseover(function(){ $("#dh_style_28_1692607235370 .subBox").hide(); }) //风格41 42 } }) var color = $('#dh_style_28_1692607235370 .menuStyle_28 .menuUl02 .subMenu02').css('background-color'); $('#dh_style_28_1692607235370 .menuStyle_28').append(``); $('#dh_style_28_1692607235370 .menuStyle_28 .menuUl02 .subMenu02').mouseover(function(){ let that = $(this); setTimeout(function(){ var hoverColor = that.css('background-color'); $('#dh_style_28_1692607235370 .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 ===// LA.init({id: "JhnZNFcR8UhdlU3j",ck: "JhnZNFcR8UhdlU3j"})