-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (31 loc) · 979 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://statics-lib.zmlearn.com/axios/0.18.0/axios.min.js"></script>
<link rel="stylesheet" href="//at.alicdn.com/t/c/font_3827885_gd1pcu8ah4g.css">
<link rel=icon type=img/png href="/img/dt-7.png">
<title>花木兰 - 后台管理系统模版Vue3+TS</title>
<script>
window.setTheme = () => {
let h = document.querySelector('html')
if (h.classList.contains('dark-theme')) {
h.classList.remove('dark-theme')
delete localStorage.HML_isDark
} else {
h.setAttribute('class', 'dark-theme')
localStorage.HML_isDark = 1
}
}
if (localStorage.HML_isDark) {
setTheme()
}
</script>
</head>
<body>
<div id="app" class="full-content hideit"></div>
<script type="module" src="/src/main.ts"></script>
<script src="https://unpkg.com/[email protected]/dist/qiniu.min.js"></script>
</body>
</html>