拼团问题修复

This commit is contained in:
2025-12-22 09:28:08 +08:00
parent b2c2a375b3
commit 731e872c11

View File

@@ -129,9 +129,12 @@
<text class="title ">门店地址</text>
<text class="stitle">{{item.shopAddress}}</text>
</view>
<view class="u-flex u-m-t-32 u-col-center" v-if="showTime(item)">
<text class="title">剩余成团时间</text>
<text class="stitle price">{{returnTime(item)}}</text>
<view class="u-flex u-m-t-32 u-col-center u-row-between" v-if="showTime(item)">
<view>
<text class="title">剩余分享时间</text>
<text class="stitle price">{{returnTime(item)}}</text>
</view>
<text class="u-font-24 color-666 font-bold">已成功分享{{item.shareNum}}</text>
</view>
</view>
<view class="btns" v-if="item&&item.status">
@@ -482,7 +485,7 @@
}
function showTime(item) {
if (item.status == '待成团') {
if (item.status == 'ing') {
return true
}
return false
@@ -528,7 +531,7 @@
function returnTime(item) {
nowTime.value
return getRemainingHMS(item)
return getRemainingHMS(item,'expireTime')
}
function minPrice(item) {
@@ -831,6 +834,7 @@
gap: 34rpx;
.btn {
min-width: 148rpx;
line-height: 1;
margin: 0;
padding: 12rpx 14rpx;