vben
2020-11-10 4ff6b73c2bb57764db2bcd8212d82f028e25e36d
提交 | 用户 | age
2f6253 1 <!DOCTYPE html>
2 <html lang="en">
3   <head>
173d40 4     <%= viteHtmlPluginOptions.hmScript %>
2f6253 5     <meta charset="UTF-8" />
bb3b8f 6     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
N 7     <meta name="renderer" content="webkit" />
8     <meta
9       name="viewport"
10       content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
11     />
4f9897 12
bb3b8f 13     <title></title>
2f6253 14     <link rel="icon" href="/favicon.ico" />
173d40 15     <%= viteHtmlPluginOptions.injectConfig %>
4f9897 16
V 17     <style>
18       @keyframes load {
19         0% {
20           -webkit-transform: rotate(-360deg);
21           transform: rotate(-360deg);
22         }
23
24         100% {
25           -webkit-transform: rotate(0);
26           transform: rotate(0);
27         }
28       }
29
30       .app-loading {
31         width: 100%;
32         height: 100%;
4ff6b7 33         background: #f0f2f5;
4f9897 34       }
V 35
36       .app-loading .app-loading-wrap {
37         position: absolute;
38         top: 50%;
39         left: 50%;
40         -webkit-transform: translate3d(-50%, -50%, 0);
41         transform: translate3d(-50%, -50%, 0);
42       }
43
44       .app-loading .g-loading {
45         display: block;
46         width: 64px;
47         margin: 30px auto;
48         -webkit-animation: load 1.2s linear infinite;
49         animation: load 1.2s linear infinite;
50         -webkit-transform-origin: center center;
51         transform-origin: center center;
52       }
53
54       .app-loading .app-loading-wrap img.logo {
55         display: block;
56         width: 90px;
57         margin: 0 auto;
58         margin-bottom: 20px;
59       }
60
61       .app-loading .app-loading-wrap .app-loading__tip {
62         display: block;
63         margin: 20px auto 0 0;
64         font-size: 30px;
65         color: #2c3a61;
66       }
67     </style>
2f6253 68   </head>
69   <body>
4811cc 70     <div id="app">
V 71       <section class="app-loading">
72         <section class="app-loading-wrap">
73           <img src="./resource/img/logo.png" class="logo" alt="Logo" />
74           <img src="./resource/img/loading.svg" alt="" class="g-loading" />
4f9897 75           <h1 class="app-loading__tip"><%= viteHtmlPluginOptions.title %></h1>
4811cc 76         </section>
V 77       </section>
78     </div>
2f6253 79     <script type="module" src="/src/main.ts"></script>
80   </body>
81 </html>