forked from PaddlePaddle/Paddle.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (45 loc) · 1.1 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>1000-Clas in WebWorker</title>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<style>
.wrapper {
text-align: center;
}
#loading {
position: fixed;
top: 0;
left: 0;
z-index: 10;
width: 100vw;
height: 100vh;
line-height: 100vh;
background-color: rgba(0, 0, 0, .4);
color: #fff;
text-align: center;
font-size: 16px;
}
.title {
font-size: 30px;
font-weight: 700;
padding: 20px 0;
}
#image {
height: 400px;
display: inline-block;
}
</style>
</head>
<body>
<div class="wrapper">
<p class="title">1000-Clas in WebWorker</p>
<img id="image" src="./lego.png" /><br/>
<span>上传图片:</span>
<input type="file" id="uploadImg">
<p id="result"></p>
</div>
<div id="loading">loading...</div>
</body>
</html>