|
@@ -11,9 +11,6 @@
|
|
|
// TODO:通过这里切换使用tabbar的策略
|
|
// TODO:通过这里切换使用tabbar的策略
|
|
|
export const selectedTabbarStrategy = 0
|
|
export const selectedTabbarStrategy = 0
|
|
|
|
|
|
|
|
-// 0 和 1 时,需要tabbar缓存
|
|
|
|
|
-export const cacheTabbarEnable = selectedTabbarStrategy < 2
|
|
|
|
|
-
|
|
|
|
|
// selectedTabbarStrategy==0 时,需要填 iconPath 和 selectedIconPath
|
|
// selectedTabbarStrategy==0 时,需要填 iconPath 和 selectedIconPath
|
|
|
// selectedTabbarStrategy==1 or 2 时,需要填 icon 和 iconType
|
|
// selectedTabbarStrategy==1 or 2 时,需要填 icon 和 iconType
|
|
|
// selectedTabbarStrategy==3 时,tabbarList 不生效
|
|
// selectedTabbarStrategy==3 时,tabbarList 不生效
|
|
@@ -49,6 +46,9 @@ export const tabbarList = [
|
|
|
// },
|
|
// },
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
|
|
+// 0 和 1 时,需要tabbar缓存
|
|
|
|
|
+export const cacheTabbarEnable = selectedTabbarStrategy < 2
|
|
|
|
|
+
|
|
|
const _tabbar = {
|
|
const _tabbar = {
|
|
|
color: '#999999',
|
|
color: '#999999',
|
|
|
selectedColor: '#018d71',
|
|
selectedColor: '#018d71',
|