Commit 008beb9eb293c55c25bbc52e452d383dc1bd5a07

Authored by wangfan
1 parent c35fad00

ui fix

@@ -40,8 +40,9 @@ Page({ @@ -40,8 +40,9 @@ Page({
40 let imageUrl=util.cgi('index.php?service=App.Reserve.MakePic&rid=').replace('?s=','')+obj.id 40 let imageUrl=util.cgi('index.php?service=App.Reserve.MakePic&rid=').replace('?s=','')+obj.id
41 console.log('App.Reserve.MakePic',imageUrl); 41 console.log('App.Reserve.MakePic',imageUrl);
42 return { 42 return {
43 - title: (nickname||'')+'给你发送了一个订座信息,点击查看详情',  
44 - path: path, 43 + //title: (nickname||'')+'给你发送了一个订座信息,点击查看详情',
  44 + title: '你收到一个邀请函,点击查看',
  45 + path: path+'&hasInvitation=1',
45 imageUrl:imageUrl, 46 imageUrl:imageUrl,
46 success: function (res) { 47 success: function (res) {
47 console.log(res,666666) 48 console.log(res,666666)
@@ -179,7 +179,7 @@ Page({ @@ -179,7 +179,7 @@ Page({
179 return { 179 return {
180 //title: (nickname||'')+'给你发了一个邀请,点击查看', 180 //title: (nickname||'')+'给你发了一个邀请,点击查看',
181 title: '你收到一个邀请函,点击查看', 181 title: '你收到一个邀请函,点击查看',
182 - path: '/pages/customer/index?id='+this.id+'&fromid='+getApp().openid+'&invite_name='+nickname, 182 + path: '/pages/customer/index?id='+this.id+'&fromid='+getApp().openid+'&invite_name='+nickname+'&hasInvitation=1',
183 imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id, 183 imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id,
184 } 184 }
185 } 185 }
@@ -192,7 +192,7 @@ Page({ @@ -192,7 +192,7 @@ Page({
192 return { 192 return {
193 //title: (nickname||'')+'给你发了一个邀请,点击查看', 193 //title: (nickname||'')+'给你发了一个邀请,点击查看',
194 title: '你收到一个邀请函,点击查看', 194 title: '你收到一个邀请函,点击查看',
195 - path: '/pages/customer/index?id='+this.id+'&fromid='+getApp().openid+'&invite_name='+nickname, 195 + path: '/pages/customer/index?id='+this.id+'&fromid='+getApp().openid+'&invite_name='+nickname+'&hasInvitation=1',
196 imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id, 196 imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id,
197 } 197 }
198 } 198 }
@@ -113,7 +113,7 @@ Page({ @@ -113,7 +113,7 @@ Page({
113 let obj={ 113 let obj={
114 //title: (nickname || '') + '给你发了一个邀请,点击查看', 114 //title: (nickname || '') + '给你发了一个邀请,点击查看',
115 title: '你收到一个邀请函,点击查看', 115 title: '你收到一个邀请函,点击查看',
116 - path: '/pages/customer/index?id=' + this.id + '&fromid=' + getApp().openid + '&invite_name=' + nickname, 116 + path: '/pages/customer/index?id=' + this.id + '&fromid=' + getApp().openid + '&invite_name=' + nickname+'&hasInvitation=1',
117 imageUrl: util.cgi('App.Reserve.MakePic&rid=') + this.id, 117 imageUrl: util.cgi('App.Reserve.MakePic&rid=') + this.id,
118 } 118 }
119 if(hasInvitation){ 119 if(hasInvitation){
@@ -120,7 +120,7 @@ Page({ @@ -120,7 +120,7 @@ Page({
120 return { 120 return {
121 //title: (nickname||'')+'给你发了一个邀请,点击查看', 121 //title: (nickname||'')+'给你发了一个邀请,点击查看',
122 title: '你收到一个邀请函,点击查看', 122 title: '你收到一个邀请函,点击查看',
123 - path: '/pages/customer/index?id='+this.id+'&fromid='+getApp().openid+'&invite_name='+nickname, 123 + path: '/pages/customer/index?id='+this.id+'&fromid='+getApp().openid+'&invite_name='+nickname+'&hasInvitation=1',
124 imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id, 124 imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id,
125 } 125 }
126 }, 126 },