feat: 去掉 tabbar

This commit is contained in:
laifeipeng 2025-04-22 14:44:16 +08:00
parent 775690c405
commit fd64936e36

View File

@ -7,8 +7,15 @@
</template>
<script lang="ts" setup>
import { getIsTabbar } from '@/utils'
import type { ConfigProviderThemeVars } from 'wot-design-uni'
onMounted(() => {
if (getIsTabbar()) {
uni.hideTabBar()
}
})
const themeVars: ConfigProviderThemeVars = {
// colorTheme: 'red',
// buttonPrimaryBgColor: '#07c160',