diff --git a/common/config.js b/common/config.js index d866485..e12e969 100644 --- a/common/config.js +++ b/common/config.js @@ -4,8 +4,8 @@ //测试环境 const PROT = "http://" // const ROOTHOST = "47.75.182.93:8090"; -// const ROOTHOST = "1.92.152.160"; -const ROOTHOST = "192.168.2.222:8187"; +const ROOTHOST = "1.92.152.160"; +// const ROOTHOST = "192.168.2.222:8187"; // const ROOTHOST = "120.46.52.165"; // const ROOTHOST = "192.168.0.115:8187"; // const ROOTHOST = "192.168.1.169:8187"; diff --git a/pages/index/index.vue b/pages/index/index.vue index d54e30e..253622e 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -421,8 +421,9 @@ - 今日服务 + + 今日服务 + --> - @@ -452,7 +453,9 @@ 已出发 已到达 待评价 - 已取消 + 已取消 + 待确认 + 待补单 (订单已超时) @@ -1101,8 +1104,9 @@ export default { let afterTimeStamp = new Date(d.endTime).getTime() / 1000; let currentTimeStamp = new Date().getTime() / 1000; let formatTimeStamp = Math.floor(afterTimeStamp - currentTimeStamp); - console.log(currentTimeStamp); - this.endOfServiceTimer = formatTimeStamp; + console.log(currentTimeStamp,"currentTimeStamp=======?"); + d.endOfServiceTimer = formatTimeStamp; + } this.goods.push(d); }); diff --git a/pages/order/index.vue b/pages/order/index.vue index 3c67c02..9856b72 100644 --- a/pages/order/index.vue +++ b/pages/order/index.vue @@ -69,12 +69,13 @@ 待服务 已完成待评价 - + 已取消 已完成 服务中 技师出发 技师到达 - 确认接单 + 待确认 + 待补单 @@ -153,7 +154,7 @@ 服务倒计时 -