Browse Source

同步代码

wyx
mk 3 months ago
parent
commit
6655e01fac
  1. 33
      public/index.html

33
public/index.html

@ -1,17 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= webpackConfig.name %></title>
<title>
<%= webpackConfig.name %>
</title>
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
<script>
window.SITE_CONFIG = {}
window.SITE_CONFIG['apiURL'] = '/mz-api'; // api请求地址
</script>
<style>
html,
body,
@ -20,6 +19,7 @@
margin: 0px;
padding: 0px;
}
.chromeframe {
margin: 0.2em 0;
background: #ccc;
@ -96,6 +96,7 @@
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg);
@ -109,6 +110,7 @@
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg);
@ -198,8 +200,20 @@
opacity: 0.5;
}
</style>
</head>
<body>
</head>
<script>
window.SITE_CONFIG = {}
window.SITE_CONFIG['apiURL'] = '/mz-api'; // api请求地址
function toLoadJs(src) {
var js = document.createElement('script');
js.src = src;
js.type = 'text/javascript'
document.getElementsByTagName('head')[0].appendChild(js);
}
toLoadJs('https://webapi.amap.com/maps?v=2.0&key=${process.env.VUE_APP_AMAP_KEY}&plugin=AMap.Geocoder,AMap.PlaceSearch&callback=initAMap')
</script>
<body>
<div id="app">
<div id="loader-wrapper">
<div id="loader"></div>
@ -208,5 +222,6 @@
<div class="load_title">正在加载系统资源,请耐心等待</div>
</div>
</div>
</body>
</body>
</html>
Loading…
Cancel
Save