-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
26 lines (26 loc) · 1.01 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0,minimum=1.0,user-scalable=no">
<meta name="format-detection" content="telephone=no, email=no">
<title></title>
<link rel="stylesheet" href="//shaojun427.github.io/singlePage/dist/index.css">
<script>
const __LOCALE__ = window.localStorage.getItem('__LOCALE__') || "zh-cn";
if(__LOCALE__ !== "zh-cn") {
let fileref = document.createElement('link');
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", "./" + __LOCALE__+ ".css");
document.getElementsByTagName("head")[0].appendChild(fileref);
};
</script>
</head>
<body>
<div id="App"></div>
<script src="//shaojun427.github.io/singlePage/dist/vendor.js"></script>
<script src="//shaojun427.github.io/singlePage/dist/uxcoreChild.js"></script>
<script src="//shaojun427.github.io/singlePage/dist/index.js"></script>
</body>
</html>