-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathindex.html
executable file
·67 lines (58 loc) · 2.5 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<!-- 搜索 -->
<meta name='description' content="日记,标题日记,headline diary,人生日志,life log,日记应用,日记app,web版日记,diary web,纯文本日记,免费日记">
<meta name='keywords' content="日记,标题日记,headline diary,人生日志,life log,日记应用,日记app,web版日记,diary web,纯文本日记,免费日记">
<!-- web app -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="mobile-web-app-capable" content="yes">
<!-- theme color-->
<meta name="theme-color" content="#373737" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#1a1a1a" media="(prefers-color-scheme: dark)">
<!-- fav icon -->
<link rel="shortcut icon" href="./favicon.png" type="image/png">
<!-- apple-touch-icon -->
<link rel="apple-touch-icon" href="./appicon-apple.png">
<!-- mask-icon 目前非必须 -->
<link rel="mask-icon" href="./appicon-apple.png">
<title>日记</title>
<link rel="stylesheet" href="/preloading.css">
</head>
<body>
<!--加载动画-->
<div class="preloading">
<div class="logo-preloading">
<img src="/logo.svg" alt="LOGO">
</div>
<div class="preloading-title">载入中</div>
<div class="preloading-loading">
<div class="preloading-loading-1 preloading-loading-item"></div>
<div class="preloading-loading-2 preloading-loading-item"></div>
<div class="preloading-loading-3 preloading-loading-item"></div>
</div>
</div>
<noscript>
<strong>请开启JavaScript支持:未开启 JavaScript 支持的情况下,《标题日记》将无法正常工作</strong>
</noscript>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script>
setTimeout(() => {
if (!/^http:\/\/(a\.kylebing\.cn|localhost|192\.168\.\d{1,3}\.\d{1,3})/i.test(location.href)) {
let hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?31039acba0a804e8facb7ff1d6649e0b";
let s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
}
}, 1000)
</script>
</body>
<script>
document.querySelector('.preloading').style.height = `${innerHeight}px`
</script>
</html>