-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (54 loc) · 2.34 KB
/
Copy pathindex.html
File metadata and controls
56 lines (54 loc) · 2.34 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<link rel="icon" type="image/svg+xml" href="/logo.png"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>智澜·TS</title>
<!-- 预加载关键资源 -->
<link rel="preload" href="/logo.png" as="image" />
<style>
html, body { padding: 0; margin: 0; }
#app-loading {
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
display: flex; flex-direction: column; justify-content: center; align-items: center;
background: #fff; z-index: 9999;
transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
#app-loading.fade-out {
opacity: 0;
pointer-events: none;
}
.sk-cube-grid { width: 100px; height: 100px; margin: 20px; }
.sk-cube-grid .sk-cube {
width: 33%; height: 33%; float: left;
background: linear-gradient(135deg, #3B82F6, #60A5FA);
animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
border-radius: 4px; box-shadow: 0 0 4px rgba(64, 158, 255, 0.6);
}
.sk-cube1 { animation-delay: 0.2s; } .sk-cube2 { animation-delay: 0.3s; } .sk-cube3 { animation-delay: 0.4s; }
.sk-cube4 { animation-delay: 0.1s; } .sk-cube5 { animation-delay: 0.2s; } .sk-cube6 { animation-delay: 0.3s; }
.sk-cube7 { animation-delay: 0s; } .sk-cube8 { animation-delay: 0.1s; } .sk-cube9 { animation-delay: 0.2s; }
@keyframes sk-cubeGridScaleDelay { 0%, 70%, 100% { transform: scale3D(1, 1, 1); } 35% { transform: scale3D(0, 0, 1); } }
.loading-text { color: #409eff; font-size: 14px; margin-top: 10px; }
</style>
</head>
<body>
<div id="app-loading">
<div class="sk-cube-grid">
<div class="sk-cube sk-cube1"></div>
<div class="sk-cube sk-cube2"></div>
<div class="sk-cube sk-cube3"></div>
<div class="sk-cube sk-cube4"></div>
<div class="sk-cube sk-cube5"></div>
<div class="sk-cube sk-cube6"></div>
<div class="sk-cube sk-cube7"></div>
<div class="sk-cube sk-cube8"></div>
<div class="sk-cube sk-cube9"></div>
</div>
<span class="loading-text">正在加载中...</span>
</div>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>