Commit 46b74bd6cfc48bce7e80ea812274b6cf14128141

Authored by vking
1 parent 2ce1bdf6

邀请函

@@ -198,8 +198,12 @@ Page({ @@ -198,8 +198,12 @@ Page({
198 rid: this.id 198 rid: this.id
199 }, 'clear') 199 }, 'clear')
200 util.toast('赴约成功', 'none') 200 util.toast('赴约成功', 'none')
  201 + let url='/pages/customer/list'
  202 + if(parseInt(this.data.detail.ddate)-(new Date()/1000)>3600){
  203 + url='/pages/customer/list?hasRelaTip=1'
  204 + }
201 wx.reLaunch({ 205 wx.reLaunch({
202 - url: '/pages/customer/list?hasRelaTip=1' 206 + url: url
203 }) 207 })
204 }) 208 })
205 } else { 209 } else {