-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
26 lines (26 loc) · 1.58 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><title>gaoui</title><style>html,body{
margin: 0;
padding: 0;
width:100%;
height: 100%;
overflow-x: hidden;
overflow-y: scroll;
}
div{
-webkit-tap-highlight-color: transparent;
}</style><script>(function(){
if(window.devicePixelRatio){
var metaEl = document.createElement('meta');
metaEl.setAttribute('name', 'viewport');
var scale = 1 / window.devicePixelRatio;
metaEl.setAttribute('content',"width=device-width,initial-scale="+scale+", maximum-scale="+scale+", minimum-scale="+scale+", user-scalable=no");
document.documentElement.firstElementChild.insertBefore(metaEl,document.head.firstElementChild.nextElementSibling);
}
function initRem(){
document.documentElement.style.fontSize = document.documentElement.clientWidth / 7.2 + 'px';
}
initRem();
// var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize';
// window.addEventListener(resizeEvt, initRem, false);
document.addEventListener('DOMContentLoaded', initRem, false);
}());</script><link href=/static/css/app.a1cb5d11cba59da35f7002c14f1d0dea.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.7a4038aec4b29777472a.js></script><script type=text/javascript src=/static/js/app.1abd6322fad76a72d089.js></script></body></html>