electron / loading.html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Censor - 启动中</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
color: white;
}
.container {
text-align: center;
padding: 2rem;
}
.logo {
font-size: 4rem;
margin-bottom: 1rem;
}
h1 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
font-weight: 300;
}
.subtitle {
font-size: 1.2rem;
opacity: 0.9;
margin-bottom: 2rem;
}
.loader {
width: 50px;
height: 50px;
border: 4px solid rgba(255, 255, 255, 0.3);
border-top-color: white;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto 1.5rem;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.status {
font-size: 1rem;
opacity: 0.8;
}
.progress-dots {
display: inline-block;
}
.progress-dots::after {
content: '';
animation: dots 1.5s steps(4, end) infinite;
}
@keyframes dots {
0%, 20% { content: ''; }
40% { content: '.'; }
60% { content: '..'; }
80%, 100% { content: '...'; }
}
.footer {
position: fixed;
bottom: 20px;
width: 100%;
text-align: center;
font-size: 0.9rem;
opacity: 0.7;
}
</style>
</head>
<body>
<div class="container">
<div class="logo">🎭</div>
<h1>Censor</h1>
<p class="subtitle">微表情反馈收集系统</p>
<div class="loader"></div>
<p class="status">正在启动服务<span class="progress-dots"></span></p>
</div>
<div class="footer">
Censor v1.0.0 | Bio-inspired Micro-Expression Recognition
</div>
</body>
</html>