update
This commit is contained in:
@@ -84,6 +84,13 @@ export class ChatPanel extends li_BaseView implements IChatPanelCallback {
|
||||
|
||||
targetSize;
|
||||
videoAreaPos;
|
||||
|
||||
base: Node;
|
||||
|
||||
openUIDataCT(data: any) {
|
||||
this.base = data.base;
|
||||
}
|
||||
|
||||
onLoadCT() {
|
||||
Utils.parseNode(this.node, this._nodeTab);
|
||||
|
||||
@@ -395,8 +402,12 @@ export class ChatPanel extends li_BaseView implements IChatPanelCallback {
|
||||
protected onEnable(): void {
|
||||
if (!this.manager) this.manager = DialogManager.getInstance();
|
||||
|
||||
this.base.active = false;
|
||||
this.refresh();
|
||||
}
|
||||
protected onDisable(): void {
|
||||
this.base.active = true;
|
||||
}
|
||||
|
||||
isWaiting: boolean = false;
|
||||
public async OnClickSend() {
|
||||
@@ -501,8 +512,7 @@ export class ChatPanel extends li_BaseView implements IChatPanelCallback {
|
||||
}
|
||||
|
||||
returnBtn() {
|
||||
// Navigate back to GirlDetailPanel with current girlId using smooth transition
|
||||
NavigationManager.Instance.switchToPanel(PanelType.GIRL_DETAIL);
|
||||
NavigationManager.Instance.closeSubPanel(this);
|
||||
}
|
||||
onClickRecord() {
|
||||
NavigationManager.Instance.openPopupPanel("RecordPanel", this.id);
|
||||
|
||||
Reference in New Issue
Block a user