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

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

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