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