|
@@ -52,8 +52,8 @@ Page({ |
|
@@ -52,8 +52,8 @@ Page({ |
|
52
|
/**
|
52
|
/**
|
|
53
|
* 用户点击右上角分享
|
53
|
* 用户点击右上角分享
|
|
54
|
*/
|
54
|
*/
|
|
55
|
- onShareAppMessage: function () {
|
|
|
|
56
|
- return this.shareSetting();
|
55
|
+ onShareAppMessage: function (e) {
|
|
|
|
56
|
+ return this.shareSetting(e);
|
|
57
|
},
|
57
|
},
|
|
58
|
getListData(fouce=false){
|
58
|
getListData(fouce=false){
|
|
59
|
App.Reserve.GetListFromScheAndRes({
|
59
|
App.Reserve.GetListFromScheAndRes({
|
|
@@ -112,6 +112,7 @@ Page({ |
|
@@ -112,6 +112,7 @@ Page({ |
|
112
|
},
|
112
|
},
|
|
113
|
shareSetting(e){
|
113
|
shareSetting(e){
|
|
114
|
console.log('shareSetting',e)
|
114
|
console.log('shareSetting',e)
|
|
|
|
115
|
+ let id=e.target.dataset.id
|
|
115
|
//this.data.detail.openid==getApp().openid
|
116
|
//this.data.detail.openid==getApp().openid
|
|
116
|
let nickname="";
|
117
|
let nickname="";
|
|
117
|
try{
|
118
|
try{
|
|
@@ -120,7 +121,7 @@ Page({ |
|
@@ -120,7 +121,7 @@ Page({ |
|
120
|
return {
|
121
|
return {
|
|
121
|
//title: (nickname||'')+'给你发了一个邀请,点击查看',
|
122
|
//title: (nickname||'')+'给你发了一个邀请,点击查看',
|
|
122
|
title: '你收到一个邀请函,点击查看',
|
123
|
title: '你收到一个邀请函,点击查看',
|
|
123
|
- path: '/pages/customer/index?id='+this.id+'&fromid='+getApp().openid+'&invite_name='+nickname+'&hasInvitation=1',
|
124
|
+ path: '/pages/customer/index?id='+id+'&fromid='+getApp().openid+'&invite_name='+nickname+'&hasInvitation=1',
|
|
124
|
imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id,
|
125
|
imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id,
|
|
125
|
}
|
126
|
}
|
|
126
|
},
|
127
|
},
|