91 lines
2.1 KiB
HTML
91 lines
2.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport"
|
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
|
|
<title></title>
|
|
<script>
|
|
// if ('serviceWorker' in navigator && window.ext == null) {
|
|
// navigator.serviceWorker.register('./service-worker.js');
|
|
// }
|
|
</script>
|
|
<style>
|
|
.loading-container {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #fff;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.loading-bar {
|
|
width: 300px;
|
|
height: 4px;
|
|
background: #f0f0f0;
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.loading-bar::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 50%;
|
|
background: #4f46e5;
|
|
animation: loading 1.5s infinite;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
@keyframes loading {
|
|
0% {
|
|
transform: translateX(-200%);
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(400%);
|
|
}
|
|
}
|
|
</style>
|
|
<script>
|
|
if (!window.location.pathname.replace("index.html", "").endsWith("/")) {
|
|
window.location.pathname = window.location.pathname + "/";
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body spellcheck="false" autocomplete="off" autocapitalize="off" autocorrect="off">
|
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
<!-- <script>
|
|
setTimeout(() => {
|
|
alert(123);
|
|
}, 5000);
|
|
</script> -->
|
|
<div id="root">
|
|
<div class="loading-container">
|
|
<div class="loading-bar"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!--
|
|
This HTML file is a template.
|
|
If you open it directly in the browser, you will see an empty page.
|
|
|
|
You can add webfonts, meta tags, or analytics to this file.
|
|
The build step will place the bundled scripts into the <body> tag.
|
|
|
|
To begin the development, run `npm start` or `yarn start`.
|
|
To create a production bundle, use `npm run build` or `yarn build`.
|
|
-->
|
|
</body>
|
|
|
|
</html> |