<script lang="ts" setup>
import type { ConfigProviderThemeVars } from 'wot-design-uni'

import CustomerServiceFab from '@/components/CustomerServiceFab.vue'

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

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