1
1
<!DOCTYPE html>
2
- < html lang ="">
3
- < head >
4
- < meta charset ="utf-8 ">
5
- < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6
- < meta name ="viewport " content ="width=device-width,initial-scale=1.0 ">
7
- < link rel ="icon " href ="<%= BASE_URL %>favicon.ico ">
8
- < title > < %= htmlWebpackPlugin.options.title %> </ title >
9
- </ head >
10
- < body >
11
- < noscript >
12
- < strong > We're sorry but < %= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</ strong >
13
- </ noscript >
14
- < div id ="app "> </ div >
15
- <!-- built files will be auto injected -->
16
- </ body >
17
- </ html >
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="utf-8 " />
5
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
6
+ < meta name ="referer " content ="never " />
7
+ < meta name ="renderer " content ="webkit " />
8
+ < meta
9
+ name ="viewport "
10
+ content ="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=0 "
11
+ />
12
+ < link rel ="icon " href ="<%= BASE_URL %>favicon.ico " />
13
+ < title > COOL-ADMIN</ title >
14
+ < % for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
15
+ < link href ="<%= htmlWebpackPlugin.options.cdn.css[i] %> " rel ="stylesheet " />
16
+ < % } %>
17
+ < style >
18
+ html ,
19
+ body ,
20
+ # app {
21
+ height : 100% ;
22
+ margin : 0 ;
23
+ padding : 0 ;
24
+ }
25
+
26
+ .preload {
27
+ display : flex;
28
+ flex-direction : column;
29
+ height : 100% ;
30
+ letter-spacing : 1px ;
31
+ background-color : # 2f3447 ;
32
+ }
33
+
34
+ .preload .container {
35
+ display : flex;
36
+ justify-content : center;
37
+ align-items : center;
38
+ flex-direction : column;
39
+ width : 100% ;
40
+ user-select : none;
41
+ flex-grow : 1 ;
42
+ }
43
+
44
+ .preload .name {
45
+ font-size : 30px ;
46
+ color : # fff ;
47
+ letter-spacing : 5px ;
48
+ font-weight : bold;
49
+ }
50
+
51
+ .preload .title {
52
+ color : # fff ;
53
+ font-size : 14px ;
54
+ margin-bottom : 10px ;
55
+ }
56
+
57
+ .preload .sub-title {
58
+ color : # ababab ;
59
+ font-size : 12px ;
60
+ }
61
+
62
+ .preload .footer {
63
+ text-align : center;
64
+ padding : 10px 0 20px 0 ;
65
+ }
66
+
67
+ .preload .footer a {
68
+ font-size : 12px ;
69
+ color : # ababab ;
70
+ text-decoration : none;
71
+ }
72
+ </ style >
73
+ </ head >
74
+ < body >
75
+ < noscript >
76
+ < strong
77
+ > We're sorry but cool-admin doesn't work properly without JavaScript enabled. Please
78
+ enable it to continue.</ strong
79
+ >
80
+ </ noscript >
81
+ < div id ="app ">
82
+ < div class ="preload ">
83
+ < div class ="container ">
84
+ < p class ="name "> COOL-ADMIN</ p >
85
+ < p class ="title "> 正在加载资源...</ p >
86
+ < p class ="sub-title "> 初次加载资源可能需要较多时间 请耐心等待</ p >
87
+ </ div >
88
+
89
+ < div class ="footer ">
90
+ < a href ="https://cool-js.com/ " target ="_blank "> https://cool-js.com </ a >
91
+ </ div >
92
+ </ div >
93
+ </ div >
94
+
95
+ < % for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
96
+ < script src ="<%= htmlWebpackPlugin.options.cdn.js[i] %> "> </ script >
97
+ < % } %>
98
+ </ body >
99
+ </ html >
0 commit comments