-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
125 lines (112 loc) · 2.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- //Android 禁止屏幕旋转 -->
<meta name="screen-orientation" content="portrait">
<!-- //全屏显示 -->
<meta name="full-screen" content="yes">
<!-- 关闭电话号码识别 -->
<meta name="format-detection" content="telephone=no" />
<!-- 开启邮箱识别 -->
<meta content="email=no" name="format-detection" />
<meta name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<title>Vite App</title>
<style>
.my-loading-container {
position: absolute;
left: 50%;
top: 50%;
bottom: 0;
right: 0;
transform: translate(-50%, -50%);
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #f0ebeb;
width: 100%;
height: 100%;
cursor: pointer;
font-size: 14px;
}
.my-loading-span {
position: relative;
display: inline-block;
font-size: 32px;
width: 1em;
height: 1em;
transform: rotateZ(45deg);
transition: transform .3s cubic-bezier(.78, .14, .15, .86);
animation: Rotate45 1.2s infinite linear;
}
.my-loading-span>i {
height: 14px;
width: 14px;
background-color: #00D8FF;
display: block;
position: absolute;
border-radius: 100%;
transform: scale(.75);
transform-origin: 50% 50%;
opacity: .3;
animation: myAnimationMove 1s infinite linear alternate;
}
.my-loading-span:nth-child(1) {
top: 0;
left: 0;
}
.my-loading-span :nth-child(2) {
top: 0;
right: 0;
animation-delay: .4s;
}
.my-loading-span :nth-child(3) {
bottom: 0;
right: 0;
animation-delay: .8s;
}
.my-loading-span :nth-child(4) {
left: 0;
bottom: 0;
animation-delay: 1.2s;
}
.my-loading-container>.my-text-container {
padding-top: 5px;
text-shadow: 0 1px 2px #fff;
color: #00D8FF;
font-variant: tabular-nums;
font-feature-settings: 'tnum';
font-size: 14px;
}
@keyframes Rotate45 {
to {
transform: rotate(405deg);
}
}
@keyframes myAnimationMove {
to {
opacity: 1;
}
}
</style>
</head>
<body>
<div class="my-loading-container" id="myLoadingContainer">
<span class="my-loading-span">
<i></i>
<i></i>
<i></i>
<i></i>
</span>
<div class="my-text-container">
Loading...
</div>
</div>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>