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; + } } }