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

置顶文章引发分页失效问题 #205

Closed
fz6m opened this issue Mar 28, 2020 · 0 comments
Closed

置顶文章引发分页失效问题 #205

fz6m opened this issue Mar 28, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@fz6m
Copy link

fz6m commented Mar 28, 2020

每页设定展示 10 篇文章,把第 11 篇文章置顶,此时首页会展示 1 置顶 + 9 正常文章,第 10 篇因为是置顶所以获取不到。另外,点击获取更多由 sakura-app.js 发送 ajax ,由于第二页第一篇此时恰好是置顶,所以获取失败,获取不到第二页的文章,错误在 lib.js3 行 try 抛出。

假如把第 11 篇文章置顶,则第一页展示 1 篇置顶 + 10 篇正常文章,第二页第一篇也不是置顶文章,可以正常获取到第二页。

@spirit1431007 spirit1431007 added the bug Something isn't working label Mar 28, 2020
spirit1431007 added a commit that referenced this issue Mar 28, 2020
fix post list thumb alignment
fix #205
spirit1431007 added a commit that referenced this issue Mar 28, 2020
fix post list thumb alignment
fix #205
@fz6m fz6m closed this as completed Mar 28, 2020
spirit1431007 added a commit that referenced this issue Mar 28, 2020
* fix: fix pagination and alignment
fix pagination and post list thumb alignment
fix #205
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants