//=== viewid:dh_style_35_1554720961241 ===// /*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_35_1554720961241 ===// 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_35_1554720961241(){ $("#dh_style_35_1554720961241 .menuUl>li").each(function(){ $(this).find(".menuUl03").css("left",'100%'); }) } $(window).resize(function() { subLeft_dh_style_35_1554720961241(); }) $(function(){ $("#dh_style_35_1554720961241 .fa-navicon").click(function(){ $("#dh_style_35_1554720961241").addClass('clearTransform'); $("#dh_style_35_1554720961241 .menuUlCopy").each(function(){ $(this).siblings(".fa").show(); }) }) subLeft_dh_style_35_1554720961241(); $("#dh_style_35_1554720961241 .subBox").css("top",$("#dh_style_35_1554720961241 .menuUl_box").height()); if($("#dh_style_35_1554720961241 .menuUl").hasClass("noHover")){ var tabNum = 0; $("#dh_style_35_1554720961241 .menuUl>li").find(".Onsub").each(function(){ tabNum += 1; $(this).parent().attr("tabNum",tabNum) }) $("#dh_style_35_1554720961241 .menuUl>li .Onsub").mouseover(function(){ $("#dh_style_35_1554720961241 .subBox").show(); var index = $(this).parent().attr("tabNum"); $("#dh_style_35_1554720961241 .subBox .subItems").eq(index-1).fadeIn(100).siblings().hide(); $("#dh_style_35_1554720961241 .subBox .subMenuImgArea .subMenuImgCon").eq(0).fadeIn(100).siblings().hide(); }) $("#dh_style_35_1554720961241 .subBox").mouseleave(function(){ $(this).hide(); }); $("#dh_style_35_1554720961241 .menuUl>li .Nosub").mouseover(function(){ $("#dh_style_35_1554720961241 .subBox").hide(); }) //椋庢牸41 42 } }) //=== viewid:prodPic_style_02_1482461252881 ===// if (typeof change_prod_spec_img_style_02 != "function") { function change_prod_spec_img_style_02(spec_img) { var view_id2 = $('.style_02.prodPic').attr('id'); window.clearInterval(window.timer); // 鐢佃剳绔 var first_li = $('.style_02.prodPic .diy_moreImg .diyproImgBox ul'); var proImgBox = $('.style_02.prodPic .diy_moreImg .diyproImgBox'); var img_str = $('.style_02.prodPic .diy_proImg #CurShowProImg'); if (first_li.length > 0) { if (typeof spec_img == "string") spec_img = spec_img.split(','); proImgBox.empty(); var temp_str = '