Browse Source

no

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

8
src/view/poster.vue

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

Loading…
Cancel
Save