feat: 优化tabbar,精简tabbar
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user