完善小程序

This commit is contained in:
wwz
2025-03-18 18:29:34 +08:00
parent fc957feb72
commit 9da31e2faa
19 changed files with 594 additions and 352 deletions

View File

@@ -94,7 +94,7 @@
<view class="val">
<view></view>
<view style="font-size: 28rpx;"></view>
<view>{{listinfo.packFee}}</view>
<view>{{listinfo.packFeess}}</view>
</view>
</view>
@@ -295,7 +295,17 @@
},
listinfo: {
type: Object
type: Object,
default: {
combinedArray: {},
Productroll: 0,
coupondiscountAmount: 0,
couponInfoList: '',
pointsDiscountAmount: 0,
packFeess: 0,
totalPrices: 0,
Seatcharge: 0
}
},
orderVIP: {
@@ -359,6 +369,7 @@
})
break;
case 'points':
IntegralInputclose()
if (calcUsablePointsData.usable == 0) {
uni.showToast({
title: calcUsablePointsData.unusableReason,
@@ -384,7 +395,7 @@
calcUsablePointsData.integral = integral
props.listinfo.pointsDiscountAmount = await APImemberPointscalcDeductionAmount({
points: integral,
userId: props.orderVIP.id,
shopUserId: props.orderVIP.id,
orderAmount: props.listinfo.totalCost
})
emits('clickPointsamount', props.listinfo.pointsDiscountAmount);