|
@@ -29,29 +29,29 @@ function shareBase(options) { |
|
@@ -29,29 +29,29 @@ function shareBase(options) { |
29
|
|
29
|
|
30
|
switch (defOption.channel) {
|
30
|
switch (defOption.channel) {
|
31
|
case 'weibo':
|
31
|
case 'weibo':
|
32
|
- openUrl = '//service.weibo.com/share/share.php?url=' + defOption.url + '&title=' +
|
32
|
+ openUrl = 'http://service.weibo.com/share/share.php?url=' + defOption.url + '&title=' +
|
33
|
defOption.title + '&appkey=3739328910&searchPic=true&pic=' + defOption.image;
|
33
|
defOption.title + '&appkey=3739328910&searchPic=true&pic=' + defOption.image;
|
34
|
break;
|
34
|
break;
|
35
|
case 'tweibo':
|
35
|
case 'tweibo':
|
36
|
- openUrl = '//share.v.t.qq.com/index.php?c=share&a=index&url=' + defOption.url + '&title=' +
|
36
|
+ openUrl = 'http://share.v.t.qq.com/index.php?c=share&a=index&url=' + defOption.url + '&title=' +
|
37
|
defOption.title + '&appkey=c0af9c29e0900813028c2ccb42021792&pic=' + defOption.image;
|
37
|
defOption.title + '&appkey=c0af9c29e0900813028c2ccb42021792&pic=' + defOption.image;
|
38
|
break;
|
38
|
break;
|
39
|
case 'qzone':
|
39
|
case 'qzone':
|
40
|
- openUrl = '//sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=' + defOption.url + '&title=' +
|
40
|
+ openUrl = 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=' + defOption.url + '&title=' +
|
41
|
defOption.title + '&desc=&summary=' + defOption.desc + '&site=YOHO!有货&pics=' + defOption.image;
|
41
|
defOption.title + '&desc=&summary=' + defOption.desc + '&site=YOHO!有货&pics=' + defOption.image;
|
42
|
break;
|
42
|
break;
|
43
|
case 'renren':
|
43
|
case 'renren':
|
44
|
- openUrl = '//widget.renren.com/dialog/share?resourceUrl=' + defOption.url + '&srcUrl=' +
|
44
|
+ openUrl = 'http://widget.renren.com/dialog/share?resourceUrl=' + defOption.url + '&srcUrl=' +
|
45
|
defOption.url + '&desc=' + defOption.desc + '&title=' + defOption.title + '&description=' +
|
45
|
defOption.url + '&desc=' + defOption.desc + '&title=' + defOption.title + '&description=' +
|
46
|
defOption.desc + '&pic=' + defOption.image;
|
46
|
defOption.desc + '&pic=' + defOption.image;
|
47
|
break;
|
47
|
break;
|
48
|
case 'qq':
|
48
|
case 'qq':
|
49
|
- openUrl = '//connect.qq.com/widget/shareqq/index.html?url=' + defOption.url + '&desc=' +
|
49
|
+ openUrl = 'http://connect.qq.com/widget/shareqq/index.html?url=' + defOption.url + '&desc=' +
|
50
|
defOption.desc + '&title=' + defOption.title.replace('%', '') + '&desc=&summary=' +
|
50
|
defOption.desc + '&title=' + defOption.title.replace('%', '') + '&desc=&summary=' +
|
51
|
defOption.desc + '&site=YOHO!有货&pics=' + defOption.image;
|
51
|
defOption.desc + '&site=YOHO!有货&pics=' + defOption.image;
|
52
|
break;
|
52
|
break;
|
53
|
case 'weixin':
|
53
|
case 'weixin':
|
54
|
- openUrl = '//s.jiathis.com/qrcode.php?url=' + defOption.weixinUrl + '&desc=' +
|
54
|
+ openUrl = 'http://s.jiathis.com/qrcode.php?url=' + defOption.weixinUrl + '&desc=' +
|
55
|
defOption.desc + '&title=' + defOption.title + '&description=' +
|
55
|
defOption.desc + '&title=' + defOption.title + '&description=' +
|
56
|
defOption.desc + '&pic=' + defOption.image;
|
56
|
defOption.desc + '&pic=' + defOption.image;
|
57
|
break;
|
57
|
break;
|