Giter Club home page Giter Club logo

antui's Introduction

AntUI


antui 是蚂蚁金服无线H5样式库的开放版本,是对外开放的一套支付宝APP视觉交互规范。使用ANTUI,能够快速完成页面设计,并提供给用户在支付宝APP内的一致体验。

包含控件:button(按钮), list(列表&表单), message(提示), popmenu(浮动菜单), notice(公告) process(支付进度), card(卡片), article(常规文章), search(搜索), tab(选项卡), Dialog(对话框), page-result(通用异常结果页)等

使用

方式一:使用tnpm进行安装

tnpm install @alipay/antui
安装后,只需要在页面中引入style/antui.css或者dist/antui.min.css其中之一即可,例如:

[单独使用某个控件(list控件),引入dist/widget/list.min.css 或者 style/widget/list.css]

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
        <title>antui</title>
        <link rel="stylesheet" href="path/to/antui/dist/antui.min.css"/>
        <!-- <link rel="stylesheet" href="path/to/antui/dist/widget/list.min.css"/> -->
        <script src="path/to/antui/dist/antui.min.js"></script>
    </head>
    <body>

    </body>
</html>

antui's People

Contributors

zhang-xiaoqing avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.