This commit is contained in:
Van
2019-07-09 18:25:11 +08:00
parent d7e7b8da21
commit 7788ba3799
7 changed files with 388 additions and 88 deletions

View File

@@ -29,6 +29,17 @@
var Skin = {
init: function () {
Util.initPjax()
$('#headerDown').click(function () {
$('html, body').animate({scrollTop: $(window).height()}, 300)
})
$(window).scroll(function (event) {
$('.fn__progress').attr('value', parseInt($(window).scrollTop())).
attr('max', parseInt($('body').outerHeight() -
$(window).height()))
})
$('.header').circleMagic();
},
initArticle: function () {
page.share()