feat: 将list相关的代码迁移到game_pages目录

This commit is contained in:
2025-09-12 15:36:09 +08:00
parent 859ffec852
commit 7c16f8bcce
19 changed files with 40 additions and 40 deletions

View File

@@ -259,18 +259,18 @@ function StickyButton(props) {
) {
return {
text: "球局已结束,查看其他球局",
action: navto.bind(null, "/pages/list/index"),
action: navto.bind(null, "/game_pages/list/index"),
};
}
if (waiting_start) {
return {
text: "等待开始, 查看更多球局",
action: navto.bind(null, "/pages/list/index"),
action: navto.bind(null, "/game_pages/list/index"),
};
} else if (is_substituting) {
return {
text: "候补中,查看其他球局",
action: navto.bind(null, "/pages/list/index"),
action: navto.bind(null, "/game_pages/list/index"),
};
} else if (can_pay) {
return {
@@ -1036,7 +1036,7 @@ function Index() {
const pages = Taro.getCurrentPages();
if (pages.length <= 1) {
Taro.redirectTo({
url: "/pages/list/index",
url: "/game_pages/list/index",
});
} else {
Taro.navigateBack();