| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
- <title>home</title>
- <!-- <link rel="shortcut icon" href=./favicon.ico type=image/x-icon>-->
- <link rel="shortcut icon" href=./favicons.ico type=image/x-icon>
- <link href="static/css/public1.css" rel="stylesheet">
- <script>
- // 禁用缩放
- function addMeta() {
- // $('head').append('<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />');
- }
- setTimeout(addMeta, 3000);
- // 禁用双指放大
- document.documentElement.addEventListener('touchstart', function (event) {
- if (event.touches.length > 1) {
- event.preventDefault();
- }
- }, {
- passive: false
- });
- // 禁用双击放大
- var lastTouchEnd = 0;
- document.documentElement.addEventListener('touchend', function (event) {
- var now = Date.now();
- if (now - lastTouchEnd <= 300) {
- event.preventDefault();
- }
- lastTouchEnd = now;
- }, {
- passive: false
- });
- </script>
- </head>
- <body style="height: 100%; position: absolute; width: 100%;">
- <div id="app"></div>
- <!-- built files will be auto injected -->
- </body>
- </html>
|