:sparklers: fixed #346

This commit is contained in:
Van 2018-10-05 21:04:40 +08:00
parent fb9a273af1
commit 50b03b1ec8
No known key found for this signature in database
GPG Key ID: 7059B8783A78F16C
5 changed files with 11 additions and 11 deletions

View File

@ -18,7 +18,7 @@
* themes for base.
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @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 {

View File

@ -19,7 +19,7 @@
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @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");
});

View File

@ -19,7 +19,7 @@
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @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();
});

View File

@ -383,7 +383,7 @@
<span title="Facebook" class="font-ico ico-facebook"></span>
<span title="G+" class="font-ico ico-googleplus"></span>
<span title="微博" class="font-ico ico-weibo"></span>
<span title="腾讯微博" class="font-ico ico-tencent"></span>
<span title="QQ空间" class="font-ico ico-qqz"></span>
</div>
</div>
</div>

View File

@ -57,7 +57,7 @@
<span title="Facebook" class="font-ico ico-facebook"></span>
<span title="G+" class="font-ico ico-googleplus"></span>
<span title="微博" class="font-ico ico-weibo"></span>
<span title="腾讯微博" class="font-ico ico-tencent"></span>
<span title="QQ空间" class="font-ico ico-qqz"></span>
</div>
</div>
</div>