This commit is contained in:
曹辉 2023-04-27 16:49:58 +08:00
parent 71d30f4f51
commit bcd08b5409
4 changed files with 5 additions and 13 deletions

View File

@ -339,9 +339,7 @@
var time = new Date(ordertimes).getTime() / 1000 + (60 * 60 * 2)
var times = new Date().getTime() / 1000
this.timestamp = time - times
this.timestamp = 40
this.timecount = 40
if (this.timestamp > 0) {
if (this.timestamp >= 0) {
this.timecount = this.timestamp
this.Timers = setInterval(() => {
this.timecount--;

View File

@ -205,10 +205,8 @@
var ordertimes = this.list.createTime.replaceAll(/\-/gi, "/")
var time = new Date(ordertimes).getTime() / 1000 + (60 * 60 * 2)
var times = new Date().getTime() / 1000
// this.timestamp = time - times
this.timestamp = 40
this.timecount = 40
if (this.timestamp > 0) {
this.timestamp = time - times
if (this.timestamp >= 0) {
this.timecount = this.timestamp
this.Timers = setInterval(() => {
this.timecount--;

View File

@ -280,9 +280,7 @@
var time = new Date(ordertimes).getTime() / 1000 + (60 * 60 * 2)
var times = new Date().getTime() / 1000
this.timestamp = time - times
this.timestamp = 40
this.timecount = 40
if (this.timestamp > 0) {
if (this.timestamp >= 0) {
this.timecount = this.timestamp
this.Timers = setInterval(() => {
this.timecount--;

View File

@ -179,9 +179,7 @@
var time = new Date(ordertimes).getTime() / 1000 + (60 * 60 * 2)
var times = new Date().getTime() / 1000
this.timestamp = time - times
this.timestamp = 40
this.timecount = 40
if (this.timestamp > 0) {
if (this.timestamp >= 0) {
this.timecount = this.timestamp
this.Timers = setInterval(() => {
this.timecount--;