...
|
...
|
@@ -29,29 +29,29 @@ function shareBase(options) { |
|
|
|
|
|
switch (defOption.channel) {
|
|
|
case 'weibo':
|
|
|
openUrl = '//service.weibo.com/share/share.php?url=' + defOption.url + '&title=' +
|
|
|
openUrl = 'http://service.weibo.com/share/share.php?url=' + defOption.url + '&title=' +
|
|
|
defOption.title + '&appkey=3739328910&searchPic=true&pic=' + defOption.image;
|
|
|
break;
|
|
|
case 'tweibo':
|
|
|
openUrl = '//share.v.t.qq.com/index.php?c=share&a=index&url=' + defOption.url + '&title=' +
|
|
|
openUrl = 'http://share.v.t.qq.com/index.php?c=share&a=index&url=' + defOption.url + '&title=' +
|
|
|
defOption.title + '&appkey=c0af9c29e0900813028c2ccb42021792&pic=' + defOption.image;
|
|
|
break;
|
|
|
case 'qzone':
|
|
|
openUrl = '//sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=' + defOption.url + '&title=' +
|
|
|
openUrl = 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=' + defOption.url + '&title=' +
|
|
|
defOption.title + '&desc=&summary=' + defOption.desc + '&site=YOHO!有货&pics=' + defOption.image;
|
|
|
break;
|
|
|
case 'renren':
|
|
|
openUrl = '//widget.renren.com/dialog/share?resourceUrl=' + defOption.url + '&srcUrl=' +
|
|
|
openUrl = 'http://widget.renren.com/dialog/share?resourceUrl=' + defOption.url + '&srcUrl=' +
|
|
|
defOption.url + '&desc=' + defOption.desc + '&title=' + defOption.title + '&description=' +
|
|
|
defOption.desc + '&pic=' + defOption.image;
|
|
|
break;
|
|
|
case 'qq':
|
|
|
openUrl = '//connect.qq.com/widget/shareqq/index.html?url=' + defOption.url + '&desc=' +
|
|
|
openUrl = 'http://connect.qq.com/widget/shareqq/index.html?url=' + defOption.url + '&desc=' +
|
|
|
defOption.desc + '&title=' + defOption.title.replace('%', '') + '&desc=&summary=' +
|
|
|
defOption.desc + '&site=YOHO!有货&pics=' + defOption.image;
|
|
|
break;
|
|
|
case 'weixin':
|
|
|
openUrl = '//s.jiathis.com/qrcode.php?url=' + defOption.weixinUrl + '&desc=' +
|
|
|
openUrl = 'http://s.jiathis.com/qrcode.php?url=' + defOption.weixinUrl + '&desc=' +
|
|
|
defOption.desc + '&title=' + defOption.title + '&description=' +
|
|
|
defOption.desc + '&pic=' + defOption.image;
|
|
|
break;
|
...
|
...
|
|