23 lines
619 B
Vue
23 lines
619 B
Vue
<template>
|
|
<uni-shadow-root class="vant-dist-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/dist/config-provider/index'
|
|
import { VantComponent } from '../common/component';
|
|
VantComponent({
|
|
props: {
|
|
themeVars: {
|
|
type: Object,
|
|
value: {},
|
|
},
|
|
},
|
|
});
|
|
export default global['__wxComponents']['vant/dist/config-provider/index']
|
|
</script>
|
|
<style platform="mp-weixin">
|
|
|
|
</style> |