-
Notifications
You must be signed in to change notification settings - Fork 0
/
gallery.html
executable file
·57 lines (57 loc) · 1.73 KB
/
gallery.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html>
<head>
<title>图片大图</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
">
<link rel="stylesheet" href="lib/weui.min.css">
<link rel="stylesheet" href="css/jquery-weui.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body ontouchstart>
<div class="weui-gallery" style="display: block">
<span class="weui-gallery__img" style="background-image: url(./upload/ban2.jpg);"></span>
</div>
<script src="lib/jquery-2.1.4.js"></script>
<script src="lib/fastclick.js"></script>
<script>
$(function() {
FastClick.attach(document.body);
});
</script>
<script src="js/jquery-weui.js"></script>
<script src="js/swiper.js"></script>
<script>
$(".swiper-banner").swiper({
loop: true,
autoplay: 3000
});
$(".swiper-news").swiper({
loop: true,
direction: 'vertical',
paginationHide :true,
autoplay: 30000
});
$(".swiper-jingxuan").swiper({
pagination: '.swiper-pagination',
loop: true,
paginationType:'fraction',
slidesPerView:3,
paginationClickable: true,
spaceBetween: 2
});
$(".swiper-jiushui").swiper({
pagination: '.swiper-pagination',
paginationType:'fraction',
loop: true,
slidesPerView:3,
slidesPerColumn: 2,
paginationClickable: true,
spaceBetween:2
});
</script>
</body>
</html>