| 1234567891011121314151617181920212223242526272829303132333435363738 |
- 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<void> {
- addBtnClick(this.btnClose, this.closeSelf, this);
- addBtnClick(this.btnCancel, this.closeSelf, this);
- addBtnClick(this.btnBind, this.onBtnBindClick, this);
- }
- private onBtnBindClick() {
- }
- }
|