-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
158 lines (141 loc) · 4.05 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.svg" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="renderer" content="webkit" />
<meta
name="viewport"
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover"
/>
<title>编码计算器</title>
<style>
html,
body,
#app {
height: 100%;
margin: 0;
}
#init__loading__placeholder {
position: fixed;
top: 0;
left: 0;
z-index: 999;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.9);
}
#init__loading__placeholder .loading-title {
position: absolute;
top: 40%;
left: 50%;
margin-top: 40px;
margin-left: -70px;
color: #0299be;
font-size: 14px;
font-weight: 600;
letter-spacing: 2px;
}
#init__loading__placeholder .loading-grid {
position: absolute;
top: 40%;
left: 50%;
width: 30px;
height: 30px;
margin: -15px 0 0 -15px;
}
#init__loading__placeholder .loading {
width: 10px;
height: 10px;
background-color: #0299be;
float: left;
-webkit-animation: loading-grid-scale-delay 1.3s infinite ease-in-out;
animation: loading-grid-scale-delay 1.3s infinite ease-in-out;
}
#init__loading__placeholder .loading1 {
border-top-left-radius: 4px;
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s;
}
#init__loading__placeholder .loading2 {
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s;
}
#init__loading__placeholder .loading3 {
border-top-right-radius: 4px;
-webkit-animation-delay: 0.4s;
animation-delay: 0.4s;
}
#init__loading__placeholder .loading4 {
-webkit-animation-delay: 0.1s;
animation-delay: 0.1s;
}
#init__loading__placeholder .loading5 {
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s;
}
#init__loading__placeholder .loading6 {
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s;
}
#init__loading__placeholder .loading7 {
border-bottom-left-radius: 4px;
-webkit-animation-delay: 0s;
animation-delay: 0s;
}
#init__loading__placeholder .loading8 {
-webkit-animation-delay: 0.1s;
animation-delay: 0.1s;
}
#init__loading__placeholder .loading9 {
border-bottom-right-radius: 4px;
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s;
}
@-webkit-keyframes loading-grid-scale-delay {
0%,
70%,
100% {
-webkit-transform: scale3D(1, 1, 1);
transform: scale3D(1, 1, 1);
}
35% {
-webkit-transform: scale3D(0, 0, 1);
transform: scale3D(0, 0, 1);
}
}
@keyframes loading-grid-scale-delay {
0%,
70%,
100% {
-webkit-transform: scale3D(1, 1, 1);
transform: scale3D(1, 1, 1);
}
35% {
-webkit-transform: scale3D(0, 0, 1);
transform: scale3D(0, 0, 1);
}
}
</style>
</head>
<body>
<div id="app">
<div id="init__loading__placeholder">
<div class="loading-grid">
<div class="loading loading1"></div>
<div class="loading loading2"></div>
<div class="loading loading3"></div>
<div class="loading loading4"></div>
<div class="loading loading5"></div>
<div class="loading loading6"></div>
<div class="loading loading7"></div>
<div class="loading loading8"></div>
<div class="loading loading9"></div>
</div>
<div class="loading-title">加载中, 请耐心等待</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>