-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (70 loc) · 2.41 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
<!--
Kongying Tavern Genshin SPA V3.0
Released under the MulanPSL-1.0 License.
made with quasar(https://quasar.dev/)
#-->
<!DOCTYPE html>
<html>
<head>
<title>
原神地图-v3
</title>
<meta charset="utf-8">
<meta name="description" content="<%= productDescription %>">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta name="viewport"
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
<meta name="keywords" content="原神,原神地图,原神攻略,原神宝箱位置">
<meta name="description" content="空荧酒馆制作的原神全资源攻略地图。">
<link rel="icon" type="image/png" sizes="512x512" href="icons/favicon-512x512.png">
<link rel="icon" type="image/png" sizes="256x256" href="icons/favicon-256x256.png">
<link rel="icon" type="image/png" sizes="128x128" href="icons/favicon-128x128.png">
<link rel="icon" type="image/png" sizes="64x64" href="icons/favicon-64x64.png">
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
<link rel="icon" type="image/ico" href="favicon.ico">
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement('script')
window._hmt = _hmt; // 修改为window 全局变量
hm.src = 'https://hm.baidu.com/hm.js?cd4f7eed0a6e62d83b92c5dfb9f1a20f'
var s = document.getElementsByTagName('script')[0]
s.parentNode.insertBefore(hm, s)
})()
//防止IOS的缩放函数
window.onload = function () {
// 阻止双击放大
var lastTouchEnd = 0
document.addEventListener('touchstart', function (event) {
if (event.touches.length > 1) {
event.preventDefault()
}
})
document.addEventListener(
'touchend',
function (event) {
var now = new Date().getTime()
if (now - lastTouchEnd <= 300) {
event.preventDefault()
}
lastTouchEnd = now
},
false
)
// 阻止双指放大
document.addEventListener('gesturestart', function (event) {
event.preventDefault()
})
}
</script>
</head>
<body>
<!-- quasar:entry-point -->
</body>
<script>
// window.onbeforeunload = function () {
// return "123";
// }
</script>
</html>