feat: 阅读器内章节跳转(上一章/下一章/章节列表)#30
Open
lemonteaau wants to merge 4 commits into
Open
Conversation
在系列小说阅读页底部加入章节导航条(上一章 / 当前·总数 / 下一章), 中间按钮可打开侧边章节列表直接跳到指定篇目,无需返回详情页手选。 切章后原地重载并回到顶部,仅对系列(series)小说显示。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The macos runner no longer ships Xcode_26.4.0.app, so the pinned xcode-select path failed before the build could start. Pick the highest installed Xcode 26 (falling back to the newest Xcode) dynamically. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The reader body uses DefaultTextStyle height:1.6 for paragraph spacing, which leaked into the chapter-nav buttons and pushed the "n / total" label below the icon. Pin the button labels to height:1.0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
height:1.0 alone still let the default proportional leading push the glyph down (CJK/digit fonts have ascent >> descent). Use TextLeadingDistribution.even so the label is vertically centered with the icon. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
阅读器章节跳转
给小说阅读器加了章节导航:正文章末会出现「上一章 / 章节列表 / 下一章」,可以直接跳到上一篇、下一篇,或者打开章节列表跳到指定的某一篇,不用再退回详情页选章节。
顺手修了下 iOS 构建 workflow
Build_IOS之前写死了xcode-select --switch /Applications/Xcode_26.4.0.app,但 runner 上这个 Xcode 版本已经没了,构建会直接挂在这一步。改成动态选择 runner上最新的 Xcode(优先 Xcode 26),构建就能正常跑。截图
正文章末:

章节导航:
