提交 6b6b1e45 编写于 作者: shutao-dc's avatar shutao-dc

update scroll-view-custom-refresher-props.uvue

上级 77b141a8
<template>
<!-- #ifdef APP -->
<scroll-view style="flex:1" :refresher-enabled="true" :refresher-triggered="refresherTriggered"
refresher-default-style="none" @refresherpulling="onRefresherpulling" @refresherrefresh="onRefresherrefresh">
<!-- #endif -->
<scroll-view style="margin: 50rpx;">
<view v-for="i in 20" class="content-item">
<text class="text">item-{{i}}</text>
</view>
</scroll-view>
<scroll-view style="flex:1;" :refresher-enabled="true" :refresher-triggered="refresherTriggered"
refresher-default-style="none" @refresherpulling="onRefresherpulling" @refresherrefresh="onRefresherrefresh">
<view style="height: 50rpx;"></view>
<view v-for="i in 20" class="content-item">
<text class="text">item-{{i}}</text>
</view>
<refresh-box slot="refresher" :state="state"></refresh-box>
<!-- #ifdef APP -->
</scroll-view>
<!-- #endif -->
</template>
<script>
......@@ -71,4 +66,4 @@
color: #666;
line-height: 20px;
}
</style>
\ No newline at end of file
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册