<div class="timeStyle">{{ payCountDown(item.createTime) }}</div>
payCountDown(value) {
setInterval(() => {
let countDown =
7200000 - (new Date().getTime() - new Date(value).getTime());
countDown -= 1000;
if (countDown >= 0) {
let hour = Math.floor((countDown / 1000 / 60 / 60) % 24);
hour = hour.toString().length == 1 ? "0" + hour : hour;
let minute = Math.floor((countDown / 1000 / 60) % 60);
minute = minute.toString().length == 1 ? "0" + minute : minute;
let seconds = Math.floor((countDown / 1000) % 60);
seconds = seconds.toString().length == 1 ? "0" + seconds : seconds;
console.log(hour + ":" + minute + ":" + seconds);
return hour + ":" + minute + ":" + seconds;
}
}, 1000);
},