| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- import { _decorator, Button, Color, EditBox, instantiate, Label, Node, RichText, Sprite, SpriteFrame, UITransform } from 'cc';
- import { UIView } from '@scripts/framework/ui/UIView';
- import { AppKernel } from '@scripts/app/AppKernel';
- import { UIViewID } from '@scripts/define/UIDefine';
- import { UICloseReason } from '@scripts/framework/ui/UILayer';
- import { formatCurrency } from '@scripts/utils/Helper';
- import { addBtnClick } from '@scripts/utils/UIHelper';
- const { ccclass, property } = _decorator;
- @ccclass('UserInfoView')
- export class UserInfoView extends UIView {
- readonly viewId = UIViewID.UserInfoView;
- @property(Button)
- btnGuest: Button;
- @property(Button)
- btnFacebook: Button;
- @property(Button)
- btnGoogle: Button;
- @property(EditBox)
- loginAccount: EditBox;
- @property(EditBox)
- loginPassword: EditBox;
- @property(Node)
- psd_visible_control: Node;
- @property(Node)
- btnLogin: Node;
- @property(Node)
- btnRegister: Node;
- @property(Node)
- btnResetPsd: Node;
- @property(Node)
- btnSupport: Node;
- @property(Node)
- policyContainer: Node;
- protected onCreate(): void | Promise<void> {
- // addBtnClick(this.btnGuest.node, this.onBtnGuestClick, this);
- // addBtnClick(this.btnFacebook.node, this.onBtnFBClick, this);
- // addBtnClick(this.btnGoogle.node, this.onBtnGoogleClick, this);
- // this.initPsdInput();
- // this.initPolicyDesc();
- }
- }
|