mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-24 04:01:31 +08:00
更新微博分享链接
This commit is contained in:
parent
3854a082d3
commit
c801559b62
@ -57,7 +57,7 @@ layui.define(['jquery', 'layer'], function (exports) {
|
||||
};
|
||||
|
||||
helper.weiboShare = function (title, url, pic) {
|
||||
var shareUrl = 'http://v.t.sina.com.cn/share/share.php?';
|
||||
var shareUrl = 'http://service.weibo.com/share/share.php?';
|
||||
shareUrl += 'title=' + encodeURIComponent(title || document.title);
|
||||
shareUrl += '&url=' + encodeURIComponent(url || document.location);
|
||||
shareUrl += '&pic=' + encodeURIComponent(pic || '');
|
||||
|
Loading…
x
Reference in New Issue
Block a user