|
|
@@ -27,12 +27,12 @@
|
|
|
<span>{{ product.info.num }}{{ $t('lang52') }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="countdown" v-if="product.info.end_time*1000 - product.info.start_time*1000 > 0">
|
|
|
+ <div class="countdown" v-if="product.info.end_time*1000 - new Date().getTime() > 0">
|
|
|
<div class="flex">
|
|
|
<img src="@/assets/images/trade/clock.png" alt="" class="clock" />
|
|
|
<span style="white-space: nowrap">{{ $t('lang54') }}</span>
|
|
|
</div>
|
|
|
- <van-count-down class="count" :time="product.info.end_time*1000 - product.info.start_time*1000">
|
|
|
+ <van-count-down class="count" :time="product.info.end_time*1000 - new Date().getTime()">
|
|
|
<template #default="timeData">
|
|
|
<span class="block">{{ timeData.days }}</span>
|
|
|
<span class="colon">{{ $t('lang9') }}</span>
|