-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
77 lines (77 loc) · 2.75 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="keywords" content="周永举,个人博客,个人网站,Vue,免费听歌,海量歌曲,巅峰歌曲,热门歌曲,听歌,歌曲,MP3">
<meta name="description" content="www.zhouyongju.com/ebook,一个90后前端开发工程师的实验基地,海量免费歌曲在线听。此网站将会不定期运用各种前沿技术升级,望多留言提宝贵意见!">
<meta baidu-gxt-verify-token="09853849afca191c93ea21b3cdadb1b2">
<title>橘子音悦</title>
<link rel="shortcut icon" href="http://www.zhouyongju.com/music/resource/default.png" type="image/x-icon" />
<!-- PC端居中显示 -->
<link rel="stylesheet" href="http://www.zhouyongju.com/orange/css/musicPc.css">
</style>
<script>
function search(){
window.open("http://www.baidu.com/s?wd="+$("#input").val());
}
document.onkeydown = function(event) {
var e = event || window.event || arguments.callee.caller.arguments[0];
if (e && e.keyCode == 13) {
search();
}
};
</script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?de8658b669b6209fa589ee2de95dacf1";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script>
document.addEventListener('plusready', function() {
var webview = plus.webview.currentWebview();
plus.key.addEventListener('backbutton', function() {
webview.canBack(function(e) {
if (e.canBack) {
webview.back();
} else {
//webview.close(); //hide,quit
//plus.runtime.quit();
//首页返回键处理
//处理逻辑:1秒内,连续两次按返回键,则退出应用;
var first = null;
plus.key.addEventListener('backbutton', function() {
//首次按键,提示‘再按一次退出应用’
if (!first) {
first = new Date().getTime();
console.log('再按一次退出应用');
setTimeout(function() {
first = null;
}, 1000);
} else {
if (new Date().getTime() - first < 1500) {
plus.runtime.quit();
}
}
}, false);
}
})
});
});
</script>
</head>
<body>
<div class="phone">
<img src="http://www.zhouyongju.com/orange/img/music.png">
<span>手机在线体验</span>
<img src="http://www.zhouyongju.com/orange/img/musicapk.png">
<span>下载安卓App版本</span>
</div>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>