|
...
|
...
|
@@ -210,23 +210,16 @@ Page({ |
|
|
|
})
|
|
|
|
},
|
|
|
|
shareSetting(){
|
|
|
|
console.log('this.topicVal', this.topicVal)
|
|
|
|
if (this.topicVal && this.data.detail.openid == getApp().openid) {
|
|
|
|
App.Reserve.SetTopicFromShare({
|
|
|
|
rid: this.id,
|
|
|
|
topic: this.topicVal
|
|
|
|
})
|
|
|
|
}
|
|
|
|
let nickname = "";
|
|
|
|
try {
|
|
|
|
nickname = util.cache('userInfo').nickName;
|
|
|
|
} catch (e) {
|
|
|
|
}
|
|
|
|
return {
|
|
|
|
//title: (nickname||'')+'给你发了一个邀请,点击查看',
|
|
|
|
title: '你收到一个邀请函,点击查看',
|
|
|
|
path: '/pages/customer/index?id=' + this.id + '&fromid=' + getApp().openid + '&invite_name=' + nickname + '&hasInvitation=1',
|
|
|
|
imageUrl: util.cgi('App.Reserve.MakePic&rid=') + this.id,
|
|
|
|
path: util.http_build_query({
|
|
|
|
id:this.id,
|
|
|
|
fromid:getApp().openid,
|
|
|
|
hasInvitation:1,
|
|
|
|
tplid:this.data.options.tplid,
|
|
|
|
},'/pages/customer/index'),
|
|
|
|
imageUrl: this.data.tpls[0].shareImage,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}) |
...
|
...
|
|