介绍
本示例为ArkUI中组件、通用、动画、全局方法的集合。
工程目录
entry/src/main/ets/
|
| |
| |
| |
| |
|
| |
|
| |
| |
|
| |
|
| |
|
| |
| |
|
| |
| |
| | |
| | |
| | | |
| | |
| | | |
| | | |
| | |
| | | |
| | | |
| | |
| | | |
| | |
| | | |
| | |
| | | |
| | |
| | | |
| | |
| | | |
| | |
| | | |
| | |
| | | |
| | |
| | | |
| | |
| | | |
| |
| | |
| | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | |
| | | |
| | | | |
| | | | |
| | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | |
| | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | |
| | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | | |
| | |
| | | |
| | | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | | |
| | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | | |
| | |
| | | |
| | | | |
| | | |
| | | | |
| | | | |
| | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | | |
| | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | | |
| | |
| | | |
| | | | |
| |
| | |
| | |
| | | |
| | | | |
| | | |
| | | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| |
| | |
| | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
| | | |
| | | | |
具体实现
本示例使用 Tabs容器组件
搭建整体应用框架,每个 TabContent内容视图
使用 List容器组件
布局,在每个 ListItem
中使用 循环渲染
加载此分类下分类导航数据,底部导航菜单使用 TabContent中tabBar属性
设置自定义样式 。
相关权限
ohos.permission.GET_BUNDLE_INFO
ohos.permission.GET_BUNDLE_INFO_PRIVILEGED
ohos.permission.REQUIRE_FORM
依赖
不涉及。
约束与限制
1.本示例仅支持标准系统上运行,支持设备:RK3568。
2.本示例仅支持API10版本SDK,版本号:4.0.10.1,镜像版本号:[OpenHarmony_4.0.10.1]
3.本示例涉及使用系统接口,FormComponent组件相关接口,需要手动替换Full
SDK才能编译通过,具体操作可参考替换指南。
4.本示例需要使用DevEco Studio 3.1 Release (Build Version: 3.1.0.500, built on April 28, 2023)才可编译运行。
5.本示例涉及ohos.permission.GET_BUNDLE_INFO_PRIVILEGED、ohos.permission.REQUIRE_FORM为system_basic级别(相关权限级别可通过权限定义列表
查看),需要配置高权限签名,可参考应用apl等级说明。
6.本示例涉及系统接口,需要配置系统应用签名,可以参考修改harmonyappprovision配置文件
,把配置文件中的“app-feature”字段信息改为“hos_system_app”。
下载
如需单独下载本工程,执行如下命令:
git init
git config core.sparsecheckout true
echo code/UI/ArkTsComponentCollection/ComponentCollection/ > .git/info/sparse-checkout
git remote add origin https:
git pull origin master
|