| @@ -324,7 +324,7 @@ export default { | |||
| seconds = "0" + seconds; | |||
| } | |||
| let currentdate = date.getFullYear() + seperator1 + month + seperator1 + day + " " + hours + seperator2 + minutes + seperator2 + seconds; | |||
| console.log(currentdate) | |||
| //console.log(currentdate) | |||
| return currentdate; | |||
| } | |||
| }, | |||
| @@ -386,7 +386,7 @@ export default { | |||
| this.show = true; | |||
| }, | |||
| reload(){ | |||
| console.log("结束进入") | |||
| //console.log("结束进入") | |||
| getOutProjectDetail(this.id).then(response =>{ | |||
| this.detail=response.data | |||
| this.getDicts("rollout_type").then(res =>{ | |||
| @@ -492,7 +492,7 @@ export default { | |||
| let s = Math.floor(difference/1000%60); | |||
| if(signupStartTime>nowDate){ | |||
| console.log('未开始') | |||
| //console.log('未开始') | |||
| this.process= "报名未开始" | |||
| this.tip=this.detail.signupStartTime+"开始报名" | |||
| this.btnMsg="立即报名" | |||
| @@ -501,7 +501,7 @@ export default { | |||
| this.isSignup=true | |||
| } | |||
| if(signupStopTime>nowDate&&signupStopTime>signupStartTime){ | |||
| console.log('报名中') | |||
| //console.log('报名中') | |||
| this.process= "报名中" | |||
| this.tip=this.detail.signupStopTime+"报名截止" | |||
| this.btnMsg="立即报名" | |||
| @@ -514,7 +514,7 @@ export default { | |||
| } | |||
| } | |||
| if(biddingStartTime>nowDate&&nowDate>signupStopTime){ | |||
| console.log('竞价未开始') | |||
| //console.log('竞价未开始') | |||
| this.biddingTimeType = 3; | |||
| this.process= "竞价未开始" | |||
| this.tip=this.detail.biddingStartTime+"开始竞价" | |||
| @@ -530,14 +530,14 @@ export default { | |||
| } | |||
| } | |||
| if(biddingStopTime>nowDate&&nowDate>biddingStartTime){ | |||
| console.log('竞价中') | |||
| //console.log('竞价中') | |||
| this.biddingTimeType = 1; | |||
| this.process= "竞价中" | |||
| this.tip=this.detail.biddingStopTime+"结束竞价" | |||
| this.timeMsg="距竞价结束" | |||
| // this.time = biddingStopTime-nowDate | |||
| this.timeData = this.TimeInterval(biddingStopTime-nowDate); | |||
| console.log(this.timeData) | |||
| //console.log(this.timeData) | |||
| if(this.getSignupData=="1"){ | |||
| this.isSignup=true | |||
| this.btnMsg="立即竞价" | |||
| @@ -551,7 +551,7 @@ export default { | |||
| } | |||
| if(nowDate>biddingStopTime){ | |||
| console.log('竞价结束') | |||
| //console.log('竞价结束') | |||
| this.process= "竞价结束" | |||
| this.tip=this.detail.biddingStopTime+"结束竞价" | |||
| this.btnMsg="竞价结束" | |||
| @@ -586,7 +586,7 @@ export default { | |||
| }); | |||
| }else if (s%2 == 0&&time!=0){ | |||
| console.log('aaa') | |||
| //console.log('aaa') | |||
| // console.log((biddingStopTime-nowDate)) | |||
| // console.log(time) | |||
| // this.getTime(); | |||
| @@ -743,8 +743,8 @@ export default { | |||
| if (this.detail.biddingType=='阶梯竞价'||this.detail.biddingType=='公开竞价'){ | |||
| if (this.biddinglistInformation.length>1){ | |||
| //判断用户出价不能高于当前出价最低价格 | |||
| console.log(newMoney) | |||
| console.log(this.price) | |||
| //console.log(newMoney) | |||
| //console.log(this.price) | |||
| if(newMoney >= this.price){ | |||
| this.$toast({ | |||
| icon: 'fail', // 找到自己需要的图标 | |||
| @@ -766,9 +766,9 @@ export default { | |||
| userAccount:this.userAccount, | |||
| userName:this.userName, | |||
| money:parseFloat(this.price), | |||
| loginTime:new Date($.ajax({async:false}).getResponseHeader("Date")).getTime() | |||
| loginTime:Date.now($.ajax({async:false}).getResponseHeader("Date")) | |||
| }; | |||
| console.log(data) | |||
| // console.log(Date.now($.ajax({async:false}).getResponseHeader("Date"))) | |||
| biddingSubmit(data).then(response =>{ | |||
| let _this = this | |||
| if(response){ | |||
| @@ -846,7 +846,7 @@ export default { | |||
| } | |||
| } | |||
| } | |||
| console.log(this.price == null) | |||
| //console.log(this.price == null) | |||
| this.price == null?this.price = 0:this.price = this.price; | |||
| this.detail.ladderPrice?this.price=(parseFloat(this.price)+parseFloat(this.detail.ladderPrice)).toFixed(2):this.price += 1 | |||
| }, | |||
| @@ -957,7 +957,7 @@ export default { | |||
| }); | |||
| }else if (s%2 == 0&&time!=0){ | |||
| console.log('aaa') | |||
| //console.log('aaa') | |||
| // console.log((biddingStopTime-nowDate)) | |||
| // console.log(time) | |||
| // this.getTime(); | |||