uniapph5模板路径⾃定义
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> -->
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">    <link rel="shortcut icon" href="" type="image/x-icon" />
<title>
<%= htmlWebpackPlugin.options.title %>
</title>
<!--<script src="cdn.bootcss/vConsole/3.3.0/vconsole.min.js"></script>-->
<!--<script src="common/vConsole.min.js"></script>-->
<script>
var UA = window.LowerCase();
var isAndroid = UA.indexOf('android') > 0;
var isIOS = /iphone|ipad|ipod|ios/.test(UA);
if (!(isAndroid || isIOS)) {
// 正式发布的时候使⽤,开发期间不启⽤。
// window.location.href = '/h5/pcguide.html';
}
</script>
<!--<script type="text/javascript" src="res.wx.qq/open/js/jweixin-1.0.0.js"></script>
<script type="text/javascript">
</script>-->
<!-- <script>
document.addEventListener('DOMContentLoaded', function() {
document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
})
</script> -->
<link rel="stylesheet" href="<%= BASE_URL %>static/index.css" />
</head>
<body>
<!-- 该⽂件为 H5 平台的模板 HTML,并⾮应⽤⼊⼝。 -->
<!-- 请勿在此⽂件编写页⾯代码或直接运⾏此⽂件。 -->
<!-- 详见⽂档:uniapp.dcloud.io/collocation/manifest?id=h5-template -->
<!-- <noscript>
<strong>Please enable JavaScript to continue.</strong>
</noscript> -->
<div id="app"></div>
<!-- built files will be auto injected -->
<script>
//把wap⽹站的流量转换为流应⽤的app流量
/*(function() {
var gostream = ateElement("script");
gostream.src = "//cdn.dcloud/gostream.min.js?appid=_UNI_43DD89C";
var s = ElementsByTagName("script")[0];
s.parentNode.insertBefore(gostream, s);
})()*/
//百度统计,SEO优化app模板网站
/*var _hmt = _hmt || [];
(function() {
var hm = ateElement("script");
hm.src = "hm.baidu/hm.js?_ID";
var s = ElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})(); */
</script>
</body>
</html>

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。