refactor(tabbar): 重构自定义tabbar逻辑并添加图标路径

移除冗余注释并整理tabbar相关配置
添加自定义tabbar的图标路径配置
优化tabbar显示逻辑,根据CUSTOM_TABBAR_ENABLE决定显示方式
This commit is contained in:
feige996
2025-06-21 13:09:14 +08:00
parent 91faa0f301
commit 5250fac0a1
4 changed files with 24 additions and 13 deletions

View File

@@ -25,12 +25,16 @@
"spacing": "3px",
"list": [
{
"iconPath": "static/tabbar/home.png",
"selectedIconPath": "static/tabbar/homeHL.png",
"pagePath": "pages/index/index",
"text": "首页",
"icon": "home",
"iconType": "wot"
},
{
"iconPath": "static/tabbar/example.png",
"selectedIconPath": "static/tabbar/exampleHL.png",
"pagePath": "pages/about/about",
"text": "关于",
"icon": "i-carbon-code",