-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathindex.html
92 lines (85 loc) · 1.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link href="/LG.png" rel="icon" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Admin Frame</title>
</head>
<body>
<div id="app">
<div id="app">
<div class="preload-wrapper">
<div class="preload-container">
<p class="preload-name">Admin Frame</p>
<div class="loading"></div>
<p class="preload-title">加载资源中...</p>
<p class="preload-sub-title">
首次加载资源可能需要较多时间 请耐心等待
</p>
</div>
</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
<style>
* {
padding: 0;
margin: 0;
font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
"Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
.preload-wrapper {
display: flex;
flex-direction: column;
height: 100%;
background-color: #fff;
position: fixed;
left: 0;
top: 0;
height: 100%;
width: 100%;
z-index: 9999;
}
.preload-container {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 100%;
user-select: none;
flex-grow: 1;
}
.preload-name {
font-size: 32px;
color: #262626;
margin-bottom: 30px;
}
.preload-title {
color: #595959;
font-size: 14px;
margin: 30px 0 20px 0;
}
.preload-sub-title {
color: #8c8c8c;
font-size: 12px;
}
.loading {
width: 35px;
height: 35px;
border: 3px solid #409eff;
border-top-color: transparent;
border-radius: 100%;
animation: circle infinite 0.75s linear;
}
@keyframes circle {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
</style>