From f26f29d84e0a68831a6af14dab3eec5500496d2e Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期三, 28 五月 2025 16:48:52 +0800 Subject: [PATCH] 初始化项目 --- h5.html | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 50 insertions(+), 0 deletions(-) diff --git a/h5.html b/h5.html new file mode 100644 index 0000000..b60914a --- /dev/null +++ b/h5.html @@ -0,0 +1,50 @@ +<!DOCTYPE html> +<html lang="zh-CN"> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="keywords" content="PoweredByJeeSiteV4.0"/> + <meta name="description" content="PoweredByJeeSiteV4.0"/> + <link rel="shortcut icon" type="image/x-icon" href="<%= BASE_URL %>static/custom/favicon.png"> + <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> + <title><%= htmlWebpackPlugin.options.title %></title> + <script> + window.onresize = function () { + if (document.documentElement.clientWidth >= 768) { + window.location.href = '<%= BASE_URL %>static/#/'; + } + }; + window.onresize(); + </script> + <!-- 姝e紡鍙戝竷鐨勬椂鍊欎娇鐢紝寮�鍙戞湡闂翠笉鍚敤銆傗啌 --> + <script src="<%= BASE_URL %>static/common/js/touch-emulator.js"></script> + <script> + TouchEmulator(); + </script> + <style> + ::-webkit-scrollbar{ + display: none; + } + </style> + <!-- 姝e紡鍙戝竷鐨勬椂鍊欎娇鐢紝寮�鍙戞湡闂翠笉鍚敤銆傗啈 --> + <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锛屽苟闈炲簲鐢ㄥ叆鍙c�� --> + <!-- 璇峰嬁鍦ㄦ鏂囦欢缂栧啓椤甸潰浠g爜鎴栫洿鎺ヨ繍琛屾鏂囦欢銆� --> + <!-- 璇﹁鏂囨。锛歨ttps://uniapp.dcloud.io/collocation/manifest?id=h5-template --> + <noscript> + <strong>鏈珯鐐瑰繀椤昏寮�鍚疛avaScript鎵嶈兘杩愯</strong> + </noscript> + <div id="app"></div> + <!-- built files will be auto injected --> + <script> + /*BAIDU_STAT*/ + </script> + </body> +</html> -- Gitblit v1.9.3