diff --git a/static/css/base.css b/static/css/base.css index 9cb7388..f49c6e7 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -18,7 +18,7 @@ * themes for base. * * @author Liyuan Li - * @version 0.1.0.0, Dec 6, 2015 + * @version 0.2.0.0, Oct 5, 2018 */ /* start reset & function */ ::-webkit-scrollbar { @@ -157,11 +157,13 @@ button { font-weight: normal; font-variant: normal; text-transform: none; - line-height: 1; /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + cursor: pointer; + font-size: 13px; + line-height: 20px; } .ico-qqz:before { diff --git a/static/js/menu.js b/static/js/menu.js index e92e269..05db01f 100644 --- a/static/js/menu.js +++ b/static/js/menu.js @@ -19,7 +19,7 @@ * * @author Liyuan Li * @author Liang Ding - * @version 1.0.1.2, Mar 27, 2017 + * @version 1.0.1.3, Oct 5, 2018 */ var menu = { init: function () { @@ -55,8 +55,7 @@ var menu = { var title = encodeURIComponent($('title').text() + '. \n' + $('meta[name=description]').attr('content') + " #golang#"); urls.weibo = "http://v.t.sina.com.cn/share/share.php?title=" + title + "&url=" + url + "&pic=" + pic; - urls.tencent = "http://share.v.t.qq.com/index.php?c=share&a=index&title=" + title + - "&url=" + url + "&pic=" + pic; + urls.qqz = "https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=" + url + "&sharesource=qzone&title=" + title+ "&pics=" + pic; window.open(urls[key], "_blank", "top=100,left=200,width=648,height=618"); }); diff --git a/static/js/playground.js b/static/js/playground.js index 5c4f564..cbce517 100644 --- a/static/js/playground.js +++ b/static/js/playground.js @@ -19,7 +19,7 @@ * * @author Liyuan Li * @author Liang Ding - * @version 1.0.0.1, Dec 8, 2015 + * @version 1.0.0.2, Oct 5, 2018 */ var playground = { autocompleteMutex: false, @@ -53,10 +53,9 @@ var playground = { var title = encodeURIComponent($('title').text() + '. \n' + $('meta[name=description]').attr('content') + " #golang#"); urls.weibo = "http://v.t.sina.com.cn/share/share.php?title=" + title + "&url=" + url + "&pic=" + pic; - urls.tencent = "http://share.v.t.qq.com/index.php?c=share&a=index&title=" + title + - "&url=" + url + "&pic=" + pic; + urls.qqz = "https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=" + url + "&sharesource=qzone&title=" + title+ "&pics=" + pic; - window.open(urls[key], "_blank", "top=100,left=200,width=648,height=618"); + window.open(urls[key], "_blank", "top=100,left=200,width=648,height=618"); $(".menu .share-panel").hide(); }); diff --git a/views/index.html b/views/index.html index fd59d7b..9881ed7 100644 --- a/views/index.html +++ b/views/index.html @@ -383,7 +383,7 @@ - + diff --git a/views/playground/index.html b/views/playground/index.html index 31860d1..a0d3fe0 100644 --- a/views/playground/index.html +++ b/views/playground/index.html @@ -57,7 +57,7 @@ - +