From 13bdc1a1f35dc550e93313506150b14a65cf8563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Tue, 16 Sep 2025 21:41:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E9=94=99=E8=AF=AF=20=EF=BC=8C=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E9=A1=B5=E7=BA=BF=E6=9D=A1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/home_pages/index.tsx | 3 +-- src/publish_pages/publishBall/index.tsx | 4 ++-- src/user_pages/edit/index.scss | 16 +++++++++++++--- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/home_pages/index.tsx b/src/home_pages/index.tsx index 29b5fe7..dfdc15e 100644 --- a/src/home_pages/index.tsx +++ b/src/home_pages/index.tsx @@ -10,7 +10,6 @@ const HomePage: React.FC = () => { useEffect(() => { const handleLoginRedirect = async () => { const login_status = check_login_status(); - if (login_status) { try { // 先获取用户信息 @@ -32,7 +31,7 @@ const HomePage: React.FC = () => { return ( - + ); } diff --git a/src/publish_pages/publishBall/index.tsx b/src/publish_pages/publishBall/index.tsx index de070ed..8b0a5e6 100644 --- a/src/publish_pages/publishBall/index.tsx +++ b/src/publish_pages/publishBall/index.tsx @@ -278,7 +278,7 @@ const PublishBall: React.FC = () => { // 如果是畅打,则跳转第一个球局详情页,并自动分享 @刘杰 Taro.navigateTo({ // @ts-expect-error: id - url: `/pages/detail/index?id=${res.data.id || 1}&from=publish&autoShare=1` + url: `/game_pages/detail/index?id=${res.data.id || 1}&from=publish&autoShare=1` }) } else { Taro.showToast({ @@ -324,7 +324,7 @@ const PublishBall: React.FC = () => { // 如果是畅打,则跳转第一个球局详情页,并自动分享 @刘杰 Taro.navigateTo({ // @ts-expect-error: id - url: `/pages/detail/index?id=${res.data?.[0].id || 1}&from=publish&autoShare=1` + url: `/game_pages/detail/index?id=${res.data?.[0].id || 1}&from=publish&autoShare=1` }) } else { Taro.showToast({ diff --git a/src/user_pages/edit/index.scss b/src/user_pages/edit/index.scss index 99c75ce..08e6b2b 100644 --- a/src/user_pages/edit/index.scss +++ b/src/user_pages/edit/index.scss @@ -174,9 +174,7 @@ border-radius: 12px; overflow: hidden; - &:not(:first-child) { - border-top: 1px solid rgba(0, 0, 0, 0.06); - } + .form_item { display: flex; @@ -187,6 +185,11 @@ box-sizing: border-box; gap: 20px; + + + + + .item_left { display: flex; align-items: center; @@ -301,6 +304,13 @@ border-radius: 99px; } } + + .divider{ + height: 1px; + background-color: rgba(0, 0, 0, 0.06) ; + margin-left:35px; + box-sizing: border-box; + } } }