| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- <!DOCTYPE html>
- <html lang="">
- <head>
- <meta charset="UTF-8">
- <link rel="icon" href="/favicon.ico">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>商小川</title>
- <style type="text/css">
- .first-loading-wrp {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- height: 90vh;
- min-height: 90vh;
- z-index: 10000;
- }
- .first-loading-wrp > h1 {
- font-size: 30px;
- font-weight: bolder;
- }
- .first-loading-wrp .loading-wrp {
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 98px;
- }
- .dot {
- position: relative;
- box-sizing: border-box;
- display: inline-block;
- width: 64px;
- height: 64px;
- font-size: 64px;
- transform: rotate(45deg);
- animation: antRotate 1.2s infinite linear;
- }
- .dot i {
- position: absolute;
- display: block;
- width: 28px;
- height: 28px;
- background-color: #1890ff;
- border-radius: 100%;
- opacity: 0.3;
- transform: scale(0.75);
- transform-origin: 50% 50%;
- animation: antSpinMove 1s infinite linear alternate;
- }
- .dot i:nth-child(1) {
- top: 0;
- left: 0;
- }
- .dot i:nth-child(2) {
- top: 0;
- right: 0;
- -webkit-animation-delay: 0.4s;
- animation-delay: 0.4s;
- }
- .dot i:nth-child(3) {
- right: 0;
- bottom: 0;
- -webkit-animation-delay: 0.8s;
- animation-delay: 0.8s;
- }
- .dot i:nth-child(4) {
- bottom: 0;
- left: 0;
- -webkit-animation-delay: 1.2s;
- animation-delay: 1.2s;
- }
- @keyframes antRotate {
- to {
- -webkit-transform: rotate(405deg);
- transform: rotate(405deg);
- }
- }
- @-webkit-keyframes antRotate {
- to {
- -webkit-transform: rotate(405deg);
- transform: rotate(405deg);
- }
- }
- @keyframes antSpinMove {
- to {
- opacity: 1;
- }
- }
- @-webkit-keyframes antSpinMove {
- to {
- opacity: 1;
- }
- }
- @keyframes dot1 {
- 0% {
- transform: translateY(0);
- }
- 10% {
- transform: translateY(-10px);
- }
- 20% {
- transform: translateY(0);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @-webkit-keyframes dot1 {
- 0% {
- transform: translateY(0);
- }
- 10% {
- transform: translateY(-10px);
- }
- 20% {
- transform: translateY(0);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @keyframes dot2 {
- 0% {
- transform: translateY(0);
- }
- 10% {
- transform: translateY(0);
- }
- 20% {
- transform: translateY(-10px);
- }
- 30% {
- transform: translateY(0);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @-webkit-keyframes dot2 {
- 0% {
- transform: translateY(0);
- }
- 10% {
- transform: translateY(0);
- }
- 20% {
- transform: translateY(-10px);
- }
- 30% {
- transform: translateY(0);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @keyframes dot3 {
- 0% {
- transform: translateY(0);
- }
- 20% {
- transform: translateY(0);
- }
- 30% {
- transform: translateY(-10px);
- }
- 40% {
- transform: translateY(0);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @-webkit-keyframes dot3 {
- 0% {
- transform: translateY(0);
- }
- 20% {
- transform: translateY(0);
- }
- 30% {
- transform: translateY(-10px);
- }
- 40% {
- transform: translateY(0);
- }
- 100% {
- transform: translateY(0);
- }
- }
- .first-dot-1 {
- animation: dot1 2s infinite linear;
- margin: 0 1px;
- }
- .first-dot-2 {
- animation: dot2 2s infinite linear;
- margin: 0 1px;
- }
- .first-dot-3 {
- animation: dot3 2s infinite linear;
- margin: 0 1px;
- }
- .loading-text {
- font-size: 18px;
- display: flex;
- color: #101333;
- }
- </style>
- </head>
- <body>
- <div id="app"></div>
- <div class="first-loading-wrp">
- <div class="loading-wrp">
- <span class="dot dot-spin">
- <i></i>
- <i></i>
- <i></i>
- <i></i>
- </span>
- </div>
- <div class="loading-text">努力加载中<div class="first-dot-1">.</div><div class="first-dot-2">.</div><div class="first-dot-3">.</div></div>
- </div>
- <script type="module" src="/src/main.ts"></script>
- </body>
- </html>
|