Compare commits

..

No commits in common. '74fbfc6e1ef54223d086900113a8e3d7fc6a3227' and '58e998d0c56e3eb75708051b3e0adf8c2f369522' have entirely different histories.

@ -0,0 +1,15 @@
{
// 使 IntelliSense
//
// 访: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "针对 localhost 启动 Chrome",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}

@ -38,10 +38,6 @@
width: 100%;
height:210px;
overflow: hidden;
transition: 0.8s;
}
.boxcover img:hover{
transform: scale(1.1);
}
.boxinfo{
background-color: #ebebeb;

@ -10,8 +10,7 @@
margin-bottom: 30px;
}
.banner img{
width: 100%;
height: 400px;
justify-content: baseline;
}
.newszy{
background-color: skyblue;

@ -45,27 +45,6 @@
<script>
let totalHight;
let Prostick;
const imgs = document.querySelector('.banner img')
let Picsrc = [
{ src: 'pics/43401.png' },
{ src: 'pics/43402.png' },
{ src: 'pics/47202.jpg' },
{ src: 'pics/47204.jpg' }
]
let i = 0
setInterval(function Imgs() {
if (i < Picsrc.length) {
imgs.src = Picsrc[i].src
console.log(i)
i++
if (i == Picsrc.length) {
i = 0
}
}
}, 2000)
window.addEventListener('load', function () {
imgs.src = Picsrc[0].src
})
document.addEventListener("DOMContentLoaded", function () {
let imgs = [];

Loading…
Cancel
Save