feat: 去掉 tabbar
This commit is contained in:
parent
775690c405
commit
fd64936e36
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user