diff --git a/README.md b/README.md index 578c007c5de6672736ff14dbe832c314b1dc6981..8583b2fe5caff423524bd9baa90d9c025f30ccce 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ## 下载安装 ```shell -npm install @ohos/recyclerview_animators_ets --save +npm install @ohos/recyclerview-animators-ets --save ``` OpenHarmony npm环境配置等更多内容,请参考 [如何安装OpenHarmony npm包](https://gitee.com/openharmony-tpc/docs/blob/master/OpenHarmony_npm_usage.md) 。 @@ -86,4 +86,4 @@ build() { 使用过程中发现任何问题都可以提 [Issue](https://gitee.com/openharmony-sig/recyclerview-animators-ets/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://gitee.com/openharmony-sig/recyclerview-animators-ets/pulls) 。 ## 开源协议 -本项目基于 [Apache License 2.0](https://gitee.com/openharmony-sig/recyclerview-animators-ets/blob/master/LICENSE) ,请自由地享受和参与开源。 \ No newline at end of file +本项目基于 [Apache License 2.0](https://gitee.com/openharmony-sig/recyclerview-animators-ets/blob/master/LICENSE) ,请自由地享受和参与开源。 diff --git a/animation.gif b/animation.gif index c130ad6891c6b16fd555d0291029da5b4ea27ca3..b4020c1e877a9f61f89579303479eefd602dc9ff 100644 Binary files a/animation.gif and b/animation.gif differ diff --git a/entry/package-lock.json b/entry/package-lock.json index 1ea1726ab462786d004dcf395a5fae53e31f18e7..2899e06e493342f29f973f5cc5374f0c5449051c 100644 --- a/entry/package-lock.json +++ b/entry/package-lock.json @@ -4,7 +4,7 @@ "lockfileVersion": 1, "requires": true, "dependencies": { - "@ohos/recyclerview_animators_ets": { + "@ohos/recyclerview-animators-ets": { "version": "file:../recyclerview_animators_ets" } } diff --git a/entry/package.json b/entry/package.json index 8f30e34da9169dc424c9d359c00998660f5d0fc4..ebf0154ae2eadc50bc5f1486abb063caabb2d3d1 100644 --- a/entry/package.json +++ b/entry/package.json @@ -10,6 +10,6 @@ "repository": {}, "license": "Apache-2.0", "dependencies": { - "@ohos/recyclerview_animators_ets": "file:../recyclerview_animators_ets" + "@ohos/recyclerview-animators-ets": "file:../recyclerview_animators_ets" } } diff --git a/entry/src/main/ets/MainAbility/pages/index_adapter_animator.ets b/entry/src/main/ets/MainAbility/pages/index_adapter_animator.ets index b51dfba5a467bf4151a170db4dd792058a20aba3..7615491b07f56b1c171bd9717b5f316509ed5fd0 100644 --- a/entry/src/main/ets/MainAbility/pages/index_adapter_animator.ets +++ b/entry/src/main/ets/MainAbility/pages/index_adapter_animator.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import { RecyclerView } from "@ohos/recyclerview_animators_ets" +import { RecyclerView } from "@ohos/recyclerview-animators-ets" @Entry @Component @@ -77,7 +77,7 @@ struct Index_adapter_animator { @Builder SpecificChild(itemData) { Column() { - Image($r("app.media.chip")) + Image($r("app.media.sample13")) .width('100%') .height(100) Text(itemData + '') diff --git a/entry/src/main/ets/MainAbility/pages/index_item_animator.ets b/entry/src/main/ets/MainAbility/pages/index_item_animator.ets index 373f34bf14d23aae46f9a212021370585bfd30bc..0468cebaa353db03e05611a812cd9fb6263ec3ae 100644 --- a/entry/src/main/ets/MainAbility/pages/index_item_animator.ets +++ b/entry/src/main/ets/MainAbility/pages/index_item_animator.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import { RecyclerView } from "@ohos/recyclerview_animators_ets" +import { RecyclerView } from "@ohos/recyclerview-animators-ets" import router from '@system.router'; @Entry @@ -106,7 +106,7 @@ struct Index_item_animator { @Builder SpecificChild(itemData) { Column() { - Image($r("app.media.chip")) + Image($r("app.media.sample13")) .width('100%') .height(100) Text(itemData + '') diff --git a/entry/src/main/resources/base/media/chip.jpg b/entry/src/main/resources/base/media/chip.jpg deleted file mode 100644 index e73a300191a82ddec51570c38f7fb3e841dfbbd9..0000000000000000000000000000000000000000 Binary files a/entry/src/main/resources/base/media/chip.jpg and /dev/null differ diff --git a/entry/src/main/resources/base/media/sample13.jpg b/entry/src/main/resources/base/media/sample13.jpg new file mode 100644 index 0000000000000000000000000000000000000000..74f3999e5e53575f92796499befd891d1c124ca0 Binary files /dev/null and b/entry/src/main/resources/base/media/sample13.jpg differ diff --git a/entry/src/main/resources/base/media/tab_xia.png b/entry/src/main/resources/base/media/tab_xia.png deleted file mode 100644 index 2a54448ac181e236806739379053f187d3c9fab1..0000000000000000000000000000000000000000 Binary files a/entry/src/main/resources/base/media/tab_xia.png and /dev/null differ diff --git a/package-lock.json b/package-lock.json index 13e152edf1c1b3e8b804531b327249df7f69dd36..7aa1a3c5b65a75a3d6540c618ea92fce2f1a5e04 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "ohos_app_wx_recyclerview_animators", + "name": "recyclerview_animators", "version": "1.0.0", "lockfileVersion": 1, "requires": true, diff --git a/recyclerview_animators_ets/package-lock.json b/recyclerview_animators_ets/package-lock.json index 06e1d760ca376528b509e85447e29c21f985a720..275e6d7502e16753c95c697e1c7799efd94907c8 100644 --- a/recyclerview_animators_ets/package-lock.json +++ b/recyclerview_animators_ets/package-lock.json @@ -1,5 +1,5 @@ { - "name": "recyclerview_animators_ets", + "name": "@ohos/recyclerview-animators-ets", "version": "1.0.0", "lockfileVersion": 1 } diff --git a/recyclerview_animators_ets/package.json b/recyclerview_animators_ets/package.json index 6e9dc9c6cfe8038882f739b6e8d3306c79d02973..a201cefc02803ce54f30c93e1f14a04399c2e629 100644 --- a/recyclerview_animators_ets/package.json +++ b/recyclerview_animators_ets/package.json @@ -1,20 +1,23 @@ { - "name": "@ohos/recyclerview_animators_ets", + "types": "", + "keywords": [ + "Recyclerview", + "OpenHarmony" + ], + "author": "hihope", + "name": "@ohos/recyclerview-animators-ets", "description": "RecyclerView Animators is an Ohos library that allows developers to easily create RecyclerView with animations.", "ohos": { - "org": "" + "org": "opensource" }, "version": "1.0.0", + "tags": [ + "Recyclerview", + "OpenHarmony" + ], "main": "index.ets", - "types": "", - "repository": {}, + "repository": "https://gitee.com/openharmony-sig/recyclerview-animators-ets", "license": "Apache-2.0", "dependencies": {}, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "hihope", - "keywords": [ - "recyclerview_animators_ets" - ] + "devDependencies": {} }