优化搜索界面

This commit is contained in:
DelLevin-Home
2026-08-09 22:07:55 +08:00
parent b55523c3b9
commit 4ffc167967
15 changed files with 206 additions and 101 deletions

View File

@@ -168,7 +168,7 @@ class _DesktopHomePageState extends State<DesktopHomePage> {
if (_showNotes) {
final words = fn.fold<int>(0, (sum, n) => sum + n.content.length);
final ws = words >= 10000 ? '${(words / 10000).toStringAsFixed(1)}' : '$words';
items.add(_ModuleData(Icons.note_outlined, '笔记', fn.length, '$ws字', _noteColor, 2));
items.add(_ModuleData(Icons.sticky_note_2_outlined, '笔记', fn.length, '$ws字', _noteColor, 2));
}
if (_showGames) {
final completed = fg.where((g) => g.status == 'completed').length;