平滑的过渡效果没显示
$('#nextBtn').mouseenter(()=>{
if(intIntedex===listlength){
intIntedex=0;
$content.css({
"transition":`none`,
"transform":`translateX(-${outerWidth*intIntedex}px)`
})
}
})
$('#nextBtn').click(()=>{
intIntedex++;
$content.css({
'transition':`tranform ${transitionTime}s ease`,
'transform':`translateX(-${outerWidth*intIntedex}px)`
})
intIntedex === listlength?intIntedex=0:'';
})