lnn-droplet-ui
Version:
54 lines (51 loc) • 1.85 kB
HTML
<html>
<head>
<meta charset="utf-8">
<title>水滴UI</title>
<!-- You should set 'weex-viewport' to your design pixel width, and the
viewport meta should be set like below, OTHERWISE it won't work.-->
<meta name="weex-viewport" content="750"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<meta name="apple-touch-fullscreen" content="yes"/>
<meta name="format-detection" content="telephone=no, email=no"/>
<!-- About style below: html's height should set to 100%, and this style should be added
before the weex-vue-render script loaded. OTHERWISE the
weex.config.env.deviceHeight' will not work. -->
<style>
html, body {
-ms-overflow-style: scrollbar;
-webkit-tap-highlight-color: transparent;
padding: 0;
margin: 0;
width: 100%;
height: 100%;
}
</style>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?531f224f05a405973ee3fc414d1b90dc";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<div id="root"></div>
<script src="./vue.runtime.min.js"></script>
<!-- <script src="//h5.m.taobao.com/js/trip/weex-ui/weex-vue-render-next.min.js"></script> -->
<!--node_modules/weex-vue-render/dist/index.min.js-->
<script src="./index.min.js"></script>
<script src="./index.web.js"></script>
<script type="text/javascript">
var href = window.location.href;
if (href.indexOf('_wx_tpl') < 0) {
window.location.href = href + '?_wx_tpl='+encodeURIComponent(href) + 'index.native.js';
}
</script>
</body>
</html>