Files
MookNote/Wiki/User-Preferences.md
DelLevin-Home 44d69fde04 docs(wiki): 更新 Wiki 文档
- Home.md: 新增 EPUB 阅读、布局设置功能概览

- Pages-and-Navigation.md: 新增影视墙/书架模式说明、添加按钮规范

- Theme-and-UI.md: 新增布局设置界面、标签选择面板文档

- User-Preferences.md: 新增布局设置、排序方式、影视墙/书架模式配置
2026-07-02 20:19:07 +08:00

2.8 KiB
Raw Blame History

用户偏好

UserPrefs

lib/utils/user_prefs.dart — SharedPreferences 单例包装器。

布局设置

偏好项 类型 默认值 说明
movieLayoutStyle int 0 影视布局0=海报网格, 1=列表, 2=大图卡片
bookLayoutStyle int 0 阅读布局0=封面网格, 1=列表
noteLayoutStyle int 0 笔记布局0=列表, 1=瀑布流, 2=时间线
movieWallMode bool false 影视墙模式:显示全部影片,不区分状态
bookshelfMode bool false 书架模式:显示全部书籍,不区分状态

排序方式

偏好项 类型 默认值 说明
movieSortMode int 0 影视排序0=更新时间, 1=创建时间, 2=评分
bookSortMode int 0 书籍排序0=更新时间, 1=创建时间, 2=评分
noteSortMode int 0 笔记排序0=更新时间, 1=创建时间

主界面标签显示

偏好项 类型 默认值 说明
showMovieTab bool true 显示影视标签
showBookTab bool true 显示阅读标签
showNoteTab bool true 显示笔记标签
showNotePlusTab bool false 显示 Note Plus 标签
defaultMainTabIndex int 0 默认启动标签

主题设置

偏好项 类型 默认值 说明
themeMode int 0 0=跟随系统, 1=浅色, 2=深色
colorSchemeIndex int 0 配色方案0=经典, 1=靛蓝, 2=薄荷, 3=琥珀, 4=玫瑰, 5=紫罗兰
fontFamily String '' 字体,空字符串=系统默认

侧边栏功能开关

偏好项 类型 默认值 说明
showSidebarHeatmap bool true 热力图
showSidebarRecent bool true 最近添加
showSidebarEncounter bool true 随机邂逅
showSidebarStroll bool true 漫步
showSidebarCalendar bool true 日历
showSidebarPerson bool true 人物
showSidebarTags bool true 标签
showSidebarMdReader bool false Markdown 阅读器
showSidebarEpub bool true EPUB 阅读器

其他设置

偏好项 类型 默认值 说明
hideBottomNavOnScroll bool true 滚动时隐藏底部导航栏
showExactReleaseDate bool true 上映日期显示到日false=显示到月)
detailPageStyle int 0 详情页样式0=标准, 1=叠层
epubFontSize double 18.0 EPUB 阅读器字体大小
epubViewMode int 0 EPUB 书架视图0=宽松, 1=紧凑
highlightsViewMode int 0 摘抄视图0=瀑布流, 1=列表

返回首页