|
@@ -59,6 +59,8 @@ export const cacheTabbarEnable = selectedTabbarStrategy === TABBAR_MAP.NATIVE_TA
|
|
|
|| selectedTabbarStrategy === TABBAR_MAP.CUSTOM_TABBAR_WITH_CACHE
|
|
|| selectedTabbarStrategy === TABBAR_MAP.CUSTOM_TABBAR_WITH_CACHE
|
|
|
|
|
|
|
|
const _tabbar: TabBar = {
|
|
const _tabbar: TabBar = {
|
|
|
|
|
+ // 只有微信小程序支持 custom
|
|
|
|
|
+ custom: selectedTabbarStrategy === TABBAR_MAP.CUSTOM_TABBAR_WITH_CACHE,
|
|
|
color: '#999999',
|
|
color: '#999999',
|
|
|
selectedColor: '#018d71',
|
|
selectedColor: '#018d71',
|
|
|
backgroundColor: '#F8F8F8',
|
|
backgroundColor: '#F8F8F8',
|