fix popup

This commit is contained in:
cookfront 2017-04-05 17:35:10 +08:00
parent fbd99dc99a
commit 0b866c2393
2 changed files with 5 additions and 1 deletions

View File

@ -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 {

View File

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