update
This commit is contained in:
@@ -19,6 +19,7 @@ import { DataManager, DataId } from "../data/DataManager";
|
||||
import { GirlData } from "../data/GirlData";
|
||||
import { EnvData } from "../data/EnvData";
|
||||
import { TipsPanel } from "../ui/panels/TipsPanel";
|
||||
import { NavigationManager } from "../manager/NavigationManager";
|
||||
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@@ -72,13 +73,25 @@ export class DetailImageItem extends Component {
|
||||
this.base.setVideEnable(false);
|
||||
}
|
||||
} else {
|
||||
ViewManager.I.openBundlesView("PopupGirlDetailPanel", {
|
||||
category: this.category,
|
||||
resId: this.resId,
|
||||
girlId: this.girlId,
|
||||
base: this,
|
||||
type: this.type,
|
||||
});
|
||||
NavigationManager.Instance.openSubPanel(
|
||||
"PopupGirlDetailPanel",
|
||||
this.base.node,
|
||||
{
|
||||
category: this.category,
|
||||
resId: this.resId,
|
||||
girlId: this.girlId,
|
||||
base: this,
|
||||
type: this.type,
|
||||
}
|
||||
);
|
||||
|
||||
// ViewManager.I.openBundlesView("PopupGirlDetailPanel", {
|
||||
// category: this.category,
|
||||
// resId: this.resId,
|
||||
// girlId: this.girlId,
|
||||
// base: this,
|
||||
// type: this.type,
|
||||
// });
|
||||
}
|
||||
// if (!this.isImage) {
|
||||
// //判断是否已经解锁此资源
|
||||
@@ -238,13 +251,13 @@ export class DetailImageItem extends Component {
|
||||
this.resId = 0;
|
||||
this.type = null;
|
||||
this.isVisible = false;
|
||||
|
||||
|
||||
this.question.active = true;
|
||||
this.video.enabled = false;
|
||||
this.priceFrame.active = false;
|
||||
this.loading.active = false;
|
||||
this.videoPrice.string = "";
|
||||
|
||||
|
||||
if (this.img && this.img.spriteFrame) {
|
||||
this.img.spriteFrame = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user