feat: 优化tabbar,精简tabbar

This commit is contained in:
菲鸽
2024-05-28 11:33:15 +08:00
parent 01679809b8
commit a9d3eccad5
8 changed files with 24 additions and 89 deletions

View File

@@ -1,4 +1,19 @@
<template>
<slot />
<fg-tabbar />
<wd-config-provider :themeVars="themeVars">
<slot />
<!-- 注意下面多了一个自定义tabbar -->
<fg-tabbar />
<wd-toast />
<wd-message-box />
</wd-config-provider>
</template>
<script lang="ts" setup>
import type { ConfigProviderThemeVars } from 'wot-design-uni'
const themeVars: ConfigProviderThemeVars = {
// colorTheme: 'red',
// buttonPrimaryBgColor: '#07c160',
// buttonPrimaryColor: '#07c160',
}
</script>