协议调试
This commit is contained in:
@@ -176,24 +176,24 @@ export class GirlDetailPanel extends li_BaseView {
|
||||
let resIds = girlData.getAllDisplayGrilPhotoId(this.category.toString(), this.id);
|
||||
// 也立即尝试调整(以防已经加载完成)
|
||||
this.adjustVideoScale();
|
||||
this.refreshImgs(1, this.category, this.id, resIds);
|
||||
this.refreshImgs(proto.cs.EnmResType.ERT_Image, this.category, this.id, resIds);
|
||||
}
|
||||
}
|
||||
|
||||
bindImgToggle() {
|
||||
const girlData = DataManager.I.getDataById<GirlData>(DataId.Girl);
|
||||
let resIds = girlData.getAllDisplayGrilPhotoId(this.category.toString(), this.id);
|
||||
this.refreshImgs(1, this.category, this.id, resIds);
|
||||
this.refreshImgs(proto.cs.EnmResType.ERT_Image, this.category, this.id, resIds);
|
||||
}
|
||||
|
||||
bindVideoToggle() {
|
||||
const girlData = DataManager.I.getDataById<GirlData>(DataId.Girl);
|
||||
let resIds = girlData.getAllDisplayGrilVideoId(this.category.toString(), this.id);
|
||||
this.refreshImgs(2, this.category, this.id, resIds);
|
||||
this.refreshImgs(proto.cs.EnmResType.ERT_Video, this.category, this.id, resIds);
|
||||
}
|
||||
|
||||
refreshImgs(
|
||||
type: number,
|
||||
type: proto.cs.EnmResType,
|
||||
category: number,
|
||||
id: number,
|
||||
resIds: number[]
|
||||
|
||||
Reference in New Issue
Block a user