oms/frontend/index.html
liufumingren 49fec97526 feat(frontend): 新增 OMS 站点图标 favicon(矢量 + 多尺寸 ICO)
- 设计:深蓝圆角底 + 等轴测立方体,语义对应包裹 / 仓储 / 订单履约
- public/favicon.svg(矢量源,现代浏览器优先用)、public/favicon.ico(16/24/32/48/64/128/256 七档)、
  public/apple-touch-icon.png(180)
- index.html 增加 icon / apple-touch-icon 链接与 theme-color
- scripts/make-favicon.py 保留生成脚本,改配色或形状后可一键重出

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-02 01:25:14 +08:00

48 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.0" />
<meta name="theme-color" content="#0a1a33" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<title>OMS 管理系统</title>
</head>
<body>
<div id="app">
<!-- 首屏占位:动态路由(菜单)注册完成前先显示加载中,避免刷新时白屏 -->
<div class="app-boot">
<span class="app-boot__spinner"></span>
<span class="app-boot__text">正在加载…</span>
</div>
</div>
<style>
.app-boot {
display: flex;
gap: 10px;
align-items: center;
justify-content: center;
height: 100vh;
color: #909399;
font-size: 14px;
font-family: system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
.app-boot__spinner {
width: 18px;
height: 18px;
border: 2px solid #dcdfe6;
border-top-color: #409eff;
border-radius: 50%;
animation: app-boot-spin 0.8s linear infinite;
}
@keyframes app-boot-spin {
to {
transform: rotate(360deg);
}
}
</style>
<script type="module" src="/src/main.ts"></script>
</body>
</html>