From 2a0f657418da08b84bc7bc3df3fd7dc0dae938c5 Mon Sep 17 00:00:00 2001 From: mehaotian <490272692@qq.com> Date: Mon, 23 Mar 2020 20:36:50 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=94=AF=E4=BB=98=E5=AE=9D=20uni.pageS?= =?UTF-8?q?crollTo=20=E6=94=AF=E6=8C=81=20selector?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/ui/scroll.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api/ui/scroll.md b/docs/api/ui/scroll.md index af40f95e1..89361b3e3 100644 --- a/docs/api/ui/scroll.md +++ b/docs/api/ui/scroll.md @@ -4,14 +4,14 @@ **OBJECT参数说明** -|参数名 |类型 |必填 |说明 | -|:- |:- |:- |:- | +|参数名 |类型 |必填 |说明 | +|:- |:- |:- |:- | |scrollTop|String |否 |滚动到页面的目标位置(单位px) | -|selector |Number |否 |选择器,仅微信小程序2.7.3+ 支持 | +|selector |Number |否 |选择器,微信小程序2.7.3+ 、支付宝小程序1.20.0+支持 | |duration |Number |否 |滚动动画的时长,默认300ms,单位 ms | |success |function |否 |接口调用成功的回调函数 | |fail |function |否 |接口调用失败的回调函数 | -|complete |function |否 |接口调用结束的回调函数(调用成功、失败都会执行) | +|complete |function |否 |接口调用结束的回调函数(调用成功、失败都会执行) | **selector 语法** selector类似于 CSS 的选择器,但仅支持下列语法。 -- GitLab