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

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

@@ -55,7 +55,7 @@
</template>
</view>
<!-- 优惠券名称与领取按钮 -->
<view class="u-flex u-row-between u-m-t-16">
<view class="u-flex u-row-between u-m-t-16 u-col-center">
<view>
<text class="title">{{ item.couponInfo.title }}</text>
<text class="num">x{{ item.num }}</text>
@@ -507,6 +507,7 @@ function close() {
outline: none;
margin: 0;
cursor: pointer;
white-space: nowrap;
&:active {
background: #f07080; // 点击深色反馈
}

View File

@@ -60,6 +60,9 @@
<text v-if="item.bizCode == 'cashback'">
消费返现
</text>
<text v-if="item.bizCode == 'cashback_refund'">
消费返现扣减
</text>
<text v-if="item.bizCode == 'freeIn'">
霸王餐充值
</text>

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
}
})
const nowPrice = computed(() => {
if (!item.packageInfo) {