个人页、他人页优化
This commit is contained in:
@@ -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> */}
|
||||
|
||||
Reference in New Issue
Block a user