mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-26 00:09:15 +08:00
fix popup
This commit is contained in:
parent
fbd99dc99a
commit
0b866c2393
@ -5,6 +5,8 @@
|
||||
</zan-swipe-item>
|
||||
</zan-swipe>
|
||||
|
||||
|
||||
|
||||
</example-block><example-block title="自动轮播">
|
||||
<zan-swipe auto-play="" @pagechange:end="handlePageEnd">
|
||||
<zan-swipe-item v-for="img in autoImages">
|
||||
@ -12,6 +14,8 @@
|
||||
</zan-swipe-item>
|
||||
</zan-swipe>
|
||||
|
||||
|
||||
|
||||
</example-block></section></template>
|
||||
<style>
|
||||
@component-namespace demo {
|
||||
|
@ -124,7 +124,7 @@ export default {
|
||||
:::demo 基础用法
|
||||
```html
|
||||
<zan-button block @click="popupShow1 = true">从中间弹出popup</zan-button>
|
||||
<zan-popup v-model="popupShow1" class="zan-popup-1">
|
||||
<zan-popup v-model="popupShow1" class="zan-popup-1" :lock-on-scroll="true">
|
||||
从中间弹出popup
|
||||
</zan-popup>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user