This commit is contained in:
2025-04-14 15:55:13 +08:00
19 changed files with 36993 additions and 31541 deletions

View File

@@ -562,17 +562,6 @@ export default {
} else {
this.selectPayIndex = 0;
}
if (this.actualPayment == 0) {
var that = this;
this.payList.forEach((e, i) => {
if (e.type == 4) {
that.selectPayIndex = i;
that.payType = 4;
}
});
this.$forceUpdate();
}
} else {
if (platform == "ios") {
this.selectPayIndex = 0;
@@ -580,7 +569,18 @@ export default {
this.selectPayIndex = 0;
}
}
this.payType = this.payList[this.selectPayIndex].type;
if (this.actualPayment == 0) {
var that = this;
this.payList.forEach((e, i) => {
if (e.type == 4) {
that.selectPayIndex = i;
that.payType = 4;
}
});
this.$forceUpdate();
}
this.$forceUpdate();
},
},
@@ -1406,6 +1406,17 @@ export default {
}, 5000);
let xiaBiao = [];
let data = {};
if (
this.payType == 4 &&
this.initData.user.peanutCoin < Number(this.actualPayment)
) {
uni.showToast({
title: "天医币余额不足",
icon: "none",
});
return;
}
if (this.options.isFudu) {
data = {
jfDeduction: this.jfNumber,