'; $(".localNavTip,#mob_localNav_mask").unbind().on('click',function(event) { if($("body").hasClass('openlocNav') || $(event.currentTarget).attr("id")=="mob_localNav_mask"){ $('body').removeClass('openlocNav'); $('#webLocaltion').html(''); }else{ $('body').removeClass('openNav'); $('body').addClass('openlocNav'); $('#webLocaltion').html(''); $('#webLocaltion').append(html); } }); if(tempNum){ $(mdIdEl+".localNavTip ").show(); } else{ $(mdIdEl+".localNavTip ").hide(); } if("003"=="010") { lineSwiper(0); } function lineSwiper(activeNum) { require(["weui/js/swiper.min","css!csspath/css/swiper.min.css"], function() { var swiper = new Swiper('#localNavbar010', { slidesPerView: 'auto', initialSlide:activeNum, prevButton:'#localSlideLeft', nextButton:'#localSlideRight' }); }); } })