Files
dashboard/frontend/index.html
T

51 lines
1.8 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
2026-06-09 16:36:23 +08:00
<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&family=Outfit:wght@600;700&display=swap" rel="stylesheet" media="print" onload="this.media='all'">
2026-06-18 17:37:08 +08:00
<title>Luxsin CMS</title>
2026-06-09 16:36:23 +08:00
<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>
2026-06-09 16:36:23 +08:00
<body style="background:#0a0e14;margin:0">
<div id="app"></div>
2026-06-09 16:36:23 +08:00
<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>