Thunf / mini-antui

支付宝小程序组件库

Home Page:https://docs.alipay.com/mini/component-ext/overview-ext-common

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mini AntUI

npm package GitHub stars GitHub forks NPM downloads GitHub issues GitHub license

示例

链接

特性

安装

$ npm install mini-antui --save

使用

在页面json中文件中进行注册,如card组件的注册如下所示:

{
  "usingComponents": {
    "card": "mini-antui/es/card/index",
  }
}

在axml文件中进行调用:

<card
  thumb="{{thumb}}"
  title="卡片标题2"
  subTitle="副标题非必填2"
  onClick="onCardClick"
  info="点击了第二个card"
/>

详细使用说明请参照官方文档使用自定义组件

贡献

如果你有好的意见或建议,欢迎给我们提issue

About

支付宝小程序组件库

https://docs.alipay.com/mini/component-ext/overview-ext-common

License:MIT License


Languages

Language:CSS 51.4%Language:TypeScript 44.6%Language:JavaScript 4.0%