ui模块优化 全部navigationmanager管理

实现pastgirllistpanel逻辑
完善图集
This commit is contained in:
2025-09-21 12:05:34 +08:00
parent 8e82ebf724
commit 7722ccf694
65 changed files with 773 additions and 2280 deletions
+5 -5
View File
@@ -34,7 +34,7 @@ export class ThemeItem extends Component {
private isLocked: boolean;
private parentPanel: any;
private baseNode: any;
key: string;
protected onLoad(): void {
@@ -62,9 +62,9 @@ export class ThemeItem extends Component {
}, 0);
}
refresh(themeId: number, parentPanel?: any) {
refresh(themeId: number, parentPanel?: Node) {
if (this.loading) this.loading.active = true;
this.parentPanel = parentPanel;
this.baseNode = parentPanel;
// 主题数据
const themeData = DataManager.I.getDataById<ThemeData>(DataId.Theme);
this.lockImg.node.active = this.lockCover.node.active =
@@ -95,7 +95,7 @@ export class ThemeItem extends Component {
"[ThemeItem] Opening GirlListPanel for category:",
this.category
);
// 不使用过渡动画,直接打开
NavigationManager.Instance.navigateToGirlList(this.category);
NavigationManager.Instance.setSelectedCategoryId(this.category);
NavigationManager.Instance.openSubPanel("GirlListPanel", this.baseNode);
}
}