update 页面跳转

This commit is contained in:
2025-09-21 16:04:51 +08:00
parent 69318c3404
commit d1f88f15c1
14 changed files with 60 additions and 30 deletions
@@ -20,7 +20,10 @@ import LanguageUtils, {
LanguageType,
} from "../../../Main/Common/LanguageUtils";
import AudioManager from "../../../Main/Manager/AudioManager";
import { NavigationManager } from "../../manager/NavigationManager";
import {
NavigationManager,
PageTransitionType,
} from "../../manager/NavigationManager";
import { PlayerDataService } from "../../network/services/PlayerDataService";
import proto from "db://assets/Scripts/proto/proto.pb.js";
@@ -150,6 +153,9 @@ export class PersonalPanel extends li_BaseView {
NavigationManager.Instance.openSubPanel("SettingPanel", this.node);
}
private openPurchase() {
NavigationManager.Instance.openSubPanel("PurchasePanel", this.node);
NavigationManager.Instance.openSubPanel("PurchasePanel", this.node, null, {
openAnimation: PageTransitionType.SLIDE_LEFT,
closeAnimation: PageTransitionType.SLIDE_RIGHT,
});
}
}