123456789101112131415161718192021 |
- <van-transition
- wx:if="{{ lockScroll }}"
- show="{{ show }}"
- custom-class="van-overlay"
- custom-style="z-index: {{ zIndex }}; {{ customStyle }}"
- duration="{{ duration }}"
- bind:tap="onClick"
- catch:touchmove="noop"
- >
- <slot></slot>
- </van-transition>
- <van-transition
- wx:else
- show="{{ show }}"
- custom-class="van-overlay"
- custom-style="z-index: {{ zIndex }}; {{ customStyle }}"
- duration="{{ duration }}"
- bind:tap="onClick"
- >
- <slot></slot>
- </van-transition>
|