Commit b528f4ed authored by 刘用法's avatar 刘用法

接单、抢单按钮颜色

parent bc672912
......@@ -307,10 +307,7 @@
data: address,
success: function () {
console.log('success');
},
complete: function(res) {
console.log(res)
}
}
});
}
}
......@@ -377,7 +374,7 @@
self.order = res.data
this.getCurrentBtn()
var nowTime = new Date();
if(nowTime.getTime() > this.order.currentOverTime){
if(this.order.currentOverTime && nowTime.getTime() > this.order.currentOverTime){
this.btnClass='timeOut-btn'
}
if(self.order.isFirstOrder){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment