sbgl-web/index.html
2026-11-16 01:37:15 +00:00

105 lines
2.3 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<link rel="icon" href="/favicon.ico" />
<title>%VITE_APP_TITLE%</title>
<!--[if lt IE 11
]><script>
window.location.href = '/html/ie.html';
</script><!
[endif]-->
<style>
html,
body,
#app {
height: 100%;
margin: 0px;
padding: 0px;
}
.chromeframe {
margin: 0.2em 0;
background: #ccc;
color: #000;
padding: 0.2em 0;
}
#loader-wrapper {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999999;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: #fff;
}
#loader {
width: 44px;
height: 44px;
border-radius: 50%;
background: #409eff;
-webkit-animation: loader-breathe 1.6s ease-in-out infinite;
animation: loader-breathe 1.6s ease-in-out infinite;
}
@keyframes loader-breathe {
0%,
100% {
-webkit-transform: scale(0.6);
transform: scale(0.6);
opacity: 0.4;
}
50% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 0.9;
}
}
.loaded #loader-wrapper {
visibility: hidden;
opacity: 0;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
.no-js #loader-wrapper {
display: none;
}
.no-js h1 {
color: #222222;
}
#loader-wrapper .load_title {
font-family: 'Open Sans';
color: #909399;
font-size: 14px;
margin-top: 18px;
letter-spacing: 1px;
text-align: center;
}
</style>
</head>
<body>
<div id="app">
<div id="loader-wrapper">
<div id="loader"></div>
<div class="load_title">正在加载......</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>