This commit is contained in:
2025-09-09 19:59:11 +08:00
parent 7b6a119049
commit ffbced749c
5 changed files with 32 additions and 49 deletions
@@ -188,15 +188,15 @@ export class GirlDetailPanel extends li_BaseView {
bindVideoToggle() {
const girlData = DataManager.I.getDataById<GirlData>(DataId.Girl);
let videoDatas = girlData.getGirlVideosData(this.category.toString(), this.id);
this.refreshImgs(2, this.category, this.id, videoDatas);
let ids = girlData.getAllGrilVideoId(this.category.toString(), this.id);
this.refreshImgs(2, this.category, this.id, ids);
}
refreshImgs(
type: number,
category: number,
id: number,
datas: any[]
datas: number[]
) {
for (let i = this.imgsLayout.children.length - 1; i >= 0; i--) {
this.imgsLayout.children[i].destroy();