定時器
setInterval
用法
setInterval(()=>{
next();
},3000);
top切換:
$(this).addClass("active").siblings().removeClass("active");
$(
".top ul"
).eq
($
(
this).index()).show().siblings().hide();
overflow:hidden 隱藏樣式