This commit is contained in:
sion
2026-03-29 16:11:01 +08:00
parent d3d2765864
commit cb05e61285
152 changed files with 1232 additions and 217153 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -60,6 +60,14 @@ class MainPageState extends State<MainPage> {
});
}
/// 切换到指定 tab
void switchToTab(int index) {
setState(() {
_currentIndex = index;
_loadedPages.add(index);
});
}
static const _navItems = [
_NavItem(label: '首页', icon: LucideIcons.house),
_NavItem(label: '行情', icon: LucideIcons.trendingUp),