-
Notifications
You must be signed in to change notification settings - Fork 40
/
index.html
111 lines (85 loc) · 2.95 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!doctype html>
<html lang="zh" class="no-js">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IPFS PHOTO SHARE</title>
<link href='https://fonts.geekzu.org/css?family=Source+Sans+Pro:400,300,700,400italic' rel='stylesheet'
type='text/css'>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ChenYFan-Tester/ipfscloud/css/style.css">
<style>
.grecaptcha-badge {
display: none !important;
}
@media only screen and (max-width: 900px) {
.unset {
transform: unset !important;
}
}
</style>
<script src="https://cdn.jsdelivr.net/gh/ChenYFan-Tester/ipfscloud/js/modernizr.js"></script> <!-- Modernizr -->
</head>
<body>
<div style="
position:fixed;
top: 0;
left: 0;
width:100%;
height:100%;
min-width: 1000px;
z-index:-10;
zoom: 1;
background-color: #fff;
background-repeat: no-repeat;
background-size: cover;
-webkit-background-size: cover;
-o-background-size: cover;
background-position: center 0;
background-image: url(https://cdn.jsdelivr.net/npm/chenyfan-acg-bg@0.0.9/22.jpg);"></div>
<div class="cd-intro-block">
<div class="content-wrapper">
<div class="htmleaf-header">
<h1>IPFS PHOTO SHARE <span>最大100MB · 无限制 · 开放 · 共享的图片分享</span></h1>
<a class='cd-btn' href="javascript:document.getElementById('file').click();">上传文件</a>
<input type="file" id="file" style="display:none">
</div>
<a class='cd-btn' href="javascript:void(0)" data-action="show-projects">查看分享</a>
</div>
</div>
<div class="cd-projects-wrapper">
<ul class="cd-slider">
</ul>
<ul class="cd-slider-navigation cd-img-replace">
<li><a href="#0" class="prev inactive">上一个</a></li>
<li><a href="#0" class="next">下一个</a></li>
</ul>
</div> <!-- .cd-projects-wrapper -->
<script src="https://cdn.jsdelivr.net/npm/sweetalert"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery@2.1.1"></script>
<script src="https://cdn.jsdelivr.net/gh/ChenYFan-Tester/ipfscloud/js/jquery.mobile.custom.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ChenYFan-Tester/ipfscloud/js/main.js"></script>
<script>
window.loadJS = (url, callback) => {
var script = document.createElement('script'),
fn = callback || function () { };
script.type = 'text/javascript';
if (script.readyState) {
script.onreadystatechange = function () {
if (script.readyState == 'loaded' || script.readyState == 'complete') {
script.onreadystatechange = null;
fn();
}
};
} else {
script.onload = function () {
fn();
};
}
script.src = url;
document.getElementsByTagName('head')[0].appendChild(script);
}
loadJS('/custom', () => { console.log('JS已加载') })
</script>
</body>
</html>