fix:修改index.html文件
This commit is contained in:
parent
288fc79052
commit
2d0a5ad2fb
@ -6,12 +6,57 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" type="text/css" media="print" href="/print-lock.css" />
|
||||
<link rel="icon" id="favicon" href="data:;base64,=" />
|
||||
<title>正在加载中...</title>
|
||||
<title>Loading...</title>
|
||||
<style>
|
||||
.loading-wrapper {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.loading-wrapper.hide {
|
||||
display: none;
|
||||
}
|
||||
.loader {
|
||||
width: 120px;
|
||||
height: 20px;
|
||||
border-radius: 20px;
|
||||
background:
|
||||
repeating-linear-gradient(135deg,#010101 0 10px,#f9d62b 0 20px) 0/0% no-repeat,
|
||||
repeating-linear-gradient(135deg,#ddd 0 10px,#eee 0 20px) 0/100%;
|
||||
animation: l3 2s infinite;
|
||||
}
|
||||
.loading-text {
|
||||
margin-top: 20px;
|
||||
font-size: 16px;
|
||||
color: #666;
|
||||
}
|
||||
@keyframes l3 {
|
||||
100% {background-size:100%}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="loading-wrapper">
|
||||
<div class="loader"></div>
|
||||
<div class="loading-text">Loading system, may take a while...</div>
|
||||
</div>
|
||||
<div id="app"></div>
|
||||
<script src="/config.js"></script>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
<script>
|
||||
window.addEventListener('load', function() {
|
||||
document.querySelector('.loading-wrapper').classList.add('hide');
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user