| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- /*
- * @Author: mojunshou 1637302775@qq.com
- * @Date: 2025-03-21 15:03:37
- * @LastEditors: mojunshou 1637302775@qq.com
- * @LastEditTime: 2025-04-14 18:15:34
- * @Description: 微信提现到零钱,需要有一个动画展示步骤
- */
- import { _decorator } from 'cc';
- import { DeviceUtil } from 'db://oops-framework/core/utils/DeviceUtil';
- import { GameComponent } from "db://oops-framework/module/common/GameComponent";
- import { ServerHandler } from '../common/manager/ServerHandler';
- import { oops } from 'db://oops-framework/core/Oops';
- import { UIID } from '../common/config/GameUIConfig';
- const { ccclass, property } = _decorator;
- /** 显示对象控制 */
- @ccclass('CashWithdrawalView')
- export class CashWithdrawalView extends GameComponent {
- str: string[] = [
- "发起提现申请",
- "确认用户信息",
- "发起打款:$m元",
- "提现成功,到账微信零钱"
- ]
- protected start() {
- this.setButton();
- }
- showAnimation() {
- }
- btn_continue() {
- //打开提现返利界面
- if (DeviceUtil.isNative && DeviceUtil.isAndroid) {
- ServerHandler.inst.getTxbfInfo();
- oops.gui.remove(UIID.WithSussce);
- } else {
- //
- oops.gui.open(UIID.CashRebate);
- }
- }
- }
|