|
|
@@ -38,6 +38,8 @@ function handleClick(index: number) {
|
|
|
uni.navigateTo({ url })
|
|
|
}
|
|
|
}
|
|
|
+// #ifndef MP-WEIXIN
|
|
|
+// 因为有了 custom:true, 微信里面不需要多余的hide操作
|
|
|
onLoad(() => {
|
|
|
// 解决原生 tabBar 未隐藏导致有2个 tabBar 的问题
|
|
|
needHideNativeTabbar
|
|
|
@@ -50,6 +52,7 @@ onLoad(() => {
|
|
|
},
|
|
|
})
|
|
|
})
|
|
|
+// #endif
|
|
|
const activeColor = 'var(--wot-color-theme, #1890ff)'
|
|
|
const inactiveColor = '#666'
|
|
|
function getColorByIndex(index: number) {
|