Browse Source

url

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

8
src/view/poster.vue

@ -257,9 +257,7 @@
var coupon = this.getParam("no")
var sourceType = this.sourceType
var merchantNo = this.getParam("merchantNo")
var urls = location.href.toString();
var arrUrl = urls.split("?");
var urls = encodeURIComponent(arrUrl[0])
var urls = encodeURIComponent(location.href)
var imgUrl = encodeURIComponent(this.imgUrl)
if ( sourceType == 2 ){ //
this.wxShare({"couponNo":coupon,"source":10,"url":urls,"imgUrl":imgUrl})
@ -274,9 +272,7 @@
}
},
mounted() {
this.getNo()
this.getNo()
}
};
</script>

Loading…
Cancel
Save