diff --git a/src/views/biddingHall/index.vue b/src/views/biddingHall/index.vue index 78b7ba91..13cc3060 100644 --- a/src/views/biddingHall/index.vue +++ b/src/views/biddingHall/index.vue @@ -133,9 +133,7 @@

{{item.projectShowStatus}}

diff --git a/src/views/project/projectDetail.vue b/src/views/project/projectDetail.vue index f6f5bb0f..014c45a6 100644 --- a/src/views/project/projectDetail.vue +++ b/src/views/project/projectDetail.vue @@ -502,6 +502,11 @@ export default { let m = Math.floor(difference/1000/60%60); let s = Math.floor(difference/1000%60); + if (s%2 == 0&&time!=0){ + getBiddingStopTime(this.id).then(response =>{ + this.$set(this.detail,'biddingStopTime',response.data); + }); + } if (differenceSetime <= 0 && difference >= 0 && difference <=time){ console.log("竞价剩余两分钟"+"m:"+m+"s:"+s) @@ -529,7 +534,7 @@ export default { this.$set(this.detail,'biddingStopTime',response.data) this.getTime(); } else { - clearInterval(this.timeCount); + // clearInterval(this.timeCount); this.process = "竞价结束" this.tip = this.detail.biddingStopTime + "结束竞价" this.btnMsg = "竞价结束" @@ -617,7 +622,7 @@ export default { } if(nowDate>biddingStopTime){ //console.log('竞价结束') - clearInterval(this.timeCount); + // clearInterval(this.timeCount); this.process= "竞价结束" this.tip=this.detail.biddingStopTime+"结束竞价" this.btnMsg="竞价结束" diff --git a/src/views/user/bidding/index.vue b/src/views/user/bidding/index.vue index 199cfdc3..6969b8e4 100644 --- a/src/views/user/bidding/index.vue +++ b/src/views/user/bidding/index.vue @@ -20,9 +20,7 @@

{{item.projectName}}

{{item.projectShowStatus}}

@@ -31,9 +29,7 @@ 距结束 {{timeData.days}}{{timeData.hours}}时 @@ -48,27 +44,21 @@ 当前价格 + '正在报名': '#007E72','等待竞价': '#848484','等待成交': '#848484','已经成交': '#848484','正在竞价': '#c21F3a', + }[item.projectShowStatus]}" v-if="item.biddingType=='1'&&item.projectShowStatus=='正在竞价'"> * + '正在报名': '#007E72','等待竞价': '#848484','等待成交': '#848484','已经成交': '#848484','正在竞价': '#c21F3a', + }[item.projectShowStatus]}" v-if="(item.biddingType!='1'&&item.money) || item.projectShowStatus=='等待成交'"> {{item.money}}{{item.unit}} 暂无出价 @@ -79,9 +69,7 @@ 我的出价 {{item.memberMoney}}{{item.unit}}