-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpaint.html
80 lines (80 loc) · 2.13 KB
/
paint.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HelloWorld!</title>
<style>
.next{
display: none;
width: 600px;
height: 400px;
margin: auto;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
font-family: 微软雅黑;
font-size: 48px;
text-align: center;
line-height: 400px;
background:white;
z-index: 999;
}
.cat{
margin-top: 50px;
}
.count{
width: 200px;
margin:auto;
font-family: 微软雅黑;
font-size: 48px;
color:white;
}
.count div{
display: inline-block;
margin-bottom: 50px;
}
#can{
display:none;
}
#game{
max-width: 940px;
margin:auto;
}
#game li{
display: inline-block;
}
</style>
<script src="js/jquery-3.4.1.js"></script>
<script src="js/jCanvas.js"></script>
<script src="js/puzzle.js"></script>
</head>
<body>
<div class="next">
<span>点击进入下一关</span>
</div>
<div>
<canvas id="can" width="300" height="300"></canvas>
<div class="cat">
<div class="count">
<div>第</div>
<div id="step">0</div>
<div>步</div>
</div>
<ul id="game">
<li><img src="" alt="" draggable="true" id="0"></li>
<li><img src="" alt="" draggable="true" id="1"></li>
<li><img src="" alt="" draggable="true" id="2"></li>
<li><img src="" alt="" draggable="true" id="3"></li>
<li><img src="" alt="" draggable="true" id="4"></li>
<li><img src="" alt="" draggable="true" id="5"></li>
<li><img src="" alt="" draggable="true" id="6"></li>
<li><img src="" alt="" draggable="true" id="7"></li>
<li><img src="" alt="" draggable="true" id="8"></li>
</ul>
</div>
</div>
</body>
</html>