价格显示问题

This commit is contained in:
liuyuan
2025-04-18 17:56:33 +08:00
parent 648a993d14
commit 380ed58d17
179 changed files with 17322 additions and 2750 deletions

View File

@@ -313,7 +313,7 @@ export default {
quantity: 1,
manualFinishTransaction: true, // 3.5.1+ 支持,设置此参数后需要开发者主动关闭订单,参见下面的关闭订单方法 finishTransaction()
}
this.transaction = await this.requestPayment(orderInfo)
that.transaction = await that.requestPayment(orderInfo)
},
iapCheck(result) {
let that = this;
@@ -323,8 +323,8 @@ export default {
productId: result.payment.productid.slice(1), // 产品id
orderId: result.payment.username, // 系统订单号
receiptData: result.transactionReceipt, // 苹果返回收据
//sandBox: true, //测试数据
//body: that.stepsCj.priceTypeId // 充值类型id
// sandBox: true, //测试数据
// body: that.stepsCj.priceTypeId // 充值类型id
};
$http
.request({
@@ -337,7 +337,7 @@ export default {
})
.then((res) => {
if (res.code == 0) {
this.transaction = null
that.transaction = null
uni.hideLoading()
uni.showToast({
title: '充值成功!',