-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
24 lines (24 loc) · 1.14 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>Moment</title>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?611edf5090bd0533a9cdad62874b3b40";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script>
(function(e,d){var g=d.documentElement,c=navigator.userAgent,b=/meitu|meipai/gi.test(c);var f=function(){var i=g.getBoundingClientRect().width||320;var j=i/320*20;j=j>40?40:j;g.style.fontSize=j+"px";var h=parseFloat(e.getComputedStyle(g).getPropertyValue("font-size"));if(h===j||b){return}j=j+(j-h);g.style.fontSize=j+"px";e.fontSize=j},a;e.addEventListener("resize",function(){clearTimeout(a);a=setTimeout(f,100)},false);e.addEventListener("pageshow",function(h){if(h.persisted){clearTimeout(a);a=setTimeout(f,100)}},false);f()})(window,document);
</script>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>