feat: 修改两处海报logo-text图片、修改创建球局后跳转详情页打开分享弹窗位置、修改分享二维码接口取值、修改ntrp修改弹窗的初始值、增加复制链接功能
This commit is contained in:
@@ -81,9 +81,9 @@ function Index() {
|
||||
// 位置更新后,重新获取详情页数据(因为距离等信息可能发生变化)
|
||||
// 注意:这里不调用 fetchDetail,避免与 useDidShow 中的调用重复
|
||||
// 如果需要更新距离信息,可以在 fetchDetail 成功后根据当前位置重新计算
|
||||
if (from === "publish") {
|
||||
handleShare(true);
|
||||
}
|
||||
// if (from === "publish") {
|
||||
// handleShare(true);
|
||||
// }
|
||||
} catch (error) {
|
||||
console.error("用户位置更新失败", error);
|
||||
}
|
||||
@@ -105,6 +105,10 @@ function Index() {
|
||||
fetchUserInfoById(res.data.publisher_id);
|
||||
}
|
||||
|
||||
if (from === "publish") {
|
||||
handleShare(true);
|
||||
}
|
||||
|
||||
// Taro.hideLoading();
|
||||
};
|
||||
|
||||
@@ -161,7 +165,7 @@ function Index() {
|
||||
navto(
|
||||
userId === myInfo.id
|
||||
? "/user_pages/myself/index"
|
||||
: `/user_pages/other/index?userid=${userId}`
|
||||
: `/user_pages/other/index?userid=${userId}`,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -195,7 +199,7 @@ function Index() {
|
||||
<View
|
||||
className={classnames(
|
||||
styles["custom-navbar"],
|
||||
glass ? styles.glass : ""
|
||||
glass ? styles.glass : "",
|
||||
)}
|
||||
style={{
|
||||
height: `${totalHeight}px`,
|
||||
|
||||
Reference in New Issue
Block a user