拼团问题修复
This commit is contained in:
@@ -129,9 +129,12 @@
|
|||||||
<text class="title ">门店地址:</text>
|
<text class="title ">门店地址:</text>
|
||||||
<text class="stitle">{{item.shopAddress}}</text>
|
<text class="stitle">{{item.shopAddress}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="u-flex u-m-t-32 u-col-center" v-if="showTime(item)">
|
<view class="u-flex u-m-t-32 u-col-center u-row-between" v-if="showTime(item)">
|
||||||
<text class="title">剩余成团时间:</text>
|
<view>
|
||||||
<text class="stitle price">{{returnTime(item)}}</text>
|
<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>
|
</view>
|
||||||
<view class="btns" v-if="item&&item.status">
|
<view class="btns" v-if="item&&item.status">
|
||||||
@@ -482,7 +485,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function showTime(item) {
|
function showTime(item) {
|
||||||
if (item.status == '待成团') {
|
if (item.status == 'ing') {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
@@ -528,7 +531,7 @@
|
|||||||
|
|
||||||
function returnTime(item) {
|
function returnTime(item) {
|
||||||
nowTime.value
|
nowTime.value
|
||||||
return getRemainingHMS(item)
|
return getRemainingHMS(item,'expireTime')
|
||||||
}
|
}
|
||||||
|
|
||||||
function minPrice(item) {
|
function minPrice(item) {
|
||||||
@@ -831,6 +834,7 @@
|
|||||||
gap: 34rpx;
|
gap: 34rpx;
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
|
min-width: 148rpx;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 12rpx 14rpx;
|
padding: 12rpx 14rpx;
|
||||||
|
|||||||
Reference in New Issue
Block a user