forked from honghu91/musicmess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
29 lines (29 loc) · 906 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>We play birds</title>
<style>
.desc{display:block;width:1000px;height:400px;margin: 75px auto;background:url(css/image/desc.png) no-repeat;}
</style>
</head>
<body>
<a id="desc" href="#" class="desc" title="点击开始玩"></a>
<script src="http://cdn.qplus.com/js/qplus.api.js"></script>
<script type="text/javascript">
qplus.on( "app.pushParam", function(json){
var name = json.pushParam;
//name = "beat1_boom_a";
if(name){
window.location = "sing.html" + window.location.search + "&name=" + name;
}
});
</script>
<script type="text/javascript" charset="utf-8">
document.getElementById("desc").addEventListener('click',function(e){
//window.location = "sing.html";
window.location = "play.html" + window.location.search;
},false);
</script>
</body>
</html>