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