fix
This commit is contained in:
@@ -99,7 +99,7 @@ export class ChatPanel extends li_BaseView implements IChatPanelCallback {
|
||||
this.waitingAI = this._nodeTab.waitingAI;
|
||||
// 获取 videoArea 的尺寸和位置
|
||||
this.targetSize = this.videoArea.contentSize;
|
||||
this.videoAreaPos = new Vec3(540, 1170, 0);
|
||||
this.videoAreaPos = new Vec3(0, 92.637, 0);
|
||||
|
||||
this.register();
|
||||
//this.refresh();
|
||||
@@ -168,23 +168,6 @@ export class ChatPanel extends li_BaseView implements IChatPanelCallback {
|
||||
this.categoryId =
|
||||
NavigationManager.Instance.getSelectedCategoryId().toString();
|
||||
|
||||
const isFree =
|
||||
girlData.getGrilPriceType(this.categoryId.toString(), this.id) ==
|
||||
PriceType.free;
|
||||
const isRelease = girlData.getIsRelease(
|
||||
this.categoryId.toString(),
|
||||
this.id
|
||||
);
|
||||
if (!isFree && !isRelease) {
|
||||
//未解锁
|
||||
NavigationManager.Instance.openPopupPanel("GirlListPopupPanel-Fix", {
|
||||
base: this,
|
||||
category: this.categoryId,
|
||||
id: this.id,
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
// 获取ChatController单例并绑定当前Panel
|
||||
this.chatController = ChatController.Instance;
|
||||
this.chatController.bindView(this);
|
||||
|
||||
Reference in New Issue
Block a user