//logo旁边的导航栏
$(function(){
//1.鼠标经过,当前li添加current1类,其余兄弟移类
$(".word li").mouseover(function(){
$(this).addClass("word ul li a.k").siblings().removeClass("word ul li a.k");
// $(this).css
// 2.鼠标滑过的同时,得到当前li的索引号
var index=$(this).index();
console.log(index);
// 3.让下面相对应索引号的section显示,其余的section隐藏
$(".tap_section .section").eq(index).show().siblings().hide();
})
})