From b73c752142636d62cc79ecc5ad6708bf6d0e1a65 Mon Sep 17 00:00:00 2001 From: sunheyi <1061867552@qq.com> Date: Sat, 1 Jul 2023 09:07:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=80=E8=BF=91=E8=AF=84?= =?UTF-8?q?=E8=AE=BA=E9=94=99=E8=AF=AF=EF=BC=9B=E4=BF=AE=E5=A4=8D=E6=97=A0?= =?UTF-8?q?=E5=8F=B3=E9=94=AE=E8=8F=9C=E5=8D=95=E5=88=87=E6=8D=A2=E6=B7=B1?= =?UTF-8?q?=E6=B5=85=E8=89=B2=E6=A8=A1=E5=BC=8F=E9=94=99=E8=AF=AF=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/assets/zhheo/rightmenu.js | 4 ++++ templates/modules/right-menu.html | 2 +- templates/modules/widgets/cardNewestComments.html | 2 +- templates/modules/widgets/console.html | 5 +++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/templates/assets/zhheo/rightmenu.js b/templates/assets/zhheo/rightmenu.js index 008766fe..8263bdc9 100644 --- a/templates/assets/zhheo/rightmenu.js +++ b/templates/assets/zhheo/rightmenu.js @@ -353,6 +353,10 @@ rm.copyLink = function () { btf.snackbarShow('已复制链接地址'); } +function switchDarkMode(){ + rm.switchDarkMode(); +} + function addRightMenuClickEvent() { // 添加点击事件 $('#menu-backward').on('click', function () { diff --git a/templates/modules/right-menu.html b/templates/modules/right-menu.html index 2d4a2a02..252ef878 100644 --- a/templates/modules/right-menu.html +++ b/templates/modules/right-menu.html @@ -1,8 +1,8 @@ +