- 更新系统名称、登录页宣传文案为37du平台相关内容 - 移除聊天功能相关代码与配置 - 新增客户端版本上报字段与设备统计接口 - 新增通知中心功能(60s轮询、localStorage已读标记) - 新增权限授权工作台相关接口与页面 - 新增统一页头组件ArtPageHeader - 调整快速入口配置指向真实功能页面 - 修复控制面地址为内网生产库
48 lines
1.2 KiB
HTML
48 lines
1.2 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>37du 控制台</title>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta
|
|
name="description"
|
|
content="37du 自动化平台控制台:插件分发、账号授权与运行监控"
|
|
/>
|
|
<link rel="shortcut icon" type="image/x-icon" href="src/assets/images/favicon.ico" />
|
|
|
|
<style>
|
|
/* 防止页面刷新时白屏的初始样式 */
|
|
html {
|
|
background-color: #fafbfc;
|
|
}
|
|
|
|
html.dark {
|
|
background-color: #070707;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
// 初始化 html class 主题属性
|
|
;(function () {
|
|
try {
|
|
if (typeof Storage === 'undefined' || !window.localStorage) {
|
|
return
|
|
}
|
|
|
|
const themeType = localStorage.getItem('sys-theme')
|
|
if (themeType === 'dark') {
|
|
document.documentElement.classList.add('dark')
|
|
}
|
|
} catch (e) {
|
|
console.warn('Failed to apply initial theme:', e)
|
|
}
|
|
})()
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app"></div>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|