-
Notifications
You must be signed in to change notification settings - Fork 0
/
share.html
52 lines (48 loc) · 1.21 KB
/
share.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>贪吃蛇</title>
<link href="./css/main.css" rel="stylesheet"/>
</head>
<body>
<div class="main">
<img src="./img/start/bg.png" style="width: 100%; height: 100%">
<div class="main-bg">
<img src="img/start/base-bg.png" style="width: 100%; height: 100%"/>
<div class="share-score">
<div class="score-text">
<img src="./img/game/score.png"/>
</div>
<div class="score-val">
<span></span>
</div>
</div>
<div class="share-text">
<img src="./img/prize/share-text.png"/>
</div>
<div class="share-btn">
<img src="./img/prize/go-share.png"/>
</div>
</div>
<div class="mask">
<div class="share-tip">
<img src="./img/prize/share-tip.png"/>
</div>
</div>
</div>
</body>
<script src="./bower_components/zepto/zepto.min.js"></script>
<script src="./js/common.js"></script>
<script>
document.body.addEventListener('touchmove', function(evt) {
if(!evt._isScroller) {
evt.preventDefault();
}
$(".score-val span").text(getUrlParam("s"));
});
$(function(){
init($(".main")[0]);
});
</script>
</html>