| 123456789101112131415161718192021222324 |
- import { AppKernel } from '@scripts/app/AppKernel';
- import { UIViewID } from '@scripts/define/UIDefine';
- import { UIPopup } from '@scripts/framework/ui/UIPopup';
- import { addBtnClick } from '@scripts/utils/UIHelper';
- import { _decorator, Node } from 'cc';
- const { ccclass, property } = _decorator;
- @ccclass('UIClubRules')
- export class UIClubRules extends UIPopup {
- readonly viewId: UIViewID = UIViewID.UIClubRules;
- @property(Node)
- btnClose: Node;
- protected onCreate() {
- addBtnClick(this.btnClose, this.closeSelf, this);
- }
- protected onOpen() {
- }
- }
|