删除了多余文件,完善了/mypoints-history

This commit is contained in:
dzl
2025-09-04 15:50:55 +08:00
parent 710ff3b6f7
commit 95c46ebe67
7 changed files with 49 additions and 2442 deletions

View File

@@ -539,9 +539,10 @@ const shouldShowPaymentMethod = (method) => {
// 当用户积分足够支付时显示积分支付选项
return totalPointsPrice > 0 && userBalance.value.points >= totalPointsPrice
case 'mixed':
// 当用户积分不够但积分+融豆换算足够时显示混合支付选项
// 当用户积分不够但积分+融豆换算足够时显示混合支付选项且用户积分必须大于等于10000
const pointsNotEnough = totalPointsPrice > 0 && userBalance.value.points < totalPointsPrice
return pointsNotEnough && isPaymentMethodAvailable('mixed')
const hasEnoughPoints = userBalance.value.points >= 10000
return pointsNotEnough && hasEnoughPoints && isPaymentMethodAvailable('mixed')
default:
return false
}