This commit is contained in:
2025-09-11 12:31:10 +08:00
parent 5accb0b507
commit f3cfcecadf
24 changed files with 3379 additions and 1283 deletions
@@ -37,6 +37,9 @@ export class DetailImageItem extends Component {
@property(Label)
videoPrice: Label;
@property(Node)
loading: Node;
base: GirlDetailPanel;
url: string;
isImage: boolean;
@@ -146,6 +149,8 @@ export class DetailImageItem extends Component {
this.test_resID = this.node.getChildByName("resID");
this.loading.active = true;
this.test_resID.getComponent(Label).string =
this.girlId.toString() + this.resId;
@@ -211,6 +216,7 @@ export class DetailImageItem extends Component {
ResManager.I.changeBundleSpriteFrame(this.img, imgPath, "Girls", () => {
this.question.active = false; // 图片加载成功后隐藏问号
this.scaleToFillItem();
this.loading.active = false;
});
}