123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <!DOCTYPE html>
- <html lang="">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0">
- <link rel="icon" href="<%= BASE_URL %>favicon.ico">
- <script src="./config/global.js"></script>
- <title>心灵照相机</title>
- <style>
- html,
- body {
- width: 100%;
- height: 100%;
- touch-action: none;
- touch-action: pan-y;
- }
- </style>
- </head>
- <script>
- var prod = false;
- var baseUrl = prod ? env.prod : env.dev;
- var photoUrl = prod ? env.photoUrl : env.photoUrl;
- var systemUrl = env.systemUrl;
- var scoketUrl = env.scoketUrl;
- //禁用移动端左右滑动返回
- var startX;
- document.addEventListener("touchstart",function(e){
- startX = e.targetTouches[0].pageX
- });
- document.addEventListener("touchmove",function(e){
- var moveX = e.targetTouches[0].pageX;
- if(Math.abs(moveX-startX)>0){
- e.preventDefault();
- }
- });
- </script>
- <body>
- <noscript>
- <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
- </noscript>
- <div id="app"></div>
- <!-- built files will be auto injected -->
- </body>
- </html>
|