细节优化

This commit is contained in:
2025-10-12 23:03:51 +08:00
parent 09c77a809b
commit 6a5191df21
14 changed files with 143 additions and 54 deletions

View File

@@ -170,6 +170,12 @@ const MyselfPage: React.FC = () => {
}
};
const goPublish = () => {
Taro.navigateTo({
url: "/publish_pages/publishBall/index",
});
}
// 处理球局订单
const handle_game_orders = () => {
Taro.navigateTo({
@@ -237,9 +243,8 @@ const MyselfPage: React.FC = () => {
<Text className="tab_text"></Text>
</View>
<View
className={`tab_item ${
active_tab === "participated" ? "active" : ""
}`}
className={`tab_item ${active_tab === "participated" ? "active" : ""
}`}
onClick={() => setActiveTab("participated")}
>
<Text className="tab_text"></Text>
@@ -259,8 +264,8 @@ const MyselfPage: React.FC = () => {
emptyText="暂未发布球局"
btnText="去发布"
btnImg="ICON_ADD"
reload={load_game_data}
loadMoreMatches={() => {}}
reload={goPublish}
loadMoreMatches={() => { }}
/>
</ScrollView>
</View>
@@ -283,7 +288,7 @@ const MyselfPage: React.FC = () => {
loading={loading}
error={null}
errorImg="ICON_LIST_EMPTY"
loadMoreMatches={() => {}}
loadMoreMatches={() => { }}
/>
</ScrollView>
{/* </View> */}