首页>中国电力作家协会>最新动态
ottomS').siblings().removeClass('bottomS'); } clearTimeout(_timera); } else { $('.head-nav').find('li').eq(indexNav).removeClass('bottomS'); _timera = setTimeout(function () { $('.secondNavCon').addClass('hide') }, 2000); } $('.head-nav').find('li').eq(continueShow).addClass('bottomS'); }); $('.secondNavCon').on('mouseenter mouseleave', function (event) { if (event.type == 'mouseenter') { clearTimeout(_timera); $('.head-nav').find('li').eq(indexNav).addClass('bottomS').siblings().removeClass('bottomS'); $('.secondNavCon').find('.secondItem').eq(indexNav).css('display', 'block').siblings().css('display', 'none'); $('.secondNavCon').removeClass('hide'); } else { $('.head-nav').find('li').eq(indexNav).removeClass('bottomS'); $('.secondNavCon').addClass('hide'); } $('.head-nav').find('li').eq(continueShow).addClass('bottomS'); }); })