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