From e480c0512a98fa49a3ff59f933fa17eecf53acac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=8B=A4=E6=B0=91?= Date: Mon, 15 Dec 2025 18:07:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(basic):=20=E6=96=B0=E5=A2=9E=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=A1=B9=E6=A0=B7=E5=BC=8F=E9=85=8D=E7=BD=AE=E5=92=8C?= =?UTF-8?q?=E4=B8=8A=E6=8B=89=E5=8A=A0=E8=BD=BD=E6=9B=B4=E5=A4=9A=E6=8E=A7?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 README 中添加 `canLoadMore` 配置项说明,默认值为 'default' - 为列表项组件新增 `marginTop`、`marginBottom` 样式属性 - 为列表项组件新增 `brtRight` 和 `brbRight` 圆角样式属性 - 设置首项顶部外边距为 7,其余项为 0 - 统一设置列表项底部外边距为 7 - 设置列表项右侧上圆角和下圆角为 10 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7d37847..331e35c 100644 --- a/README.md +++ b/README.md @@ -590,6 +590,8 @@ build() { isLoading: this.isLoading, // 是否自动调用`onRefresh`方法,默认为`true`,加载组件会自动调用一次`onRefresh` init: false, + // 是否可以上拉加载更多,默认`default` + canLoadMore: 'default', // 第一次加载完成,是否定位到底部,默认`false`,定位到顶部 positioningToBottom: true, // 控制器,提供跳转到顶部、跳转到底部、是否已经在最底部方法 @@ -631,6 +633,10 @@ build() { }, onDelete: () => { ToolsHelper.showMessage('删除') }, + marginTop: index === 0 ? 7 : 0, + marginBottom: 7, + brtRight: 10, + brbRight: 10, }) { // item布局 Column() {}