From 2c9199d2c2ecdb069e2f944dd7594f813bb9fb26 Mon Sep 17 00:00:00 2001 From: fuhl <370419915@qq.com> Date: Wed, 19 Apr 2023 11:10:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=AD=97=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/home.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/home.tsx b/app/components/home.tsx index fd55bce59..604d43a53 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -182,7 +182,7 @@ function useSwitchTheme() { //背景色用于调试用 // leftDiv.style.backgroundColor = "rgba(255,0,0,0.1)"; //居左 - document.body.style.textAlign = "right"; + // document.body.style.textAlign = "right"; //固定 rightDiv.style.position = "fixed"; //距离左边距 @@ -256,7 +256,7 @@ function useSwitchTheme() { // 添加点击事件监听器 internalDiv.addEventListener("click", function () { - // window.location.href = 'weixin://dl/miniprogram?appId=wxXXXXXXXXXXXXX&path=/pages/index/index&type=0'; + // window.location.href = 'weixin://dl/miniprogram?appId=wx28e3b98396801326&path=/pages/home/index&type=0'; window.location.href = "weixin://profile/gh_d2e49475117d"; }); }, [config]);