This repository has been archived by the owner on Apr 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (74 loc) · 7.2 KB
/
index.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nashi Lazy Plugin</title>
</head>
<body>
<div id="app">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?0" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?1" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?2" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?3" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?4" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?5" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?6" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?7" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?8" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?9" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?10" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?11" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?12" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?13" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?14" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?15" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?16" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?17" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?18" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?19" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?20" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?21" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?22" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?23" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?24" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?25" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?26" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?27" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?28" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?29" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?30" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?31" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?32" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?33" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?34" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?35" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?36" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?37" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?38" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?39" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?40" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?41" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?42" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?43" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?44" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?45" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?46" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?47" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?48" src="https://via.placeholder.com/300" class="lazy" alt="">
<img data-src="https://www.baidu.com/img/flexible/logo/pc/index.png?49" src="https://via.placeholder.com/300" class="lazy" alt="">
</div>
<script src="https://unpkg.com/@akrc/nashi@latest/dist/legacy.js"></script>
<script type="module" src="/src/index.ts"></script>
<script>
var lazyConfig = {
selector: ".lazy",
placeholder: "https://via.placeholder.com/300",
loaderAttr: "data-src",
throttle: 100,
}
nashiLazy(lazyConfig);
</script>
</body>
</html>