Van
2019-02-21 21:46:33 +08:00
parent 3a5132b6ba
commit fbba7dd293
194 changed files with 2365 additions and 7692 deletions

View File

@@ -118,7 +118,7 @@ var MetroHot = {
$(".side > div").css("position", "static");
}
} else {
if (y + Util.getWinHeight() > $(".side > div").height() + MetroHot.headerH) {
if (y + $(window).height() > $(".side > div").height() + MetroHot.headerH) {
$(".side > div").css({
"position": "fixed",
"top": "auto",
@@ -175,7 +175,7 @@ var MetroHot = {
share: function() {
var title = encodeURIComponent($("title").text()),
url = window.location.href,
pic = $(".article-body img").attr("src");
pic = $(".content-reset img").attr("src");
var urls = {};
urls.tencent = "http://share.v.t.qq.com/index.php?c=share&a=index&title=" + title +
"&url=" + url + "&pic=" + pic;