import VirtualList from '@scripts/components/virtualList/VirtualList'; import { UIViewID } from '@scripts/define/UIDefine'; import { UIPopup } from '@scripts/framework/ui/UIPopup'; import { addBtnClick, addTogClick } from '@scripts/utils/UIHelper'; import { _decorator, Component, EditBox, Label, Node, Toggle } from 'cc'; const { ccclass, property } = _decorator; @ccclass('UIInviteBind') export class UIInviteBind extends UIPopup { readonly viewId: UIViewID = UIViewID.UIInviteBind; @property(Node) btnClose: Node; @property(EditBox) inputCode: EditBox; @property(Node) btnBind: Node; @property(Node) btnCancel: Node; @property(Label) lblError: Label; protected onCreate(): void | Promise { addBtnClick(this.btnClose, this.closeSelf, this); addBtnClick(this.btnCancel, this.closeSelf, this); addBtnClick(this.btnBind, this.onBtnBindClick, this); } private onBtnBindClick() { } }