123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <!DOCTYPE html>
- <html>
- <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" />
- <!-- <script src="./plantracking/js/jquery.min.js"></script>
- <script src="./plantracking/js/jquery.fn.gantt.js"></script>
- <script src="./plantracking/js/dexie.js"></script> -->
- <link rel="stylesheet" href="./plantracking/css/style.css" />
- <script src="./aescode/aes.js"></script>
- <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>
- <div id="app">
- <!-- vue app启动前的静态加载页 -->
- <style>
- .first-loading-wrp {
- position: absolute;
- top: 50%;
- left: 0;
- width: 100%;
- margin-top: -25px;
- opacity: 0;
- animation: fadein 0.5s;
- /* 一秒后才显示,避免网速正常时的闪动 */
- animation-delay: 1s;
- animation-fill-mode: forwards;
- }
- .first-loading-wrp .loading-wrp {
- display: flex;
- align-items: center;
- justify-content: center;
- padding-bottom: 7px;
- }
- .first-loading-wrp .dot {
- position: relative;
- box-sizing: border-box;
- display: inline-block;
- width: 32px;
- height: 32px;
- font-size: 32px;
- transform: rotate(45deg);
- animation: antRotate 1.2s infinite linear;
- }
- .first-loading-wrp .dot i {
- position: absolute;
- display: block;
- width: 14px;
- height: 14px;
- background-color: <%= htmlWebpackPlugin.options.primaryColor %>;
- border-radius: 100%;
- opacity: 0.3;
- transform: scale(0.75);
- transform-origin: 50% 50%;
- animation: antSpinMove 1s infinite linear alternate;
- }
- .first-loading-wrp .dot i:nth-child(1) {
- top: 0;
- left: 0;
- }
- .first-loading-wrp .dot i:nth-child(2) {
- top: 0;
- right: 0;
- animation-delay: 0.4s;
- }
- .first-loading-wrp .dot i:nth-child(3) {
- right: 0;
- bottom: 0;
- animation-delay: 0.8s;
- }
- .first-loading-wrp .dot i:nth-child(4) {
- bottom: 0;
- left: 0;
- animation-delay: 1.2s;
- }
- .first-loading-wrp .loading-msg {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- @keyframes fadein {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
- }
- @keyframes antRotate {
- to {
- transform: rotate(405deg);
- }
- }
- @keyframes antSpinMove {
- to {
- opacity: 1;
- }
- }
- </style>
- <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-msg">正在加载……</div>
- </div>
- </div>
- <!-- built files will be auto injected -->
- </body>
- </html>
|