|
|
@@ -286,7 +286,7 @@ export default { |
|
|
|
isFirst:'', |
|
|
|
timer:null, |
|
|
|
getSignupData:'', |
|
|
|
bottomBtn:true, |
|
|
|
bottomBtn:false, |
|
|
|
nowDate:0 |
|
|
|
}; |
|
|
|
}, |
|
|
@@ -455,7 +455,7 @@ export default { |
|
|
|
|
|
|
|
this.getBidding(); |
|
|
|
this.getTime(); |
|
|
|
|
|
|
|
this.bottomBtn = true; |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
@@ -874,7 +874,6 @@ export default { |
|
|
|
let h = value.hours; |
|
|
|
let m = value.minutes; |
|
|
|
let s = value.seconds; |
|
|
|
console.log('aaa') |
|
|
|
let biddingStopTime = Date.parse(this.detail.biddingStopTime)+0 |
|
|
|
let nowDate = Date.parse(this.format($.ajax({async:false}).getResponseHeader("Date"), "yyyy-MM-dd HH:mm:ss")); |
|
|
|
let time = this.detail.delayPeriod * 1000; |
|
|
@@ -901,13 +900,18 @@ export default { |
|
|
|
}); |
|
|
|
}else if (s%2 == 0&&time!=0){ |
|
|
|
|
|
|
|
console.log('aaa') |
|
|
|
// console.log((biddingStopTime-nowDate)) |
|
|
|
// console.log(time) |
|
|
|
// this.getTime(); |
|
|
|
if ((biddingStopTime-nowDate)<=time){ |
|
|
|
// console.log("竞价剩余两分钟"+"m:"+m+"s:"+s) |
|
|
|
getBiddingStopTime(this.id).then(response =>{ |
|
|
|
// this.detail.biddingStopTime = response.data |
|
|
|
if(this.detail.biddingStopTime!=response.data){ |
|
|
|
console.log('有人出价') |
|
|
|
this.time = null; |
|
|
|
} |
|
|
|
this.detail.biddingStopTime = response.data |
|
|
|
this.$set(this.detail,'biddingStopTime',response.data) |
|
|
|
// this.time = Date.parse(response.data)+0-nowDate; |
|
|
|
}); |
|
|
|