轮播图数组

main
AviderMin 3 weeks ago
parent 38f84c4e93
commit 09e38bc54e

@ -26,7 +26,7 @@
</div> </div>
<div class="mainbody"> <div class="mainbody">
<div class="banner"> <div class="banner">
<img src="/pics/47202.jpg"> <img src="">
</div> </div>
<div class="newszy"> <div class="newszy">
@ -54,6 +54,10 @@
let pro = (window.pageYOffset / totalHight) * 100 let pro = (window.pageYOffset / totalHight) * 100
Prostick.style.width = pro + '%' Prostick.style.width = pro + '%'
}) })
const carouselImages = document.querySelector('.banner img')
document.addEventListener("DOMContentLoaded",function(){
const imgs =[]
})
</script> </script>
</body> </body>

Loading…
Cancel
Save