- 浏览器标题、侧边栏 logo、登录页品牌名统一为「天豹云OMS订单管理系统」 - 登录页底部新增备案号(可点击跳转工信部核验)与版权信息;窄屏/极矮屏改为 常规流排布,避免页脚压在登录卡片上 - 路由调整:根路径 / 直接渲染登录页(首页即登录),/login 重定向到 /; 登录成功后进仪表盘 /dashboard,已登录访问 / 或 /login 同样回仪表盘 - 退出登录、401 失效统一回到首页(登录页) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
48 lines
1.4 KiB
HTML
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>
|