feat: 将list相关的代码迁移到game_pages目录
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user