first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" href="css/swiper.css">
<script src="js/swiper.js"></script>
</head>
<body>
<div class="app"></div>
</body>
<script>
var aaaa = [
{ img: './img/1.jpeg', href: '', title: '哈哈' },
{ img: './img/2.jpg',href: '', title: '妮妮' },
{ img: './img/3.jpg', href: '', title: '开心' }
];
new Swiper({
el: '.app',
time: 1,
isAction: true,
data: aaaa,
imgClick: function (el,index) {
console.log(el)
console.log(index)
}
});
</script>
</html>