$(function(){ // 導航 $('#jsNav').children('li').on({ mouseover: function(){ $(this).children('a').addClass('hover').next('ul').stop().slideDown('fast'); }, mouseout: function(){ $(this).children('a').removeClass('hover').next('ul').stop().slideUp('fast'); } }); $('#header .site-topbar a').on({ mouseover: function(){ $(this).addClass('on'); }, mouseout: function(){ $(this).removeClass('on'); } }); // 分享二維碼 if($('div.sp-banner')[0]) { $(document.body).append('
掃描二維碼
即刻分享到手機