Authored by zhangxiaoru

分享链接

... ... @@ -27,9 +27,10 @@ let shareData = {
link: location.href,
desc: '来YOHO玩潮流~甄选好货等你来BUY~',
imgUrl: 'http://img11.static.yhbimg.com/yhb-img01/2017/05/10/16/011568a808f9b10e098b6542d3a8cb3d6b.png'
};
let appVersion;
let appVersion, link;
let couponId = $('.coupon-info').data('id');
... ... @@ -37,6 +38,12 @@ require('common/share')(shareData);
require('common');
if (yoho.isApp) {
link = 'http://m.yohobuy.com/activity/share-buy/detail?counum=' + window.queryString.counum +
'&couponType=' + window.queryString.couponType + '&detailDes=' + window.queryString.detailDes +
'&couponId=' + window.queryString.couponId;
shareData.link = link;
yoho.ready(function() {
yoho.invokeMethod('set.shareInfo', shareData);
});
... ...