import { AppKernel } from "@scripts/app/AppKernel"; import { UIViewID } from "@scripts/define/UIDefine"; import { IGoodsConfig } from "@scripts/store/payStore/data"; class PaymentServices { async startPayment(goods: IGoodsConfig) { if (!goods.choiseGear) { //打开选择支付方式的弹窗 //goods.choiseGear = await AppKernel.ui.open(UIViewID) } } protected async getPaymentOrder(goods: IGoodsConfig) { } } export const paymentServices = new PaymentServices();