重构后端,改为 node 技术栈

This commit is contained in:
eafonyang
2026-06-09 16:36:23 +08:00
parent abab985769
commit e4e6529577
59 changed files with 4901 additions and 1916 deletions
+37 -3
View File
@@ -1,16 +1,50 @@
<!DOCTYPE html>
<html lang="zh-CN">
<html lang="zh-CN" class="dark" style="background:#0a0e14">
<head>
<meta charset="UTF-8">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" media="print" onload="this.media='all'">
<title>耳机管理平台</title>
<style>
html, body {
background: #0a0e14 !important;
margin: 0;
padding: 0;
}
#app {
background: #0a0e14 !important;
min-height: 100vh;
opacity: 0;
}
#app.app-visible {
opacity: 1;
}
html.dark {
--el-bg-color: #0a0e14;
--el-bg-color-overlay: #1e293b;
--el-bg-color-page: #0a0e14;
--el-text-color-primary: #e2e8f0;
--el-text-color-regular: #cbd5e1;
--el-fill-color-blank: #0a0e14;
--el-color-white: #1e293b;
--el-border-color: rgba(148, 163, 184, 0.12);
color-scheme: dark;
}
</style>
<script>
// 阻塞式防闪烁:在任何渲染前强制深色背景
document.documentElement.style.background = '#0a0e14';
document.documentElement.style.colorScheme = 'dark';
</script>
</head>
<body>
<body style="background:#0a0e14;margin:0">
<div id="app"></div>
<div id="app-loading" style="position:fixed;inset:0;background:#0a0e14;z-index:99999;display:flex;align-items:center;justify-content:center">
<div style="color:#94a3b8;font-family:system-ui,sans-serif;font-size:14px">加载中...</div>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>