mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
fix popup
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user