修复样式问题,修复拼团进度显示问题

This commit is contained in:
2025-12-25 19:40:13 +08:00
parent 113193b142
commit 9b78ee0f48
3 changed files with 8 additions and 3 deletions

View File

@@ -716,9 +716,10 @@
const index = item.packageInfo.tieredDiscount.findIndex(v => v.peopleNum==nowStep.value.peopleNum)
if (index != -1) {
const percent= (index + 1) / item.packageInfo.tieredDiscount.length * 100
return percent>=100?100:0;
return percent>=100?100:percent;
}else{
return 0
}
return 0
})
const nowPrice = computed(() => {
if (!item.packageInfo) {