1 Star 0 Fork 0

hihopeorg / mini-ali-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

mini-ali-ui

mini-ali-ui是一个实用的三方UI组件的扩展库,覆盖了大量常用自定义组件场景

效果展示

gif

gif

由于组件较多,可查看每个组件目录下的index.md文件

下载安装

安装教程

  1. 下载mini-ali-ui源码。
  2. 拷贝mini-ali-ui源码中的 mini_ali_ui/src/main/js/ 文件夹到自己的工程文件夹下。
  3. 在自己项目中引用拷贝的文件。

使用说明:

第一步: 在hml文件中引入组件,src相对路径根据拷贝位置可能存在改动;

<element name="am-radio" src="../../../../../../../mini_ali_ui/src/main/js/components/am-radio/index"></element>

第二步:创建组件节点:

                    <am-radio value="{{ $item.value }}" checked="{{ $item.checked }}" disabled="{{ $item.disabled }}"
                              id="{{ $item.id }}" @on-change="onChange"></am-radio>
  • 注意:导入请求入口js文件时需要根据自己的项目路径;具体详细使用方法可查看项目的案例。

接口说明

详见mini-ali-ui/src/main/js/components/下各个子文件夹下的index.md文件

兼容性

支持 OpenHarmony API version 8 及以上版本。

目录结构

├─entry
│  └─src
│      └─main
│          ├─js
│          │  └─MainAbility
│          │      ├─i18n
│          │      └─pages
│          │          ├─alphabet
│          │          ├─……
│          └─resources
├─mini_ali_ui
│  └─src
│      └─main
│          ├─js
│          │  ├─common
│          │  └─components
│          │     ├─am-checkbox
│          │     ├─……
│          └─resources
├─README.MD

贡献代码

使用过程中发现任何问题都可以提 Issue 给我们,当然,我们也非常欢迎你给我们发 PR

开源协议

本项目基于 MIT LICENSE ,请自由地享受和参与开源。

MIT LICENSE Copyright (c) 2018-present Alipay.com, https://www.alipay.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

扩展UI组件库 展开 收起
JavaScript 等 3 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/hihopeorg/mini-ali-ui.git
git@gitee.com:hihopeorg/mini-ali-ui.git
hihopeorg
mini-ali-ui
mini-ali-ui
master

搜索帮助