JSPM

  • Created
  • Published
  • Downloads 186
  • Score
    100M100P100Q95684F
  • License MIT

小程序版AntUI

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mini-antui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    重要说明

    mini-antui 将不再更新、维护。后续请使用 ant-design-mini

    Mini AntUI

    • 基于 Alipay Design 设计规范;
    • 支持多端小程序(支付宝,淘宝,钉钉等);
    • 支持主题配置切换;
    • 支持 pxrpx

    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