From e3afb7ab25d2709d4e2fe8859bb23ef56b5a1360 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期三, 06 八月 2025 09:43:30 +0800 Subject: [PATCH] :qx --- pages/index.html | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/pages/index.html b/pages/index.html index c3ff205..15c44db 100644 --- a/pages/index.html +++ b/pages/index.html @@ -1,20 +1,20 @@ <!DOCTYPE html> <html lang="en"> - <head> - <meta charset="UTF-8" /> - <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> - <title></title> - <!--preload-links--> - <!--app-context--> - </head> - <body> - <div id="app"><!--app-html--></div> - <script type="module" src="/main.js"></script> - </body> -</html> + <head> + <meta charset="UTF-8" /> + <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> + <title></title> + <!--preload-links--> + <!--app-context--> + </head> + <body> + <div id="app"><!--app-html--></div> + <script type="module" src="/main.js"></script> + </body> +</html> \ No newline at end of file -- Gitblit v1.8.0