<script lang="ts" setup>
import type { ConfigProviderThemeVars } from 'wot-design-uni'
import CustomerServiceFab from '@/components/CustomerServiceFab.vue'

import FgTabbar from './fg-tabbar/fg-tabbar.vue'

const themeVars: ConfigProviderThemeVars = {
  // colorTheme: 'red',
  // buttonPrimaryBgColor: '#07c160',
  // buttonPrimaryColor: '#07c160',
}
</script>

<template>
  <wd-config-provider :theme-vars="themeVars">
    <slot />
    <!-- #ifdef H5 -->
    <CustomerServiceFab :bottom-offset="180" />
    <!-- #endif -->
    <FgTabbar />
    <wd-toast />
    <wd-message-box />
  </wd-config-provider>
</template>
