37 lines
1.3 KiB
HTML
37 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
|
<meta name="theme-color" content="#f97316" />
|
|
<meta
|
|
name="description"
|
|
content="Order Site 运营后台管理中心:订单、工单、成本与财务的一体化管理平台。"
|
|
/>
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<link rel="icon" href="/favicon.ico" sizes="16x16 32x32 48x48" />
|
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
<title>运营后台管理中心</title>
|
|
<script>
|
|
;(function () {
|
|
try {
|
|
var pref = localStorage.getItem('app-theme-preference')
|
|
var isDark =
|
|
pref === 'dark' ||
|
|
(!pref &&
|
|
window.matchMedia &&
|
|
window.matchMedia('(prefers-color-scheme: dark)').matches)
|
|
var theme = isDark ? 'dark' : 'light'
|
|
document.documentElement.setAttribute('data-theme', theme)
|
|
document.documentElement.classList.toggle('dark', isDark)
|
|
document.documentElement.style.colorScheme = theme
|
|
} catch (_) {}
|
|
})()
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|