var w001_index_header_1 = {}; // 鍒ゆ柇鏄惁鏀惧緱涓 w001_index_header_1.nav = { change(el){ if(el.hasClass('hide-active')){ $('.w001_index_header_1').addClass('pc_app') }else{ $('.w001_index_header_1').removeClass('pc_app') } } }; w001_index_header_1.search = { show(el){ ly2.popup2.show(el, '/search-popup', {}, { callback(res){ console.log(res) } }) }, }; var lyuiheader_nav_001 = {}; // 鍒ゆ柇瀵艰埅鏄惁鏀惧緱涓 lyuiheader_nav_001.nav_width = { compare(el){ let nav_width = 0; let auto_width = $(el).width(); $(el).find('.lyuiheader_nav_001-li').each(function(){ nav_width += $(this).outerWidth() }) if(nav_width > auto_width || window.innerWidth < 800){ $(el).addClass('hide-active') }else{ $(el).removeClass('hide-active') } }, go(){ let _thi = this; $('.lyuiheader_nav_001').each(function(e){ _thi.compare(this); }); } }; $$My.setTime(()=>{lyuiheader_nav_001.nav_width.go()}, 10);; ; ; ; $$My.setTime(()=>{ let ifr = document.getElementById('temp_zml_custom_editor_77Ifr'); if (ifr && ifr.contentWindow && ifr.contentWindow.document.body) { let body = ifr.contentWindow.document.body; // 瀛恑frame楂樺害鑷€傚簲 ifr.style.height = `${body.scrollHeight}px`; // 灏哸鏍囩鍏ㄩ儴 target="_blank" 鏀规垚 _top body.querySelectorAll('a').forEach((v)=>{ v.target = '_top'; }); } }, 9);; ; $(function(){ }); ; ; ; $(function(){ }); ; ; ; $(document).on('click','#temp_wcb_footer_footer04_2_nav_app .dl .dt',function(){ var el = $(this); if(!el.next('.dd').find('a').size()){return} if(el.hasClass('cur')){ el.removeClass('cur') }else{ el.addClass('cur') } el.parent('.dl').find('.dd').slideToggle(500) el.parent('.dl').siblings().find('.dd').slideUp(500) }); ;