forked from Orginone/oiocns-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
91 lines (91 loc) · 2.2 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/img/logo/logo3.jpg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>资产共享云 </title>
<style>
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.screen {
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
overflow: hidden;
}
.screen .wating-text {
font-size: 0.86rem;
color: #acaaaa;
padding-top: 1rem;
}
.screen .loading-container {
position:relative;
width: 32px;
height: 32px;
overflow: hidden;
transform: rotate(45deg);
animation: preloader 1.2s infinite linear;
}
.loading-container i {
width: 12px;
height: 12px;
position:absolute;
background:#1890ff;
border-radius: 100%;
display:block;
transform-origin: 50% 50%;
opacity: .3;
animation: preloader_i 1.2s infinite linear;
}
.loading-container i:nth-child(1) {
top: 0;
left: 0;
}
.loading-container i:nth-child(2) {
top: 0;
right: 0;
animation-delay: 0.4s;
}
.loading-container i:nth-child(3) {
right: 0;
bottom: 0;
animation-delay: 0.8s;
}
.loading-container i:nth-child(4) {
bottom: 0;
left: 0;
animation-delay: 1.2s;
}
@keyframes preloader {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@keyframes preloader_i {
0% { opacity: .3; }
50% { opacity: 1; }
100% { opacity: .3; }
}
</style>
</head>
<body>
<div id="root">
<div class="screen">
<div class="loading-container">
<i></i>
<i></i>
<i></i>
<i></i>
</div>
<div class="wating-text">资源加载中...</div>
</div>
</div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>