/
index.html
110 lines (94 loc) · 3 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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8" />
<title>Search X</title>
<meta name="keywords" content="Threejs,html5,game" />
<meta name="description" content="html5小游戏,使用threejs框架" />
<script type="text/javascript" src="libs/jquery/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="libs/jquery.confirm/jquery.confirm.js"></script>
<script type="text/javascript" src="libs/threejs/three.min.js"></script>
<script type="text/javascript" src="libs/threejs/threex.dynamictexture.js"></script>
<script type="text/javascript" src="libs/common/hashtable.js"></script>
<script type="text/javascript" src="js/SearchX.js"></script>
<script type="text/javascript" src="js/Pool.js"></script>
<script type="text/javascript" src="js/Cube.js"></script>
<script type="text/javascript" src="js/PosUtil.js"></script>
<script type="text/javascript" src="js/Main.js"></script>
<link rel="stylesheet" href="libs/jquery.confirm/jquery.confirm.css">
<style>
body {
margin: 0 auto;
background: #E8E7E7;
}
div#start {
padding: 1em;
position: absolute;
width: 24em;
height: 12em;
left: 50%;
top: 50%;
margin-left: -12em;
margin-top: -6em;
border: 1px dotted #aaaaaa;
}
div#start p {
line-height: 2em;
}
#startGame {
text-align: center;
margin-top: 2em;
}
#startGame button {
font-size: 1em;
cursor: hand;
cursor: pointer;
}
div#canvasFrame {
width: 100%;
height: 100%;
margin: 0 auto;
overflow: hidden;
}
div#tip {
width: 100%;
min-width: 42em;
margin: 0 auto;
height: 2.5em;
padding-top: 0.3em;
background: #004A47;
text-align: center;
color: #fff;
}
#tip #content {
width: 42em;
margin: 0 auto;
}
.msg {
width: 8em;
font-size: 1.2em;
float: left;
text-align: left;
height: 2em;
line-height: 2em;
color: white;
font-family: Verdana, Geneva, sans-serif;
/*border-right: 1px dotted white;*/
/*padding: 0 20px;*/
}
</style>
</head>
<body>
<div id="game" >
<div id="canvasFrame"></div>
<div id="tip">
<div id="content">
<div class="msg" style="width: 10em">请在上面找出"<span id="target"></span>"</div>
<div class="msg">剩余时间:<span id="time"></span></div>
<div class="msg" style="width: 7em;">得分:<span id="score"></span></div>
<div class="msg" >最高得分:<span id="maxScore"></span></div>
</div>
</div>
</div>
</body>
</html>