From 6cd65bbefff81f0236490998445a66901316b230 Mon Sep 17 00:00:00 2001 From: xiaobao <854914462@qq.com> Date: Fri, 19 Sep 2025 11:09:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .htaccess | 1 + .user.ini | 1 + 404.html | 16 ++++++++++++++++ index.html | 11 +++++++++-- 4 files changed, 27 insertions(+), 2 deletions(-) create mode 100755 .htaccess create mode 100644 .user.ini create mode 100755 404.html diff --git a/.htaccess b/.htaccess new file mode 100755 index 0000000..0519ecb --- /dev/null +++ b/.htaccess @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.user.ini b/.user.ini new file mode 100644 index 0000000..65471b8 --- /dev/null +++ b/.user.ini @@ -0,0 +1 @@ +open_basedir=/www/wwwroot/js/node/AIPhotovoltaicAnalysis/:/tmp/ \ No newline at end of file diff --git a/404.html b/404.html new file mode 100755 index 0000000..6096254 --- /dev/null +++ b/404.html @@ -0,0 +1,16 @@ + + + + +404 Not Found + +

404 Not Found

+
+
Power by 堡塔 (免费,高效和安全的托管控制面板)
+ + \ No newline at end of file diff --git a/index.html b/index.html index 64ecc89..a876f59 100755 --- a/index.html +++ b/index.html @@ -751,8 +751,11 @@ q.addEventListener("click", () => { if (q.classList.contains("mainauestion")) { // q.style.display = 'none'; - document.querySelector('.fourquestionmain').style.display = 'none'; - document.querySelector('.sidequestion').style.display = 'flex'; + if (!isMobile()) { + document.querySelector('.fourquestionmain').style.display = 'none'; + document.querySelector('.sidequestion').style.display = 'flex'; + } + } isPre = true; console.log(isUpload, 88) @@ -771,6 +774,10 @@ sendMessage(true); }); }); + function isMobile() { + return /Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); + } + // getHistory(); function getCookie(name) { const match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)'));