|
...
|
...
|
@@ -33,20 +33,17 @@ Page({ |
|
|
|
onShareAppMessage: function () {
|
|
|
|
this.selectComponent('#notice').close();
|
|
|
|
var obj=this.data.bookInfo;
|
|
|
|
var path='/pages/customer/index?id='+this.data.bookInfo.id;
|
|
|
|
if(this.enter_params){
|
|
|
|
path+='&fromid='+this.enter_params.seller_openid
|
|
|
|
}
|
|
|
|
let nickname="";
|
|
|
|
try{
|
|
|
|
nickname='"'+this.sc.seller_user.nickname+'"';
|
|
|
|
}catch(e){}
|
|
|
|
let imageUrl=util.cgi('index.php?service=App.Reserve.MakePic&rid=').replace('?s=','')+obj.id
|
|
|
|
console.log('App.Reserve.MakePic',imageUrl);
|
|
|
|
let path=util.http_build_query({
|
|
|
|
id:this.data.bookInfo.id,
|
|
|
|
fromid:getApp().openid,
|
|
|
|
hasSellerShare:1,
|
|
|
|
hasInvitation:1,
|
|
|
|
tplid:1
|
|
|
|
},'/pages/customer/index')
|
|
|
|
return {
|
|
|
|
//title: (nickname||'')+'给你发送了一个订座信息,点击查看详情',
|
|
|
|
title: '点击查看详情,发邀请函',
|
|
|
|
path: path+'&hasInvitation=1&hasSellerShare=1',
|
|
|
|
path: path,
|
|
|
|
imageUrl:'http://qn.colorcun.com/manager-invitation/wx2/%E9%A2%84%E5%AE%9A%E5%AE%89%E6%8E%92-%E5%95%86%E5%8A%A1.jpg',
|
|
|
|
success: function (res) {
|
|
|
|
console.log(res,666666)
|
...
|
...
|
|