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