ttk-app-core
Version:
enterprise develop framework
103 lines (96 loc) • 3.77 kB
HTML
<html>
<head>
<meta charset="utf-8" />
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Cache-control" content="no-cache" />
<meta http-equiv="Cache" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
<meta name="format-detection" content="telephone=no,email=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<!-- <script type="text/javascript">
if (window.localStorage) {
var theme = window.localStorage.themes || 'green';
var head = document.getElementsByTagName('head')[0];
var link = document.createElement('link');
link.href = './' + theme + 'Theme.css';
link.rel = 'stylesheet';
link.type = 'text/css';
head.appendChild(link);
}
</script> -->
<title>
<%= htmlWebpackPlugin.options.title %>
</title>
<style type="text/css">
html,
body,
#app {
height: 100%;
padding: 0;
margin: 0;
position: absolute;
z-index: 0;
}
</style>
</head>
<body>
<div id="app" style="width:100%;height:100%"></div>
<div id="box" style="position:relative;z-index:10000"></div>
<script src='./vendor/polyfill.min.js' charset="utf-8"></script>
<script src='./vendor/echarts.min.js' charset="utf-8"></script>
<script src='./vendor/zrender.min.js' charset="utf-8"></script>
</body>
<script type="text/javascript">
window._hmt = window._hmt || [];
window._vds = window._vds || [];
(function () {
//百度统计
if (location.hostname.indexOf("debug.aierp.cn") != -1) {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?48e71ccf5b9f3f41587afbca14be2632";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
} else if (location.hostname.indexOf("test.aitaxer.com") != -1) {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?74d33743fbd4baf01e8c5b511545c952";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
} else {
window._hmt = {
data: [], push: function (a) {
this.data.push(a);
if (this.data.length > 100) {
this.data = [];
}
}
}
}
})();
function downloadJSAtOnload() {
var j = document.createElement("script");
j.src = "./vendor/jquery-1.4.2.min.js";
var head = document.getElementsByTagName('HEAD').item(0);
var l = document.createElement("script");
l.src = "./vendor/layer.js";
var style = document.createElement('link');
style.href = './vendor/css/animate.min.css';
style.rel = 'stylesheet';
style.type = 'text/css';
head.appendChild(style);
document.body.appendChild(j);
j.onload = function () {
document.body.appendChild(l);
}
}
if (window.addEventListener)
window.addEventListener("load", downloadJSAtOnload, false);
else if (window.attachEvent)
window.attachEvent("onload", downloadJSAtOnload);
else window.onload = downloadJSAtOnload;
</script>
</html>