设置页、弹窗逻辑、跳转逻辑

视频播放逻辑优化
This commit is contained in:
2025-09-11 00:03:22 +08:00
parent a6b15778a8
commit 7dedbf124c
24 changed files with 2338 additions and 1381 deletions
@@ -25,6 +25,7 @@ export class ImagePopup extends Component {
start() {
this.node.setPosition(new Vec3(-1500, 493, 0));
GButton.BandClick(this.image.node, this.openImage, this);
this.node.active = false;
}
onDestroy() {
@@ -36,6 +37,7 @@ export class ImagePopup extends Component {
resId: number;
//url: string;
refresh(categoryId: string, girlId: number, resId: number, clear = false) {
this.node.active = true;
const girlData = DataManager.I.getDataById<GirlData>(DataId.Girl);
this.categoryId = categoryId;
this.girlId = girlId;