-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupload.html
121 lines (121 loc) · 3.04 KB
/
upload.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
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
@import url('https://fonts.googleapis.com/css?family=ZCOOL+XiaoWei&display=swap&subset=chinese-simplified');
@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro&display=swap');
body {
background-image: url('https://box.poi.tech/ImgHub/FLOWER.jpg');
}
.wrapper {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.center {
width: 600px;
height: 370px;
position: relative;
overflow: hidden;
position: relative;
background-color: rgba(255,255,255,0.5);
}
#file {
display: none;
}
.title {
width: 100%;
text-align: center;
font-size: 24px;
}
.code {
width: 100%;
text-align: center;
margin-bottom: 20px;
font-size: 16px;
border: none;
background-color: rgba(255,255,255,0);
font-family: 'ZCOOL XiaoWei', serif;
}
.upload {
width: 200px;
height: 50px;
background-color: rgb(68,144,247);
font-weight: 700;
font-size: 18px;
border-radius: 5px;
border: 1px #CCCCCC;
color: #FFFFFF;
position: relative;
left: 50%;
top: 40%;
margin-left: -100px;
display: inline-block;
font-family: 'ZCOOL XiaoWei', serif;
}
.info {
width: 100%;
overflow: hidden;
position: relative;
top: 70%;
text-align: center;
font-family: 'ZCOOL XiaoWei', serif;
}
.status {
text-align: center;
margin-bottom: 20px;
font-size: 16px;
border: none;
background-color: rgba(255,255,255,0);
font-family: 'ZCOOL XiaoWei', serif;
}
.url {
width: 100%;
font-size: 18px;
text-align: center;
border: none;
background-color: rgba(255,255,255,0);
font-family: 'Source Code Pro', monospace;
}
.button {
display: inline-block;
width: 100%;
height: 100%;
line-height: 50px;
}
</style>
</head>
<body>
<div class="wrapper">
<div class="center">
<div class="title">
<h1>7️⃣🐮☁✔🐘💾🚀</h1>
</div>
<form action="" method="post" name="upload_form">
<div class="info">
<input type="text" class="code" name="code" placeholder="那么,请先告诉我你的邀请码" onfocus="clearDefault(this)" />
</div>
<div>
<input type="file" name="file" value="" id="file">
<button class="upload" type="button">
<label class="button" for="file">然后选择文件</label>
</button>
</div>
<div class="info">
<p>不要传黄暴涉政的东西,相信你们都是好孩子</p>
<input class="status" type="text" name="info" value="点上面选择文件上传"><br>
<input class="url" type="text" name="file_url" value="">
<input type="hidden" name="key" value="" id=""> <br/>
<input type="hidden" name="token" value=""> <br/>
<script type="text/javascript" src="./main.js"></script>
</div>
</form>
</div>
</div>
</body>
</html>