|
@@ -1,13 +1,3 @@
|
|
-<template>
|
|
|
|
- <wd-config-provider class="flex-grow flex flex-col" style="flex-grow: 1" :themeVars="themeVars">
|
|
|
|
- <view class="bg-[#f6f6f6] pb-20 flex-grow flex">
|
|
|
|
- <slot />
|
|
|
|
- </view>
|
|
|
|
- <wd-toast />
|
|
|
|
- <wd-message-box />
|
|
|
|
- </wd-config-provider>
|
|
|
|
-</template>
|
|
|
|
-
|
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
import type { ConfigProviderThemeVars } from 'wot-design-uni'
|
|
import type { ConfigProviderThemeVars } from 'wot-design-uni'
|
|
|
|
|
|
@@ -15,8 +5,21 @@ const themeVars: ConfigProviderThemeVars = {
|
|
// colorTheme: 'red',
|
|
// colorTheme: 'red',
|
|
buttonPrimaryBgColor: '#000',
|
|
buttonPrimaryBgColor: '#000',
|
|
// buttonPrimaryColor: '#07c160',
|
|
// buttonPrimaryColor: '#07c160',
|
|
|
|
+ buttonMediumRadius: '16rpx',
|
|
|
|
+ buttonMediumHeight: '92rpx',
|
|
|
|
+ // buttonLargeRadius: '8px',
|
|
|
|
+ // buttonSmallRadius: '8px',
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
+<template>
|
|
|
|
+ <wd-config-provider class="flex-grow flex flex-col" style="flex-grow: 1" :themeVars="themeVars">
|
|
|
|
+ <view class="bg-[#f6f6f6] flex-grow flex">
|
|
|
|
+ <slot />
|
|
|
|
+ </view>
|
|
|
|
+ <wd-toast />
|
|
|
|
+ <wd-message-box />
|
|
|
|
+ </wd-config-provider>
|
|
|
|
+</template>
|
|
<style lang="scss">
|
|
<style lang="scss">
|
|
/* stylelint-disable-next-line selector-type-no-unknown */
|
|
/* stylelint-disable-next-line selector-type-no-unknown */
|
|
layout-default-uni,
|
|
layout-default-uni,
|