修复样式问题,修复拼团进度显示问题
This commit is contained in:
@@ -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; // 点击深色反馈
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user