2024-01-05 09:45:30 +08:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="zh" id="htmlRoot">
|
2020-09-28 20:19:10 +08:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
2020-10-13 01:40:21 +08:00
|
|
|
<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.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
|
|
|
|
/>
|
2023-04-05 00:20:48 +08:00
|
|
|
<title><%= VITE_GLOB_APP_TITLE %></title>
|
2020-09-28 20:19:10 +08:00
|
|
|
<link rel="icon" href="/favicon.ico" />
|
2020-12-01 20:59:17 +08:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="app">
|
|
|
|
<style>
|
2023-11-21 18:39:13 +08:00
|
|
|
html {
|
|
|
|
/* same as ant-design-vue/dist/reset.css setting, avoid the title line-height changed */
|
|
|
|
line-height: 1.15;
|
|
|
|
}
|
|
|
|
|
2021-04-07 23:14:51 +08:00
|
|
|
html[data-theme='dark'] .app-loading {
|
2021-04-13 21:43:10 +08:00
|
|
|
background-color: #2c344a;
|
2021-04-07 23:14:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
html[data-theme='dark'] .app-loading .app-loading-title {
|
2021-11-10 23:24:03 +08:00
|
|
|
color: rgb(255 255 255 / 85%);
|
2021-04-07 23:14:51 +08:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:59:17 +08:00
|
|
|
.app-loading {
|
|
|
|
display: flex;
|
2023-04-04 16:55:34 +08:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-12-01 20:59:17 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-04-13 21:43:10 +08:00
|
|
|
background-color: #f4f7f9;
|
2020-12-01 20:59:17 +08:00
|
|
|
}
|
2020-10-12 00:38:22 +08:00
|
|
|
|
2020-12-01 20:59:17 +08:00
|
|
|
.app-loading .app-loading-wrap {
|
2023-04-04 16:55:34 +08:00
|
|
|
display: flex;
|
2020-12-01 20:59:17 +08:00
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
flex-direction: column;
|
2023-04-04 16:55:34 +08:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
transform: translate3d(-50%, -50%, 0);
|
2020-10-12 00:38:22 +08:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:59:17 +08:00
|
|
|
.app-loading .dots {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-04-04 16:55:34 +08:00
|
|
|
justify-content: center;
|
|
|
|
padding: 98px;
|
2020-10-12 00:38:22 +08:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:59:17 +08:00
|
|
|
.app-loading .app-loading-title {
|
|
|
|
display: flex;
|
2023-04-04 16:55:34 +08:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-12-01 20:59:17 +08:00
|
|
|
margin-top: 30px;
|
2021-11-10 23:24:03 +08:00
|
|
|
color: rgb(0 0 0 / 85%);
|
2023-04-04 16:55:34 +08:00
|
|
|
font-size: 30px;
|
2020-12-01 20:59:17 +08:00
|
|
|
}
|
2020-10-12 00:38:22 +08:00
|
|
|
|
2020-12-01 20:59:17 +08:00
|
|
|
.app-loading .app-loading-logo {
|
|
|
|
display: block;
|
|
|
|
width: 90px;
|
|
|
|
margin: 0 auto;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2020-10-12 00:38:22 +08:00
|
|
|
|
2020-12-01 20:59:17 +08:00
|
|
|
.dot {
|
|
|
|
display: inline-block;
|
2023-04-04 16:55:34 +08:00
|
|
|
position: relative;
|
|
|
|
box-sizing: border-box;
|
2020-12-01 20:59:17 +08:00
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
margin-top: 30px;
|
|
|
|
transform: rotate(45deg);
|
2023-04-04 16:55:34 +08:00
|
|
|
animation: ant-rotate 1.2s infinite linear;
|
|
|
|
font-size: 32px;
|
2020-12-01 20:59:17 +08:00
|
|
|
}
|
2020-11-01 13:22:31 +08:00
|
|
|
|
2020-12-01 20:59:17 +08:00
|
|
|
.dot i {
|
|
|
|
display: block;
|
2023-04-04 16:55:34 +08:00
|
|
|
position: absolute;
|
2020-12-01 20:59:17 +08:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
transform: scale(0.75);
|
|
|
|
transform-origin: 50% 50%;
|
2023-04-04 16:55:34 +08:00
|
|
|
animation: ant-spin-move 1s infinite linear alternate;
|
|
|
|
border-radius: 100%;
|
|
|
|
opacity: 0.3;
|
|
|
|
background-color: #0065cc;
|
2020-12-01 20:59:17 +08:00
|
|
|
}
|
2020-11-01 13:22:31 +08:00
|
|
|
|
2020-12-01 20:59:17 +08:00
|
|
|
.dot i:nth-child(1) {
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dot i:nth-child(2) {
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2021-11-10 23:24:03 +08:00
|
|
|
animation-delay: 0.4s;
|
2020-12-01 20:59:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dot i:nth-child(3) {
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2021-11-10 23:24:03 +08:00
|
|
|
animation-delay: 0.8s;
|
2020-12-01 20:59:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dot i:nth-child(4) {
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2021-11-10 23:24:03 +08:00
|
|
|
animation-delay: 1.2s;
|
2020-12-01 20:59:17 +08:00
|
|
|
}
|
2023-04-04 16:55:34 +08:00
|
|
|
|
|
|
|
@keyframes ant-rotate {
|
2020-12-01 20:59:17 +08:00
|
|
|
to {
|
2021-11-10 23:24:03 +08:00
|
|
|
transform: rotate(405deg);
|
2020-12-01 20:59:17 +08:00
|
|
|
}
|
|
|
|
}
|
2023-04-04 16:55:34 +08:00
|
|
|
|
|
|
|
@keyframes ant-spin-move {
|
2020-12-01 20:59:17 +08:00
|
|
|
to {
|
2023-04-04 16:55:34 +08:00
|
|
|
opacity: 1;
|
2020-12-01 20:59:17 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<div class="app-loading">
|
|
|
|
<div class="app-loading-wrap">
|
2023-04-05 00:20:48 +08:00
|
|
|
<img src="/logo.png" class="app-loading-logo" alt="Logo" />
|
2020-12-01 20:59:17 +08:00
|
|
|
<div class="app-loading-dots">
|
|
|
|
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
|
|
|
|
</div>
|
2023-04-05 00:20:48 +08:00
|
|
|
<div class="app-loading-title"><%= VITE_GLOB_APP_TITLE %></div>
|
2020-12-01 20:59:17 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-10-12 00:38:22 +08:00
|
|
|
</div>
|
2020-09-28 20:19:10 +08:00
|
|
|
<script type="module" src="/src/main.ts"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|