Files
Mujoco_WASM/web_platform/index.html
T
chenlin 13e35be98b
web-platform-ci / TypeScript, lint, unit, build (push) Has been cancelled
web-platform-ci / Playwright E2E (push) Has been cancelled
feat(web-platform): release V0.9.3 全模块界面重构
2026-09-08 17:57:57 +08:00

55 lines
1.4 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="theme-color" content="#09111e" />
<meta
name="description"
content="基于 MuJoCo WebAssembly 的本地机器人仿真、控制与地图编辑工作台"
/>
<link rel="icon" href="data:," />
<title>MuJoCo Web 仿真平台</title>
<script>
try {
document.documentElement.dataset.bootTheme =
localStorage.getItem('mujoco-platform-theme') === 'light' ? 'light' : 'dark';
} catch {
/* 默认深色,启动不依赖存储权限。 */
}
</script>
<style>
html,
body,
#root {
height: 100%;
margin: 0;
}
body {
background: #09111e;
color: #f1f5f9;
}
html[data-boot-theme='light'] body {
background: #f7f9fc;
color: #172b41;
}
.boot-screen {
display: grid;
height: 100%;
place-items: center;
font:
13px system-ui,
sans-serif;
}
</style>
</head>
<body>
<div id="root">
<div class="boot-screen" role="status" aria-label="正在启动仿真工作台">
正在启动本地仿真工作台…
</div>
</div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>