Authored by 李奇

分享图片设定

@@ -95,12 +95,9 @@ class GroupProgress extends Page { @@ -95,12 +95,9 @@ class GroupProgress extends Page {
95 let [domain] = location.href.split('?'); 95 let [domain] = location.href.split('?');
96 96
97 link = `${domain}?activityId=${this.data.activityId}&groupNo=${this.data.groupNo}`; 97 link = `${domain}?activityId=${this.data.activityId}&groupNo=${this.data.groupNo}`;
98 -  
99 - _this.data.shareImgUrl = _this.data.shareImgUrl.replace(/(http:)?\/\//, 'https://');  
100 -  
101 sharePlugin({ 98 sharePlugin({
102 title: `【还差${_this.data.lackNum}人】${_this.data.groupPrice} ${_this.data.productName}`, 99 title: `【还差${_this.data.lackNum}人】${_this.data.groupPrice} ${_this.data.productName}`,
103 - imgUrl: _this.data.shareImgUrl, 100 + imgUrl: 'http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png',
104 desc: _this.data.productName, 101 desc: _this.data.productName,
105 link: link 102 link: link
106 }); 103 });