index.vue 604 B

1234567891011121314151617181920212223
  1. <template>
  2. <uni-shadow-root class="vant-config-provider-index"><view class="van-config-provider" :style="computed.mapThemeVarsToCSSVars(themeVars)">
  3. <slot></slot>
  4. </view></uni-shadow-root>
  5. </template>
  6. <wxs src="./index.wxs" module="computed"></wxs>
  7. <script>
  8. global['__wxRoute'] = 'vant/config-provider/index'
  9. import { VantComponent } from '../common/component';
  10. VantComponent({
  11. props: {
  12. themeVars: {
  13. type: Object,
  14. value: {},
  15. },
  16. },
  17. });
  18. export default global['__wxComponents']['vant/config-provider/index']
  19. </script>
  20. <style platform="mp-weixin">
  21. </style>