|
|
@@ -1,5 +1,17 @@
|
|
|
<template>
|
|
|
- <view class="default-layout">
|
|
|
+ <wd-config-provider :themeVars="themeVars">
|
|
|
<slot />
|
|
|
- </view>
|
|
|
+ <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>
|