Browse Source

修改 url

feature/feature-compatible
fengchengzhi 7 years ago
parent
commit
5c2c5024b4
1 changed files with 4 additions and 4 deletions
  1. 8
      src/view/poster.vue

8
src/view/poster.vue

@ -256,13 +256,13 @@
var urls = encodeURIComponent(location.href) var urls = encodeURIComponent(location.href)
var imgUrl = encodeURIComponent(this.imgUrl) var imgUrl = encodeURIComponent(this.imgUrl)
if ( sourceType == 2 ){ // if ( sourceType == 2 ){ //
this.wxShare({"couponNo":coupon,"source":10,"url":urls,imgUrl:imgUrl})
this.wxShare({"couponNo":coupon,"source":10,"url":urls,"imgUrl":imgUrl})
} else if( sourceType == 1) { // } else if( sourceType == 1) { //
this.wxShare({"merchantNo":merchantNo,"source":10,"url":urls,imgUrl:imgUrl})
this.wxShare({"merchantNo":merchantNo,"source":10,"url":urls,"imgUrl":imgUrl})
} else if (sourceType == 3){ // } else if (sourceType == 3){ //
this.wxShare({"source":40,"url":urls,imgUrl:this.imgUrl})
this.wxShare({"source":40,"url":urls,imgUrl:imgUrl})
} else { } else {
this.wxShare({"merchantNo":this.merchantNo,"source":10,"url":urls,imgUrl:imgUrl})
this.wxShare({"merchantNo":this.merchantNo,"source":10,"url":urls,"imgUrl":imgUrl})
} }
} }

Loading…
Cancel
Save