页面优化
This commit is contained in:
@@ -118,7 +118,7 @@ export class NavigationManager {
|
||||
* 统一的面板切换方法
|
||||
* @param panelType 目标面板类型
|
||||
*/
|
||||
public switchToPanel(panelType: PanelType, force: boolean = false): void {
|
||||
public switchToPanel(panelType: PanelType, force: boolean = false): Node {
|
||||
if (this.currentActivePanelType === panelType && !force) {
|
||||
if (panelType === PanelType.THEME) {
|
||||
this.girlListPanel?.hide();
|
||||
|
||||
@@ -101,6 +101,7 @@ export class ChatPanel extends li_BaseView implements IChatPanelCallback {
|
||||
} else {
|
||||
console.log("ChatPanel: 成功获取 SceneBgVideoLayer 实例");
|
||||
}
|
||||
this.popUpImage.node.active = false;
|
||||
}
|
||||
|
||||
register() {
|
||||
|
||||
@@ -295,7 +295,7 @@ export class ThemePanel extends li_BaseView {
|
||||
}
|
||||
|
||||
enterShop() {
|
||||
ViewManager.I.openBundlesView("PurchasePanel");
|
||||
NavigationManager.Instance.switchToPanel(PanelType.PERSONAL);
|
||||
}
|
||||
|
||||
chatWithRec() {
|
||||
|
||||
Reference in New Issue
Block a user