You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.8 KiB
HTML
57 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="">
|
|
|
|
<head>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<!-- 强制显示方式 -->
|
|
<meta name="viewport"
|
|
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
|
|
<!-- 允许全屏 -->
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<!-- 顶端状态条样式 -->
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
|
<!-- 忽略将数字变为电话号码 -->
|
|
<meta content="telephone=no" name="format-detection">
|
|
<!-- uc强制竖屏 -->
|
|
<meta name="screen-orientation" content="portrait">
|
|
<!-- qq强制竖屏 -->
|
|
<meta name="x5-orientation" content="portrait">
|
|
<!-- uc强制全屏 -->
|
|
<meta name="full-screen" content="yes">
|
|
<!-- qq强制全屏 -->
|
|
<meta name="x5-fullscreen" content="true">
|
|
<!-- uc应用模式 -->
|
|
<meta name="browsermode" content="application">
|
|
<!-- qq应用模式 -->
|
|
<meta name="x5-page-mode" content="app">
|
|
<!-- windows phone 点击无高光 -->
|
|
<meta name="msapplication-tap-highlight" content="no">
|
|
<link rel="icon" href="./favicon.ico">
|
|
<title><%= VUE_APP_TITLE %></title>
|
|
</head>
|
|
|
|
<body>
|
|
<style>
|
|
.top-notify {
|
|
z-index: 999999 !important;
|
|
}
|
|
</style>
|
|
<noscript>
|
|
<strong>当前浏览器版本过低,请升级浏览器!</strong>
|
|
</noscript>
|
|
<div id="app"></div>
|
|
<script>
|
|
function initHtml() {
|
|
document.getElementsByTagName('html')[0].style.fontSize = window.screen.width / 375 * 16 + 'px'
|
|
}
|
|
window.addEventListener('resize', () => {
|
|
initHtml()
|
|
})
|
|
initHtml()
|
|
document.body.addEventListener('touchstart', function () {})
|
|
|
|
</script>
|
|
</body>
|
|
|
|
</html> |