Commit debd1056a7252cc10066cf9579cb335cccea949f

Authored by wangfan
1 parent c3f5d7d8

seller-Invitation

... ... @@ -217,23 +217,15 @@ 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,
}
},
cookbook(){
... ...