forked from yulimchen/vue3-h5-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (61 loc) · 1.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
<!DOCTYPE html>
<html lang="en">
<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,user-scalable=no"
/>
<link rel="icon" href="/favicon.ico" />
<title>vue3-h5-template</title>
</head>
<body>
<div id="app">
<style>
html,
body,
#app {
height: 100%;
margin: 0px;
padding: 0px;
width: 100%;
}
.__spinner-container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.__spinner {
position: relative;
width: 68px;
height: 68px;
background-color: #41b883;
animation: cube-shadow-spinner 1.8s cubic-bezier(0.75, 0, 0.5, 1)
infinite;
}
@keyframes cube-shadow-spinner {
50% {
border-radius: 50%;
transform: scale(0.5) rotate(360deg);
}
100% {
transform: scale(1) rotate(720deg);
}
}
</style>
<div class="__spinner-container">
<div class="__spinner"></div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
<% if (ENABLE_ERUDA === "true") { %>
<script src="//cdn.jsdelivr.net/npm/eruda"></script>
<script>
eruda.init();
</script>
<% } %>
</body>
</html>