From a87a63145904e913b22430eea51f984ee26a757b Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Sat, 19 Sep 2026 21:22:19 +0800 Subject: [PATCH] =?UTF-8?q?ux:=20=E6=B7=B1=E8=89=B2=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E9=80=82=E9=85=8D=E2=80=94=E2=80=94=E5=B0=8F?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E6=94=B9=E4=B8=BA=E8=B7=9F=E9=9A=8F=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E8=AF=B4=E6=98=8E=E9=A1=B9=EF=BC=88=E5=8E=9F=E5=BC=80?= =?UTF-8?q?=E5=85=B3=E5=9C=A8=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=97=A0=E6=95=88?= =?UTF-8?q?=EF=BC=89=EF=BC=8CH5=E4=BF=9D=E7=95=99=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E5=BC=80=E5=85=B3=EF=BC=9B=E7=89=88=E6=9C=ACv1.4.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/manifest.json | 2 +- client/src/pages/settings/settings.vue | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/client/src/manifest.json b/client/src/manifest.json index 3273520..93b0fe0 100644 --- a/client/src/manifest.json +++ b/client/src/manifest.json @@ -1,7 +1,7 @@ { "name": "宇之然AI维度", "appid": "wxdad62baf4ccd09e3", - "versionName": "1.4.6", + "versionName": "1.4.7", "versionCode": "100", "description": "AI 知识探索社区 — 从5个维度系统理解人工智能", "uni-app": { diff --git a/client/src/pages/settings/settings.vue b/client/src/pages/settings/settings.vue index 4c7e091..978e125 100644 --- a/client/src/pages/settings/settings.vue +++ b/client/src/pages/settings/settings.vue @@ -20,6 +20,7 @@ + 🌙 @@ -30,6 +31,17 @@ + + + + 🌙 + + 深色模式 + 跟随系统设置自动切换 + + › + + @@ -85,6 +97,14 @@ function togglePush() { }) } +function showDarkTip() { + uni.showModal({ + title: '深色模式', + content: '小程序深色模式跟随系统:在手机的 系统设置 → 显示与亮度 中切换深色/浅色,小程序将自动适配。', + showCancel: false, + }) +} + function toggleDarkMode() { darkMode.value = !darkMode.value const theme = darkMode.value ? 'dark' : 'light'