index.html
1.3 KB
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
<!DOCTYPE html>
<html lang="zh-Hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, viewport-fit=cover">
<title>
<%= htmlWebpackPlugin.options.title %>
</title>
<meta name="keywords"
content="afk journey,AFK,AFK2,RPG,RPGGAMES,MMORPG,FREEGAME,FARLIGHT,IDLE RPG,Strategy RPG,Gacha,Journey,Open World" />
<link rel="icon"
href="https://oss-resource.farlightgames.com/p/SDK/200000/0/100000/2023-04-23/D:/img/f92c62a9048640b522cdb0fd00eb379b.ico">
</head>
<body>
<div id="app"></div>
</body>
<style>
.grecaptcha-badge {
display: none !important;
opacity: 0;
}
</style>
<script>
(function (win) {
var doc = win.document;
var docEl = doc.documentElement;
var tid;
function refreshRem () {
var width = docEl.getBoundingClientRect().width;
if (width > 600) { // 最大宽度
width = 600;
}
var rem = width / 10;
docEl.style.fontSize = rem + 'px';
}
win.addEventListener('resize', function () {
clearTimeout(tid);
tid = setTimeout(refreshRem, 300);
}, false);
win.addEventListener('pageshow', function (e) {
if (e.persisted) {
clearTimeout(tid);
tid = setTimeout(refreshRem, 300);
}
}, false);
refreshRem();
})(window);
</script>
</html>
</html>