Showing
1 changed file
with
7 additions
and
7 deletions
| @@ -151,16 +151,16 @@ Page({ | @@ -151,16 +151,16 @@ Page({ | ||
| 151 | */ | 151 | */ |
| 152 | onShareAppMessage: function () { | 152 | onShareAppMessage: function () { |
| 153 | let path=util.http_build_query({id:this.data.seller.id,fromid:getApp().openid},'/pages/reserve/detail') | 153 | let path=util.http_build_query({id:this.data.seller.id,fromid:getApp().openid},'/pages/reserve/detail') |
| 154 | - let imageUrl=this.shareImageTmp | ||
| 155 | - if(!imageUrl){ | ||
| 156 | - imageUrl='https://xt04.colorcun.com/sellerShare/Share_'+this.options.id+'.png?'+Math.random() | ||
| 157 | - } | ||
| 158 | - console.log('imageUrl',imageUrl) | ||
| 159 | - return { | 154 | + //let imageUrl='http://sellershare.colorcun.com/Share_'+this.options.id+'.png?imageView2/2/w/180/interlace/0' |
| 155 | + let shareParams={ | ||
| 160 | title:'请客订包间,就上周到安排', | 156 | title:'请客订包间,就上周到安排', |
| 161 | - imageUrl:imageUrl, | ||
| 162 | path:path, | 157 | path:path, |
| 163 | } | 158 | } |
| 159 | + if(this.shareImageTmp){ | ||
| 160 | + shareParams.imageUrl=this.shareImageTmp | ||
| 161 | + } | ||
| 162 | + console.log('shareParams==>',shareParams) | ||
| 163 | + return shareParams | ||
| 164 | }, | 164 | }, |
| 165 | reserveEvent(e){ | 165 | reserveEvent(e){ |
| 166 | if(this.data.hasOnlineReserve && util.attr(e,'act')!='phone'){ | 166 | if(this.data.hasOnlineReserve && util.attr(e,'act')!='phone'){ |
-
Please register or login to post a comment