refactor: 迁移页面路由配置至 definePage 并重构 tabbar 实现

- 使用 definePage() 替代 <route> 自定义块配置页面路由
- 重构 tabbar 组件,移除 useTabbar 和 uni-mini-router 依赖
- 改用原生 uni.switchTab 实现标签页切换
- 更新相关配置文件和静态资源
This commit is contained in:
Ray.Hao
2026-05-18 17:50:06 +08:00
parent 4465c4d613
commit 819a663081
31 changed files with 281 additions and 416 deletions

View File

@@ -13,6 +13,7 @@
"animationDuration": 300
},
"pages": [
// GENERATED BY UNI-PAGES, PLATFORM: H5
{
"path": "pages/index/index",
"type": "home",
@@ -222,6 +223,7 @@
"backgroundColor": "@tabBgColor",
"borderStyle": "@tabBorderStyle",
"list": [
// GENERATED BY UNI-PAGES, PLATFORM: H5
{
"pagePath": "pages/index/index"
},