From 46733155e089829a993e8d069692b7d185d4dbd1 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 4 Jan 2026 21:49:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E4=B8=8B=E6=BB=91?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E7=9B=B4=E6=92=AD=E9=97=B4=E7=9A=84=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=80=89=E9=A1=B9=EF=BC=8C=E6=94=AF=E6=8C=81=E5=90=AF?= =?UTF-8?q?=E7=94=A8=E5=92=8C=E8=AE=BE=E7=BD=AE=E6=AC=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- douyin/utils/douyin_config.py | 4 +--- webui/index.html | 12 ++++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/douyin/utils/douyin_config.py b/douyin/utils/douyin_config.py index 6d27509..901da28 100644 --- a/douyin/utils/douyin_config.py +++ b/douyin/utils/douyin_config.py @@ -246,9 +246,7 @@ class ConfigManager: # 新增:下滑达到阈值后按返回并重新进入直播间的配置 if "swipe_down_back_enabled" in config: - analyser.swipe_down_back_enabled = bool( - config["swipe_down_back_enabled"] - ) + analyser.swipe_down_back_enabled = bool(config["swipe_down_back_enabled"]) if "swipe_down_back_count" in config: try: diff --git a/webui/index.html b/webui/index.html index 815d1f6..4c7e4a9 100644 --- a/webui/index.html +++ b/webui/index.html @@ -140,6 +140,18 @@
用于需要循环切换时的回退阈值;配合上方开关启�?/div>
+
+ + +
+
+ + +
触发后会按返回键返回推荐页并重新进入直播间
+