From b15b1e3fa0116bc55db99010b6a150bbce16dfb1 Mon Sep 17 00:00:00 2001 From: "dongmin.wang" Date: Thu, 14 Aug 2025 15:24:14 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#ICSYFI]=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A00.77=203=E4=B8=AA=E4=B8=89=E6=96=B9=E5=BA=93=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dongmin.wang --- zh-cn/react-native-marquee.md | 25 +++++++++++++++++++------ zh-cn/react-native-stickyheader.md | 13 ++++++++++++- zh-cn/react-native-swipe-list-view.md | 24 +++++++++++++++++++----- 3 files changed, 50 insertions(+), 12 deletions(-) diff --git a/zh-cn/react-native-marquee.md b/zh-cn/react-native-marquee.md index ed1b23fd..197bc0c1 100644 --- a/zh-cn/react-native-marquee.md +++ b/zh-cn/react-native-marquee.md @@ -6,12 +6,12 @@ 本项目基于 [react-native-marquee@0.5.0](https://github.com/kyo504/react-native-marquee/tree/v0.5.0) 开发。 -该第三方库的仓库已迁移至 Gitcode,且支持直接从 npm 下载,新的包名为:`@react-native-ohos/react-native-marquee`,具体版本所属关系如下: +请到三方库的 Releases 发布地址查看配套的版本信息: -| Version | Package Name | Repository | Release | -| ------------------------- | ------------------------------------------------- | ------------------ | -------------------------- | -| <= 0.5.0-0.0.1@deprecated | @react-native-oh-tpl/react-native-marquee | [Github(deprecated)](https://github.com/react-native-oh-library/react-native-marquee) | [Github Releases(deprecated)](https://github.com/react-native-oh-library/react-native-marquee/releases) | -| > 0.5.1 | @react-native-ohos/react-native-marquee | [GitCode](https://gitcode.com/openharmony-sig/rntpc_react-native-marquee) | [GitCode Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-marquee/releases) | +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 0.5.0 | [@react-native-oh-tpl/react-native-marquee Releases](https://github.com/react-native-oh-library/react-native-marquee/releases) | 0.72 | +| 0.5.1 | [@react-native-ohos/react-native-marquee Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-marquee/releases) | 0.77 | ## 1. 安装与使用 @@ -22,12 +22,20 @@ #### **npm** ```bash +# V0.5.0 +npm install @react-native-oh-tpl/react-native-marquee + +# V0.5.1 npm install @react-native-ohos/react-native-marquee ``` #### **yarn** ```bash +# V0.5.0 +yarn add @react-native-oh-tpl/react-native-marquee + +# V0.5.1 yarn add @react-native-ohos/react-native-marquee ``` @@ -73,7 +81,12 @@ const styles = StyleSheet.create({ ### 2.1 兼容性 -请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-ohos/react-native-marquee Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-marquee/releases) +请到三方库的 Releases 发布地址查看配套的版本信息: + +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 0.5.0 | [@react-native-oh-tpl/react-native-marquee Releases](https://github.com/react-native-oh-library/react-native-marquee/releases) | 0.72 | +| 0.5.1 | [@react-native-ohos/react-native-marquee Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-marquee/releases) | 0.77 | ## 3. 属性 diff --git a/zh-cn/react-native-stickyheader.md b/zh-cn/react-native-stickyheader.md index dc56fa90..f7555590 100644 --- a/zh-cn/react-native-stickyheader.md +++ b/zh-cn/react-native-stickyheader.md @@ -18,7 +18,10 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-stickyheader Releases](https://github.com/react-native-oh-library/react-native-stickyheader/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 1.1.3 | [@react-native-oh-tpl/react-native-stickyheader Releases](https://github.com/react-native-oh-library/react-native-stickyheader/releases) | 0.72 | +| 1.1.4 | [@react-native-ohos/react-native-stickyheader Releases](https://gitcode.com/openharmony-sig/rntpc_react-native-stickyheader/releases) | 0.77 | 进入到工程目录并输入以下命令: @@ -27,13 +30,21 @@ #### **npm** ```bash +# V1.1.3 npm install @react-native-oh-tpl/react-native-stickyheader + +# V1.1.4 +npm install @react-native-ohos/react-native-stickyheader ``` #### **yarn** ```bash +# V1.1.3 yarn add @react-native-oh-tpl/react-native-stickyheader + +# V1.1.4 +yarn add @react-native-ohos/react-native-stickyheader ``` diff --git a/zh-cn/react-native-swipe-list-view.md b/zh-cn/react-native-swipe-list-view.md index a65331a0..23434182 100644 --- a/zh-cn/react-native-swipe-list-view.md +++ b/zh-cn/react-native-swipe-list-view.md @@ -18,7 +18,11 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-swipe-list-view Releases](https://github.com/react-native-oh-library/react-native-swipe-list-view/releases/) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +请到三方库的 Releases 发布地址查看配套的版本信息: +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 3.2.9 | [@react-native-oh-tpl/react-native-swipe-list-view Releases](https://github.com/react-native-oh-library/react-native-swipe-list-view/releases) | 0.72 | +| 3.2.10 | [@react-native-ohos/react-native-swipe-list-view Releases]() | 0.77 | 进入到工程目录并输入以下命令: @@ -27,13 +31,21 @@ #### **npm** ```bash -npm install --save @react-native-oh-tpl/react-native-swipe-list-view +# V3.2.9 +npm install @react-native-oh-tpl/react-native-swipe-list-view + +# V3.2.10 +npm install @react-native-ohos/react-native-swipe-list-view ``` #### **yarn** ```bash +# V3.2.9 yarn add @react-native-oh-tpl/react-native-swipe-list-view + +# V3.2.10 +yarn add @react-native-ohos/react-native-swipe-list-view ``` @@ -209,9 +221,11 @@ const styles = StyleSheet.create({ ### 兼容性 -要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 - -请到三方库相应的 Releases 发布地址查看 Release 配套的版本信息:[@react-native-oh-tpl/react-native-swipe-list-view Releases](https://github.com/react-native-oh-library/react-native-swipe-list-view/releases/) +请到三方库的 Releases 发布地址查看配套的版本信息: +| 三方库版本 | 发布信息 | 支持RN版本 | +| ---------- | ------------------------------------------------------------ | ---------- | +| 3.2.9 | [@react-native-oh-tpl/react-native-swipe-list-view Releases](https://github.com/react-native-oh-library/react-native-swipe-list-view/releases) | 0.72 | +| 3.2.10 | [@react-native-ohos/react-native-swipe-list-view Releases]() | 0.77 | ## 属性 -- Gitee