CashRebateView.ts 896 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * @Author: mojunshou 1637302775@qq.com
  3. * @Date: 2025-03-21 11:45:43
  4. * @LastEditors: mojunshou 1637302775@qq.com
  5. * @LastEditTime: 2025-03-28 14:08:25
  6. * @Description: 提现必返
  7. */
  8. import { Label } from 'cc';
  9. import { _decorator } from 'cc';
  10. import { oops } from 'db://oops-framework/core/Oops';
  11. import { GameComponent } from "db://oops-framework/module/common/GameComponent";
  12. import { UIID } from '../../common/config/GameUIConfig';
  13. const { ccclass, property } = _decorator;
  14. /** 显示对象控制 */
  15. @ccclass('CashRebateView')
  16. export class CashRebateView extends GameComponent {
  17. private _num: number = 0;
  18. private lab_num: Label = null!;
  19. protected start() {
  20. this.lab_num = this.node.getChildByPath("Sprite/lab_num")!.uiLabel;
  21. }
  22. private btn_ok() {
  23. }
  24. private btn_close() {
  25. //看广告
  26. oops.gui.remove(UIID.CashRebate);
  27. }
  28. }