generated from CherishMvp/uni-vue3-vite-ts-pinia
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
70 lines (70 loc) · 1.84 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title></title>
<!--preload-links-->
<!--app-context-->
</head>
<body>
<div id="app">
<style>
.loading-wrap {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
height: 90vh;
}
.dot {
display: flex;
flex-wrap: wrap;
width: 36px;
height: 36px;
transform: rotate(45deg);
animation: ant-rotate 1.2s infinite linear;
}
.dot i {
margin: 2px;
border-radius: 50%;
width: 14px;
height: 14px;
background-color: #1890ff;
opacity: 0.3;
animation: ant-spin-move 1s infinite linear alternate;
}
.dot i:nth-child(2) {
animation-delay: 0.4s;
}
.dot i:nth-child(3) {
animation-delay: 0.8s;
}
.dot i:nth-child(4) {
animation-delay: 1.2s;
}
@keyframes ant-rotate {
to {
transform: rotate(405deg);
}
}
@keyframes ant-spin-move {
to {
opacity: 1;
}
}
</style>
<div class="loading-wrap">
<div class="dot"><i></i><i></i><i></i><i></i></div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>