|
|
@@ -196,8 +196,13 @@
|
|
|
let shareParams = {
|
|
|
title: `点我付款`, // 分享标题
|
|
|
desc: '享随机优惠,最高20元', // 分享内容
|
|
|
- imgUrl: `${window.location.protocol}//img.${this.$constant.firstHost}.com/retail/pay.jpg`,
|
|
|
- pagePath: `${window.location.protocol}//m.${this.$constant.firstHost}.com/#/pages/pay/index?account=${res.merchantId}&sourceType=2`
|
|
|
+ imgUrl: `${this.$constant.imgUrl}/retail/pay.jpg`,
|
|
|
+ // #ifdef H5
|
|
|
+ pagePath: `${this.$constant.formal}/#/pages/pay/index?account=${res.merchantId}&sourceType=2`,
|
|
|
+ // #endif
|
|
|
+ // #ifndef H5
|
|
|
+ pagePath: `/pages/pay/index?account=${res.merchantId}&sourceType=2`
|
|
|
+ // #endif
|
|
|
}
|
|
|
this.jweixinFn(shareParams)
|
|
|
})
|