2020-12-14 17:32:37 +08:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
< meta name = "viewport" content = "width=device-width,initial-scale=1.0" >
< link rel = "icon" href = "<%= BASE_URL %>favicon.ico" >
< title > < %= htmlWebpackPlugin.options.title %>< / title >
< / head >
< body >
< noscript >
< strong > We're sorry but < %= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.< / strong >
< / noscript >
2021-01-19 11:25:10 +08:00
< div id = "app" >
< style >
.app-loading {
display: flex;
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
flex-direction: column;
background: #f0f2f5;
}
.app-loading .app-loading-wrap {
position: absolute;
top: 50%;
left: 50%;
display: flex;
-webkit-transform: translate3d(-50%, -50%, 0);
transform: translate3d(-50%, -50%, 0);
justify-content: center;
align-items: center;
flex-direction: column;
}
.app-loading .app-loading-title {
font-size: 20px;
font-weight: bold;
text-align: center;
margin-bottom: 30px;
}
.app-loading .app-loading-logo {
width: 100px;
margin-bottom: 15px;
}
.app-loading .app-loading-item {
position: relative;
width: 60px;
height: 60px;
border-radius: 50%;
display: inline-block;
vertical-align: middle;
}
.app-loading .app-loading-outter {
position: absolute;
border: 4px solid #2d8cf0;
border-left-color: transparent;
border-bottom: 0;
width: 100%;
height: 100%;
border-radius: 50%;
animation: loader-outter 1s cubic-bezier(.42, .61, .58, .41) infinite;
}
.app-loading .app-loading-inner {
position: absolute;
border: 4px solid #87bdff;
border-radius: 50%;
width: 40px;
height: 40px;
left: calc(50% - 20px);
top: calc(50% - 20px);
border-right: 0;
border-top-color: transparent;
animation: loader-inner 1s cubic-bezier(.42, .61, .58, .41) infinite;
}
@-webkit-keyframes loader-outter {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loader-outter {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-webkit-keyframes loader-inner {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
}
}
@keyframes loader-inner {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
}
}
< / style >
< div class = "app-loading" >
< div class = "app-loading-wrap" >
< div class = "app-loading-title" >
< img src = "./logo.png" class = "app-loading-logo" alt = "Logo" / >
< div class = "app-loading-title" > < %= htmlWebpackPlugin.options.title %>< / div >
< / div >
< div class = "app-loading-item" >
< div class = "app-loading-outter" > < / div >
< div class = "app-loading-inner" > < / div >
< / div >
< / div >
< / div >
< / div >
2020-12-14 17:32:37 +08:00
<!-- built files will be auto injected -->
< / body >
< / html >