You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
WebCAD/src/index.html

44 lines
1.3 KiB

<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<script>
//进度
let process = 20;
let load_process = () => {
let el = document.getElementById("load_title");
if (el)
{
el.innerText = `正在升级${process.toFixed(1)}%,请稍候...`
process += 1.8;
if (process > 99.9) process = 99.9;
setTimeout(load_process, 100);
}
}
setTimeout(load_process, 3 * 1000);
setTimeout(() => {
let el = document.getElementById("load_title");
if (el) el.innerText = "加载超时,请按Shift+F5重新载入!"
}, 40 * 1000);
</script>
<title>WebCAD</title>
<meta itemprop="description" content="晨丰WebCAD" />
</head>
<body>
<div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
<div>晨丰WebCAD,全屋定制设计拆单,无需安装,云端设计,一键直达!</div>
<div id="load_title">正在加载中,请稍候...</div>
</div>
</body>
</html>