Repository navigation
Expand file tree
/
Copy pathpreview.html
More file actions
95 lines (84 loc) · 2.13 KB
/
Copy pathpreview.html
File metadata and controls
95 lines (84 loc) · 2.13 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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ThreeFlow(3D场景编辑器)</title>
<style>
#loading-mark {
position: absolute;
inset: 0;
z-index: 2000;
width: 100%;
height: 100%;
.loading-box {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
transition: opacity 0.3s;
/* 更改背景渐变色为更柔和的色调 */
background: linear-gradient(135deg, #2a2a3e 0%, #1f2937 100%);
.loading {
width: 200px;
height: 120px;
text-align: center;
img {
width: 120px;
height: 120px;
/* 添加图片过渡效果 */
opacity: 0.9;
transition: opacity 0.3s;
}
}
.loading-txt {
margin-top: 12px;
font-size: 16px;
/* 更改文字颜色为更柔和的色调 */
color: #94a3b8;
text-align: center;
letter-spacing: 2px;
/* 添加更柔和的动画效果 */
animation: pulse 2s ease-in-out infinite;
}
}
}
/* 添加脉冲动画关键帧 */
@keyframes pulse {
0% {
opacity: 0.6;
}
50% {
opacity: 1;
}
100% {
opacity: 0.6;
}
}
</style>
</head>
<body>
<div id="app">
<div id="loading-mark">
<div class="loading-box">
<div class="loading">
<img src="./image/loading.svg" />
<div class="loading-txt">加载中...</div>
</div>
</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?afa5dc1945086e0af9ab9fee4b4365c9";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</html>