|
...
|
...
|
@@ -151,16 +151,16 @@ Page({ |
|
|
|
*/
|
|
|
|
onShareAppMessage: function () {
|
|
|
|
let path=util.http_build_query({id:this.data.seller.id,fromid:getApp().openid},'/pages/reserve/detail')
|
|
|
|
let imageUrl=this.shareImageTmp
|
|
|
|
if(!imageUrl){
|
|
|
|
imageUrl='https://xt04.colorcun.com/sellerShare/Share_'+this.options.id+'.png?'+Math.random()
|
|
|
|
}
|
|
|
|
console.log('imageUrl',imageUrl)
|
|
|
|
return {
|
|
|
|
//let imageUrl='http://sellershare.colorcun.com/Share_'+this.options.id+'.png?imageView2/2/w/180/interlace/0'
|
|
|
|
let shareParams={
|
|
|
|
title:'请客订包间,就上周到安排',
|
|
|
|
imageUrl:imageUrl,
|
|
|
|
path:path,
|
|
|
|
}
|
|
|
|
if(this.shareImageTmp){
|
|
|
|
shareParams.imageUrl=this.shareImageTmp
|
|
|
|
}
|
|
|
|
console.log('shareParams==>',shareParams)
|
|
|
|
return shareParams
|
|
|
|
},
|
|
|
|
reserveEvent(e){
|
|
|
|
if(this.data.hasOnlineReserve && util.attr(e,'act')!='phone'){
|
...
|
...
|
|