You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.1 KiB
28 lines
1.1 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" href="/favicon.ico" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>智慧物流园区-数字孪生</title>
|
|
<script type="text/javascript">
|
|
!(function(doc, win) {
|
|
var docEle = doc.documentElement, //获取html元素
|
|
event = "onorientationchange" in window ? "orientationchange" : "resize", //判断是屏幕旋转还是resize;
|
|
fn = function() {
|
|
var width = docEle.clientWidth;
|
|
width && (docEle.style.fontSize = (width / 1080) + "px"); //设置html的fontSize,随着event的改变而改变。
|
|
};
|
|
|
|
win.addEventListener(event, fn, false);
|
|
doc.addEventListener("DOMContentLoaded", fn, false);
|
|
|
|
}(document, window));
|
|
</script>
|
|
</head>
|
|
<body class="w-screen h-screen min-h-0">
|
|
<!-- style="overflow: hidden;" -->
|
|
<div id="app" class="flex w-screen h-screen min-h-0" style="overflow: hidden;"></div>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|
|
|