Initial commit
Some checks failed
定时更新GitHub源插件 / 自动更新GitHub插件 (push) Has been cancelled

This commit is contained in:
chorblack
2026-03-07 11:19:25 +08:00
commit e75f275ef4
4484 changed files with 645480 additions and 0 deletions

17
TopTop/js/toptop.js Normal file
View File

@@ -0,0 +1,17 @@
$(function () {
$(window).scroll(function () {
var scroHei = $(window).scrollTop();
if (scroHei > 500) {
$('.back-to-top').css('top', '-200px');
} else {
$('.back-to-top').fadeOut();
}
})
$('.back-to-top').click(function () {
$('body,html').animate({
scrollTop: 0
}, 600);
})
})