From 22e606d6519457924e6af8173db28691cfd50712 Mon Sep 17 00:00:00 2001 From: Cp0204 Date: Wed, 3 Sep 2025 14:26:48 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E9=85=8D=E7=BD=AE=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/run.py | 2 +- app/templates/index.html | 89 +++++++++++++++++++++++----------------- 2 files changed, 53 insertions(+), 38 deletions(-) diff --git a/app/run.py b/app/run.py index 397c0eb..2f0e053 100644 --- a/app/run.py +++ b/app/run.py @@ -240,7 +240,7 @@ def get_task_suggestions(): ps_data = config_data.get("source", {}).get("pansou", {}) def net_search(): - if net_data.get("enable", "true").lower() != "false": + if str(net_data.get("enable", "true")).lower() != "false": base_url = base64.b64decode("aHR0cHM6Ly9zLjkxNzc4OC54eXo=").decode() url = f"{base_url}/task_suggestions?q={query}&d={deep}" response = requests.get(url) diff --git a/app/templates/index.html b/app/templates/index.html index 627b222..39281c2 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -198,55 +198,70 @@
-

网络公开

+

资源搜索

-
- -
- +
+
+
+ 网络公开搜索 +
- -
-
-

CloudSaver

- - ? - +
+
+ +
+ +
-
- -
- +
+
+
+ CloudSaver + + ? + +
-
- -
- +
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
-
- -
- +
+
+
+ PanSou + + ? + +
- -
-
-

PanSou

- - ? - -
-
-
- -
- +
+
+ +
+ +