index.html
1.81 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="keywords" content="<%= process.env.VUE_APP_KEYWORDS%>">
<meta name="description" content="<%= process.env.VUE_APP_DESCRIPITION%>">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>
<%= process.env.VUE_APP_TITLE%>
</title>
<script>
// !(function(doc, win) {
// var docEl = doc.documentElement,
// resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
// recalc = function() {
// var clientWidth = docEl.clientWidth;
// if (!clientWidth) return;
// const fontSize = clientWidth <= 1200 ? (1200/19.2) : (clientWidth / 19.2);
// docEl.style.fontSize = fontSize + 'px';
// };
// if (!doc.addEventListener) return;
// win.addEventListener(resizeEvt, recalc, false);
// doc.addEventListener('DOMContentLoaded', recalc, false);
// recalc();
// })(document, window);
</script>
<!--关于百度地图的ak -->
<!-- <script type="text/javascript" src="http://api.map.baidu.com/getscript?v=3.0&ak=G1pCKQh8jkDEgHl0TDqsQKIuEUUrMGYt"></script> -->
</head>
<body>
<noscript>
<strong>We're sorry but vue-cli doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<articel id="app"></articel>
<!-- built files will be auto injected -->
</body>
<!--隐藏百度地图的logo和版本信息-->
<style>
.BMap_cpyCtrl {
display: none;
}
.anchorBL {
display: none;
}
</style>
</html>