From 0edf94722a0dcc338567fec7df76b2e0acd39b92 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期一, 27 五月 2024 15:30:48 +0800 Subject: [PATCH] 调整 --- public/index.html | 51 +++++++++++++++++++++++++++++---------------------- 1 files changed, 29 insertions(+), 22 deletions(-) diff --git a/public/index.html b/public/index.html index ff730ce..88d9766 100644 --- a/public/index.html +++ b/public/index.html @@ -1,25 +1,32 @@ <!DOCTYPE html> <html lang="zh-CN"> + <head> + <meta charset="utf-8" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> + <link rel="icon" href="./logo.ico"> + <title>涓浗鍖诲浜虹墿鐭ヨ瘑搴�</title> + <script> + var coverSupport = + "CSS" in window && + typeof CSS.supports === "function" && + (CSS.supports("top: env(a)") || CSS.supports("top: constant(a)")); + document.write( + '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + + (coverSupport ? ", viewport-fit=cover" : "") + + '" />' + ); + </script> + <link + rel="stylesheet" + href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" + /> + </head> - <head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <title> - <%= htmlWebpackPlugin.options.title %> - </title> - <script> - var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) - document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />') - </script> - <link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" /> - </head> - - <body> - <noscript> - <strong>Please enable JavaScript to continue.</strong> - </noscript> - <div id="app"></div> - <!-- built files will be auto injected --> - </body> - -</html> \ No newline at end of file + <body> + <noscript> + <strong>Please enable JavaScript to continue.</strong> + </noscript> + <div id="app"></div> + <!-- built files will be auto injected --> + </body> +</html> -- Gitblit v1.9.1