fix: issues
This commit is contained in:
@@ -3,17 +3,90 @@
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
|
||||
<title>加载中...</title>
|
||||
<script>
|
||||
var __GA = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcGVuX2lkIjoib01MYTV0eUoydlJIYS1ISTRDTUVrSHp0cTNlVSIsInRlbmFudCI6InlwbCIsInVzZXJfaWQiOjEsInRlbmFudF9pZCI6MiwiZXhwIjoxNzM0NTAzMDQzLCJuYmYiOjE3MzM4OTgyMzN9.wl4c-4DdZ-qC7MJHMD8rP2zPiTwBK7J_YKw2im3ve9U"
|
||||
var __GA = "{{JWT}}"
|
||||
</script>
|
||||
|
||||
<style>
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#loading {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.ball {
|
||||
width: 240px;
|
||||
height: 90px;
|
||||
text-align: center;
|
||||
margin: 20px auto;
|
||||
}
|
||||
|
||||
.ball>p {
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
.ball>div {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
background: #1abc9c;
|
||||
border-radius: 100%;
|
||||
display: inline-block;
|
||||
animation: move 1.4s infinite ease-in-out both;
|
||||
}
|
||||
|
||||
.ball .ball1 {
|
||||
animation-delay: 0.16s;
|
||||
}
|
||||
|
||||
.ball .ball2 {
|
||||
animation-delay: 0.32s;
|
||||
}
|
||||
|
||||
.ball .ball3 {
|
||||
animation-delay: 0.48s;
|
||||
}
|
||||
|
||||
@keyframes move {
|
||||
0% {
|
||||
transform: scale(0)
|
||||
}
|
||||
|
||||
40% {
|
||||
transform: scale(1.0)
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: scale(0)
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="loading">
|
||||
<div class="cont">
|
||||
<div class="ball">
|
||||
<p>页面正在加载,请稍后~</p>
|
||||
<div class="ball1"></div>
|
||||
<div class="ball2"></div>
|
||||
<div class="ball3"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</body>
|
||||
@@ -10,4 +10,6 @@ const app = createApp(App)
|
||||
app.use(createPinia())
|
||||
app.use(router)
|
||||
|
||||
// remove loading
|
||||
document.getElementById("loading").remove()
|
||||
app.mount('#app')
|
||||
|
||||
Reference in New Issue
Block a user