提交 67c48705 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

自定义下拉刷新示例 refresher-max-drag-distance 改为 200px

上级 5b3b259c
<template> <template>
<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" @refresherrestore="onRefreshrestore"> refresher-default-style="none" @refresherpulling="onRefresherpulling" @refresherrefresh="onRefresherrefresh" @refresherrestore="onRefreshrestore" refresher-max-drag-distance="200px">
<view style="height: 25px;"></view> <view style="height: 25px;"></view>
<view v-for="i in 20" class="content-item"> <view v-for="i in 20" class="content-item">
<text class="text">item-{{i}}</text> <text class="text">item-{{i}}</text>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
@refresherrefresh="onRefresherrefresh" @refresherrefresh="onRefresherrefresh"
@refresherrestore="onRefreshrestore" @refresherrestore="onRefreshrestore"
:refresher-threshold="refresherThreshold" :refresher-threshold="refresherThreshold"
refresher-max-drag-distance="200px"
> >
<view v-for="i in 20" class="content-item"> <view v-for="i in 20" class="content-item">
<text class="text">item-{{i}}</text> <text class="text">item-{{i}}</text>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册