/** * @description 提现数据类 * @author kaka */ import { Data } from "../../../mk/data/Data"; export default class CashProData extends Data { init_data = false; cashPro_type: cashProType; cashPro_money = 0; init_success = false; init_fail = false; cashFun = null; openCashPro(type: cashProType, money, cashFun) { this.cashPro_type = type; this.cashPro_money = money; this.init_data = true; this.cashFun = cashFun; mk.ui.openPanel('module/cashPro/cashPro'); } onCash() { if (this.cashFun) { this.cashFun(); } } } /** 提现类型枚举 */ export enum cashProType { blessing_bigCash, //福袋大额红包提现 blessing_taskCash, //福袋任务提现 }