forked from JoeshuTT/v-shop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (43 loc) · 1.26 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport"
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover" />
<title>
<%= title %>
</title>
<link rel="icon" href="/favicon.ico" />
<% if (VITE_MOBILE_CONSOLE=='true' ) { %>
<script>(/vconsole=show/.test(location.href) || localStorage.getItem('vconsole') == 'show') && (document.write('<script src="//fastly.jsdelivr.net/npm/vconsole/dist/vconsole.min.js"><\/script>'), document.write("<script>var vConsole = new VConsole();<\/script>"));</script>
<% } %>
</head>
<body>
<div id="app">
<style>
.app-preloader {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 2;
background-color: #fff;
color: #c8c9cc;
}
.dark .app-preloader {
background-color: #17171a;
color: rgba(255, 255, 255, .7);
}
</style>
<div class="app-preloader">
<div class="app-preloader__label">正在加载... </div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>