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-item>
|
||||||
</zan-swipe>
|
</zan-swipe>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</example-block><example-block title="自动轮播">
|
</example-block><example-block title="自动轮播">
|
||||||
<zan-swipe auto-play="" @pagechange:end="handlePageEnd">
|
<zan-swipe auto-play="" @pagechange:end="handlePageEnd">
|
||||||
<zan-swipe-item v-for="img in autoImages">
|
<zan-swipe-item v-for="img in autoImages">
|
||||||
@ -12,6 +14,8 @@
|
|||||||
</zan-swipe-item>
|
</zan-swipe-item>
|
||||||
</zan-swipe>
|
</zan-swipe>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</example-block></section></template>
|
</example-block></section></template>
|
||||||
<style>
|
<style>
|
||||||
@component-namespace demo {
|
@component-namespace demo {
|
||||||
|
@ -124,7 +124,7 @@ export default {
|
|||||||
:::demo 基础用法
|
:::demo 基础用法
|
||||||
```html
|
```html
|
||||||
<zan-button block @click="popupShow1 = true">从中间弹出popup</zan-button>
|
<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
|
从中间弹出popup
|
||||||
</zan-popup>
|
</zan-popup>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user