uniapp/wxcomponents/@vant/weapp/config-provider/index.vue

23 lines
625 B
Vue

<template>
<uni-shadow-root class="@vant-weapp-config-provider-index"><view class="van-config-provider" :style="computed.mapThemeVarsToCSSVars(themeVars)">
<slot></slot>
</view></uni-shadow-root>
</template>
<wxs src="./index.wxs" module="computed"></wxs>
<script>
global['__wxRoute'] = '@vant/weapp/config-provider/index'
import { VantComponent } from '../common/component';
VantComponent({
props: {
themeVars: {
type: Object,
value: {},
},
},
});
export default global['__wxComponents']['@vant/weapp/config-provider/index']
</script>
<style platform="mp-weixin">
</style>