-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
97 lines (84 loc) · 2.77 KB
/
index.html
File metadata and controls
97 lines (84 loc) · 2.77 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
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>作品集 - 加载中...</title>
<link rel="stylesheet" href="./main.css">
<link rel="stylesheet" href="//apps.bdimg.com/libs/jqueryui/1.10.4/css/jquery-ui.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="//apps.bdimg.com/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
<script src="./main.js"></script>
<!-- 重定向到Vue应用 -->
<script>
// 延迟重定向,让用户看到加载页面
setTimeout(function() {
window.location.href = './my-profile/dist/index.html';
}, 2000); // 2秒后重定向
</script>
<style>
/* 加载页面样式 */
.loading-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
font-family: 'Arial', sans-serif;
}
.loading-spinner {
width: 50px;
height: 50px;
border: 4px solid rgba(255, 255, 255, 0.3);
border-top: 4px solid white;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-bottom: 20px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.loading-text {
font-size: 24px;
font-weight: 300;
margin-bottom: 10px;
}
.loading-subtitle {
font-size: 16px;
opacity: 0.8;
}
.loading-progress {
width: 200px;
height: 4px;
background: rgba(255, 255, 255, 0.3);
border-radius: 2px;
margin-top: 20px;
overflow: hidden;
}
.loading-progress-bar {
height: 100%;
background: white;
border-radius: 2px;
animation: progress 2s ease-in-out;
}
@keyframes progress {
0% { width: 0%; }
100% { width: 100%; }
}
</style>
</head>
<body>
<!-- 加载页面 -->
<div class="loading-container">
<div class="loading-spinner"></div>
<div class="loading-text">正在加载,请稍等</div>
<div class="loading-subtitle">正在为您准备精彩的作品集...</div>
<div class="loading-progress">
<div class="loading-progress-bar"></div>
</div>
</div>
</body>
</html>