| 12345678910111213141516171819 |
- import { UIViewID } from '@scripts/define/UIDefine';
- import { UIPopup } from '@scripts/framework/ui/UIPopup';
- import { addBtnClick } from '@scripts/utils/UIHelper';
- import { _decorator, Button, Component, Node } from 'cc';
- const { ccclass, property } = _decorator;
- @ccclass('UIWithdraw')
- export class UIWithdraw extends UIPopup {
- readonly viewId: UIViewID = UIViewID.UIWithdraw;
- @property(Button)
- btnClose: Button;
- protected onCreate(): void | Promise<void> {
- addBtnClick(this.btnClose, this.closeSelf, this);
- }
- }
|