修复 发布跳转错误 ,个人页线条问题

This commit is contained in:
张成
2025-09-16 21:41:43 +08:00
parent c4fc8fd323
commit 13bdc1a1f3
3 changed files with 16 additions and 7 deletions

View File

@@ -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 (
<View className="home_page">
</View>
);
}

View File

@@ -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({

View File

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