Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

归档页面加载更多失败 #5

Open
morrisxyang opened this issue Aug 15, 2019 · 3 comments
Open

归档页面加载更多失败 #5

morrisxyang opened this issue Aug 15, 2019 · 3 comments

Comments

@morrisxyang
Copy link

image

@morrisxyang morrisxyang changed the title 标签加载更多失败 归档页面加载更多失败 Aug 15, 2019
@morrisxyang
Copy link
Author

https://imatvoid.github.io/archives/
点击加载更多后,没有换页,加载更多的按钮消失了
image

@morrisxyang
Copy link
Author

看了下,似乎归档页面加载下一页的js逻辑有问题。

@morrisxyang
Copy link
Author

在archives.ejs中修改,可以加载出来后边的,但是会有年份重复的问题。
var $res = $(data).find('.archives '); //从数据中挑出文章数据,请根据实际情况更改
$('.archives').append($res.fadeIn(500)); //将数据加载加进posts-loop的标签中。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant