Files
electron-vue/index.html
T
2026-05-21 00:12:44 +08:00

75 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>实时计数器</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Arial, sans-serif;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
}
.container {
text-align: center;
padding: 40px;
background: rgba(255, 255, 255, 0.1);
border-radius: 20px;
backdrop-filter: blur(10px);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
h1 {
font-size: 28px;
margin-bottom: 30px;
color: #00d9ff;
}
.counter-display {
font-size: 72px;
font-weight: bold;
color: #00ff88;
text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
margin: 20px 0;
font-variant-numeric: tabular-nums;
}
.info {
margin-top: 30px;
font-size: 14px;
color: #888;
}
.status {
display: inline-block;
padding: 5px 15px;
background: #00ff88;
color: #1a1a2e;
border-radius: 20px;
font-weight: bold;
font-size: 12px;
}
</style>
</head>
<body>
<div class="container">
<h1>实时计数器</h1>
<div class="counter-display" id="counter">0</div>
<div class="info">
<span class="status">运行中</span>
</div>
</div>
<script src="renderer.js"></script>
</body>
</html>