个人页、他人页优化

This commit is contained in:
2025-11-08 20:14:54 +08:00
parent 40ea0f2eed
commit 5a15a5886d
8 changed files with 126 additions and 23 deletions

View File

@@ -205,6 +205,10 @@ const OtherUserPage: React.FC = () => {
}&nickname=${user_info.nickname || ""}`,
});
};
const handleOnTab = (tab) => {
setActiveTab(tab)
}
// 处理球局详情
// const handle_game_detail = (game_id: string) => {
@@ -236,6 +240,7 @@ const OtherUserPage: React.FC = () => {
is_following={is_following}
on_follow={handle_follow}
on_message={handle_send_message}
onTab={handleOnTab}
/>
</View>
@@ -265,6 +270,9 @@ const OtherUserPage: React.FC = () => {
errorImg="ICON_LIST_EMPTY"
emptyText="暂无消息,去互动看看吧"
loadMoreMatches={() => {}}
collapse={true}
style={{ paddingBottom: 0, overflow: "hidden" }}
defaultShowNum={3}
/>
</ScrollView>
{/* </View> */}
@@ -301,6 +309,9 @@ const OtherUserPage: React.FC = () => {
errorImg="ICON_LIST_EMPTY"
emptyText="暂无消息,去互动看看吧"
loadMoreMatches={() => {}}
collapse={true}
style={{ paddingBottom: "90px", overflow: "hidden" }}
defaultShowNum={3}
/>
</ScrollView>
{/* </View> */}