12345678910111213141516171819202122 |
- <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>
|