overlay.vue 562 B

1234567891011121314151617
  1. <template>
  2. <uni-shadow-root class="vant-overlay-overlay"><van-transition :show="show" custom-class="van-overlay custom-class" :custom-style="'z-index: '+(zIndex)+'; '+(customStyle)" :duration="duration" @click.native="onClick" @touchmove.native.stop.prevent="_$self[(lockScroll ? 'noop' : '')||'_$noop']($event)">
  3. <slot></slot>
  4. </van-transition></uni-shadow-root>
  5. </template>
  6. <script>
  7. global['__wxRoute'] = 'vant/overlay/overlay'
  8. Component({})
  9. export default global['__wxComponents']['vant/overlay/overlay']
  10. </script>
  11. <style platform="mp-weixin">
  12. </style>