diff --git a/gh-pages/audio.html b/gh-pages/audio.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/audio.html +++ b/gh-pages/audio.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/carousel.html b/gh-pages/carousel.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/carousel.html +++ b/gh-pages/carousel.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/chart.html b/gh-pages/chart.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/chart.html +++ b/gh-pages/chart.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/aside.html b/gh-pages/crud/aside.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/aside.html +++ b/gh-pages/crud/aside.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/columns.html b/gh-pages/crud/columns.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/columns.html +++ b/gh-pages/crud/columns.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/fixed.html b/gh-pages/crud/fixed.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/fixed.html +++ b/gh-pages/crud/fixed.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/footable.html b/gh-pages/crud/footable.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/footable.html +++ b/gh-pages/crud/footable.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/grid.html b/gh-pages/crud/grid.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/grid.html +++ b/gh-pages/crud/grid.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/header-group.html b/gh-pages/crud/header-group.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/header-group.html +++ b/gh-pages/crud/header-group.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/item-actions.html b/gh-pages/crud/item-actions.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/item-actions.html +++ b/gh-pages/crud/item-actions.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/jump-next.html b/gh-pages/crud/jump-next.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/jump-next.html +++ b/gh-pages/crud/jump-next.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/keyboards.html b/gh-pages/crud/keyboards.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/keyboards.html +++ b/gh-pages/crud/keyboards.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/list.html b/gh-pages/crud/list.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/list.html +++ b/gh-pages/crud/list.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/load-more.html b/gh-pages/crud/load-more.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/load-more.html +++ b/gh-pages/crud/load-more.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/load-once.html b/gh-pages/crud/load-once.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/load-once.html +++ b/gh-pages/crud/load-once.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/merge-cell.html b/gh-pages/crud/merge-cell.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/merge-cell.html +++ b/gh-pages/crud/merge-cell.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/nested.html b/gh-pages/crud/nested.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/nested.html +++ b/gh-pages/crud/nested.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/crud/table.html b/gh-pages/crud/table.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/crud/table.html +++ b/gh-pages/crud/table.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/dialog/drawer.html b/gh-pages/dialog/drawer.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/dialog/drawer.html +++ b/gh-pages/dialog/drawer.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/dialog/simple.html b/gh-pages/dialog/simple.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/dialog/simple.html +++ b/gh-pages/dialog/simple.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/advanced.html b/gh-pages/docs/advanced.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/advanced.html +++ b/gh-pages/docs/advanced.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/basic.html b/gh-pages/docs/basic.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/basic.html +++ b/gh-pages/docs/basic.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/dev.html b/gh-pages/docs/dev.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/dev.html +++ b/gh-pages/docs/dev.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/getting-started.html b/gh-pages/docs/getting-started.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/getting-started.html +++ b/gh-pages/docs/getting-started.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/getting_started_e3cb529.js b/gh-pages/docs/getting_started_b4287a5.js similarity index 73% rename from gh-pages/docs/getting_started_e3cb529.js rename to gh-pages/docs/getting_started_b4287a5.js index 5f4a58f7..4c32a530 100644 --- a/gh-pages/docs/getting_started_e3cb529.js +++ b/gh-pages/docs/getting_started_b4287a5.js @@ -2,7 +2,7 @@ define('docs/getting_started.md', function(require, exports, module) { module.exports = { "title": "快速开始", - "html": "

这是一个基于 React 框架的页面渲染器,有配置就能生成页面,配置是什么样的?请前往基本用法阅读。知道怎么配置后,就可以用以下方式用于自己的项目了。

\n

如果你不会 React 也没关系可以看看 JSSDK 用法

\n

安装依赖

直接通过 npm 安装即可。

\n
npm i amis\n

如何使用?

可以在 React Component 这么使用。

\n
import * as React from 'react';\nimport {\n    render as renderAmis\n} from 'amis';\n\nclass MyComponent extends React.Component<any, any> {\n    render() {\n        return (\n            <div>\n                <p>通过 amis 渲染页面</p>\n                {renderAmis({\n                    // schema\n                    // 这里是 amis 的 Json 配置。\n                    type: 'page',\n                    title: '简单页面',\n                    body: '内容'\n                }, {\n                    // props\n                }, {\n                    // env\n                    // 这些是 amis 需要的一些接口实现\n                    // 可以参考本项目里面的 Demo 部分代码。\n\n                    updateLocation: (location:string/*目标地址*/, replace:boolean/*是replace,还是push?*/) => {\n                        // 用来更新地址栏\n                    },\n\n                    jumpTo: (location:string/*目标地址*/) => {\n                        // 页面跳转, actionType:  link、url 都会进来。\n                    },\n\n                    fetcher: ({\n                        url,\n                        method,\n                        data,\n                        config\n                    }:{\n                        url:string/*目标地址*/,\n                        method:'get' | 'post' | 'put' | 'delete'/*发送方式*/,\n                        data: object | void/*数据*/,\n                        config: object/*其他配置*/\n                    }) => {\n                        // 用来发送 Ajax 请求,建议使用 axios\n                    },\n                    notify: (type:'error'|'success'/**/, msg:string/*提示内容*/) => {\n                        // 用来提示用户\n                    },\n                    alert: (content:string/*提示信息*/) => {\n                        // 另外一种提示,可以直接用系统框\n                    },\n                    confirm: (content:string/*提示信息*/) => {\n                        // 确认框。\n                    }\n                });}\n            </div>\n        );\n    }\n}\n
\n

(schema:Schema, props?:any, env?: any) => JSX.Element

\n

参数说明:

\n\n

JSSDK

如果你没有组件定制需求直接使用,而且不想折腾 React 相关的,我建议你直接用这种方式。

\n

首先请引用一下 CSS 和 JS。

\n\n

然后执行以下代码就能渲染了。

\n
(function() {\n    var amis = amisRequire('amis/embed');\n    amis.embed('#container', {\n        type: 'page',\n        title: 'AMIS Demo',\n        body: 'This is a simple amis page.'\n    }, {\n        // props 一般不用传。\n    }, {\n        // env\n        fetcher: () => {\n            // 可以不传,用来实现 ajax 请求\n        },\n\n        jumpTo: () => {\n            // 可以不传,用来实现页面跳转\n        },\n\n        updateLocation: () => {\n            // 可以不传,用来实现地址栏更新\n        },\n\n        isCurrentUrl: () => {\n            // 可以不传,用来判断是否目标地址当前地址。\n        },\n\n        copy: () => {\n            // 可以不传,用来实现复制到剪切板\n        },\n\n        notify: () => {\n            // 可以不传,用来实现通知\n        },\n\n        alert: () => {\n            // 可以不传,用来实现提示\n        },\n\n        confirm: () => {\n            // 可以不传,用来实现确认框。\n        }\n    });\n})();\n
\n

注意:以上的 SDK 地址是一个页面跳转,会跳转到一个 CDN 地址,而且每次跳转都是最新的版本,随着 amis 的升级这个地址会一直变动,如果你的页面已经完成功能回归,请直接使用某个固定地址,这样才不会因为 amis 升级而导致你的页面不可用。

\n

示例:

\n
\n \n\n\n
\n\n\n
文档内容有误?欢迎大家一起来编写,文档地址:/docs/getting_started.md
", + "html": "

这是一个基于 React 框架的页面渲染器,有配置就能生成页面,配置是什么样的?请前往基本用法阅读。知道怎么配置后,就可以用以下方式用于自己的项目了。

\n

如果你不会 React 也没关系可以看看 JSSDK 用法

\n

安装依赖

直接通过 npm 安装即可。

\n
npm i amis\n

如何使用?

可以在 React Component 这么使用。

\n
import * as React from 'react';\nimport {\n    render as renderAmis\n} from 'amis';\n\nclass MyComponent extends React.Component<any, any> {\n    render() {\n        return (\n            <div>\n                <p>通过 amis 渲染页面</p>\n                {renderAmis({\n                    // schema\n                    // 这里是 amis 的 Json 配置。\n                    type: 'page',\n                    title: '简单页面',\n                    body: '内容'\n                }, {\n                    // props\n                }, {\n                    // env\n                    // 这些是 amis 需要的一些接口实现\n                    // 可以参考本项目里面的 Demo 部分代码。\n\n                    updateLocation: (location:string/*目标地址*/, replace:boolean/*是replace,还是push?*/) => {\n                        // 用来更新地址栏\n                    },\n\n                    jumpTo: (location:string/*目标地址*/) => {\n                        // 页面跳转, actionType:  link、url 都会进来。\n                    },\n\n                    fetcher: ({\n                        url,\n                        method,\n                        data,\n                        config\n                    }:{\n                        url:string/*目标地址*/,\n                        method:'get' | 'post' | 'put' | 'delete'/*发送方式*/,\n                        data: object | void/*数据*/,\n                        config: object/*其他配置*/\n                    }) => {\n                        // 用来发送 Ajax 请求,建议使用 axios\n                    },\n                    notify: (type:'error'|'success'/**/, msg:string/*提示内容*/) => {\n                        // 用来提示用户\n                    },\n                    alert: (content:string/*提示信息*/) => {\n                        // 另外一种提示,可以直接用系统框\n                    },\n                    confirm: (content:string/*提示信息*/) => {\n                        // 确认框。\n                    }\n                });}\n            </div>\n        );\n    }\n}\n
\n

(schema:Schema, props?:any, env?: any) => JSX.Element

\n

参数说明:

\n\n

JSSDK

如果你没有组件定制需求直接使用,而且不想折腾 React 相关的,我建议你直接用这种方式。

\n

首先请引用一下 CSS 和 JS。

\n\n

然后执行以下代码就能渲染了。

\n
(function() {\n    var amis = amisRequire('amis/embed');\n    amis.embed('#container', {\n        type: 'page',\n        title: 'AMIS Demo',\n        body: 'This is a simple amis page.'\n    }, {\n        // props 一般不用传。\n    }, {\n        // env\n        fetcher: () => {\n            // 可以不传,用来实现 ajax 请求\n        },\n\n        jumpTo: () => {\n            // 可以不传,用来实现页面跳转\n        },\n\n        updateLocation: () => {\n            // 可以不传,用来实现地址栏更新\n        },\n\n        isCurrentUrl: () => {\n            // 可以不传,用来判断是否目标地址当前地址。\n        },\n\n        copy: () => {\n            // 可以不传,用来实现复制到剪切板\n        },\n\n        notify: () => {\n            // 可以不传,用来实现通知\n        },\n\n        alert: () => {\n            // 可以不传,用来实现提示\n        },\n\n        confirm: () => {\n            // 可以不传,用来实现确认框。\n        }\n    });\n})();\n
\n

注意:以上的 SDK 地址是一个页面跳转,会跳转到一个 CDN 地址,而且每次跳转都是最新的版本,随着 amis 的升级这个地址会一直变动,如果你的页面已经完成功能回归,请直接使用某个固定地址,这样才不会因为 amis 升级而导致你的页面不可用。

\n

示例:

\n
\n\n\n \n AMIS Demo\n \n \n \n \n \n\n\n
\n \n \n\n\n
<!DOCTYPE html>\n<html lang=\"zh\">\n<head>\n    <meta charset=\"UTF-8\">\n    <title>AMIS Demo</title>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n    <meta name=\"viewport\"\n        content=\"width=device-width, initial-scale=1, maximum-scale=1\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=Edge\">\n    <link rel=\"stylesheet\" \n        href=\"https://houtai.baidu.com/v2/csssdk\">\n    <style>\n        html, body, .app-wrapper {\n            position: relative;\n            width: 100%;\n            height: 100%;\n            margin: 0;\n            padding: 0;\n        }\n    </style>\n</head>\n<body>\n    <div id=\"root\" class=\"app-wrapper\"></div>\n    <script src=\"https://houtai.baidu.com/v2/jssdk\"></script>\n    <script type=\"text/javascript\">\n    (function() {\n        var amis = amisRequire('amis/embed');\n        amis.embed('#root', {\n            type: 'page',\n            title: 'AMIS Demo',\n            body: 'hello world'\n        });\n    })();\n    </script>\n</body>\n</html>\n
\n\n\n
文档内容有误?欢迎大家一起来编写,文档地址:/docs/getting_started.md
", "toc": { "label": "目录", "type": "toc", diff --git a/gh-pages/docs/renderers.html b/gh-pages/docs/renderers.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers.html +++ b/gh-pages/docs/renderers.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Action.html b/gh-pages/docs/renderers/Action.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Action.html +++ b/gh-pages/docs/renderers/Action.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Alert.html b/gh-pages/docs/renderers/Alert.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Alert.html +++ b/gh-pages/docs/renderers/Alert.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Audio.html b/gh-pages/docs/renderers/Audio.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Audio.html +++ b/gh-pages/docs/renderers/Audio.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/ButtonGroup.html b/gh-pages/docs/renderers/ButtonGroup.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/ButtonGroup.html +++ b/gh-pages/docs/renderers/ButtonGroup.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/CRUD-Cards.html b/gh-pages/docs/renderers/CRUD-Cards.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/CRUD-Cards.html +++ b/gh-pages/docs/renderers/CRUD-Cards.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/CRUD-List.html b/gh-pages/docs/renderers/CRUD-List.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/CRUD-List.html +++ b/gh-pages/docs/renderers/CRUD-List.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/CRUD-Table.html b/gh-pages/docs/renderers/CRUD-Table.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/CRUD-Table.html +++ b/gh-pages/docs/renderers/CRUD-Table.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/CRUD.html b/gh-pages/docs/renderers/CRUD.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/CRUD.html +++ b/gh-pages/docs/renderers/CRUD.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Card.html b/gh-pages/docs/renderers/Card.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Card.html +++ b/gh-pages/docs/renderers/Card.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Cards.html b/gh-pages/docs/renderers/Cards.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Cards.html +++ b/gh-pages/docs/renderers/Cards.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Carousel.html b/gh-pages/docs/renderers/Carousel.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Carousel.html +++ b/gh-pages/docs/renderers/Carousel.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Chart.html b/gh-pages/docs/renderers/Chart.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Chart.html +++ b/gh-pages/docs/renderers/Chart.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Collapse.html b/gh-pages/docs/renderers/Collapse.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Collapse.html +++ b/gh-pages/docs/renderers/Collapse.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Column.html b/gh-pages/docs/renderers/Column.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Column.html +++ b/gh-pages/docs/renderers/Column.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Definitions.html b/gh-pages/docs/renderers/Definitions.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Definitions.html +++ b/gh-pages/docs/renderers/Definitions.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Dialog.html b/gh-pages/docs/renderers/Dialog.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Dialog.html +++ b/gh-pages/docs/renderers/Dialog.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Divider.html b/gh-pages/docs/renderers/Divider.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Divider.html +++ b/gh-pages/docs/renderers/Divider.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Drawer.html b/gh-pages/docs/renderers/Drawer.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Drawer.html +++ b/gh-pages/docs/renderers/Drawer.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Field.html b/gh-pages/docs/renderers/Field.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Field.html +++ b/gh-pages/docs/renderers/Field.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Array.html b/gh-pages/docs/renderers/Form/Array.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Array.html +++ b/gh-pages/docs/renderers/Form/Array.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Button-Group.html b/gh-pages/docs/renderers/Form/Button-Group.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Button-Group.html +++ b/gh-pages/docs/renderers/Form/Button-Group.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Button-Toolbar.html b/gh-pages/docs/renderers/Form/Button-Toolbar.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Button-Toolbar.html +++ b/gh-pages/docs/renderers/Form/Button-Toolbar.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Button.html b/gh-pages/docs/renderers/Form/Button.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Button.html +++ b/gh-pages/docs/renderers/Form/Button.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Chained-Select.html b/gh-pages/docs/renderers/Form/Chained-Select.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Chained-Select.html +++ b/gh-pages/docs/renderers/Form/Chained-Select.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Checkbox.html b/gh-pages/docs/renderers/Form/Checkbox.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Checkbox.html +++ b/gh-pages/docs/renderers/Form/Checkbox.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Checkboxes.html b/gh-pages/docs/renderers/Form/Checkboxes.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Checkboxes.html +++ b/gh-pages/docs/renderers/Form/Checkboxes.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/City.html b/gh-pages/docs/renderers/Form/City.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/City.html +++ b/gh-pages/docs/renderers/Form/City.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Color.html b/gh-pages/docs/renderers/Form/Color.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Color.html +++ b/gh-pages/docs/renderers/Form/Color.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Combo.html b/gh-pages/docs/renderers/Form/Combo.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Combo.html +++ b/gh-pages/docs/renderers/Form/Combo.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Date-Range.html b/gh-pages/docs/renderers/Form/Date-Range.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Date-Range.html +++ b/gh-pages/docs/renderers/Form/Date-Range.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Date.html b/gh-pages/docs/renderers/Form/Date.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Date.html +++ b/gh-pages/docs/renderers/Form/Date.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Datetime.html b/gh-pages/docs/renderers/Form/Datetime.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Datetime.html +++ b/gh-pages/docs/renderers/Form/Datetime.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Editor.html b/gh-pages/docs/renderers/Form/Editor.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Editor.html +++ b/gh-pages/docs/renderers/Form/Editor.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Email.html b/gh-pages/docs/renderers/Form/Email.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Email.html +++ b/gh-pages/docs/renderers/Form/Email.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/FieldSet.html b/gh-pages/docs/renderers/Form/FieldSet.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/FieldSet.html +++ b/gh-pages/docs/renderers/Form/FieldSet.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/File.html b/gh-pages/docs/renderers/Form/File.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/File.html +++ b/gh-pages/docs/renderers/Form/File.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Form.html b/gh-pages/docs/renderers/Form/Form.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Form.html +++ b/gh-pages/docs/renderers/Form/Form.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/FormItem.html b/gh-pages/docs/renderers/Form/FormItem.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/FormItem.html +++ b/gh-pages/docs/renderers/Form/FormItem.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Formula.html b/gh-pages/docs/renderers/Form/Formula.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Formula.html +++ b/gh-pages/docs/renderers/Form/Formula.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Grid.html b/gh-pages/docs/renderers/Form/Grid.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Grid.html +++ b/gh-pages/docs/renderers/Form/Grid.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Group.html b/gh-pages/docs/renderers/Form/Group.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Group.html +++ b/gh-pages/docs/renderers/Form/Group.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/HBox.html b/gh-pages/docs/renderers/Form/HBox.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/HBox.html +++ b/gh-pages/docs/renderers/Form/HBox.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Hidden.html b/gh-pages/docs/renderers/Form/Hidden.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Hidden.html +++ b/gh-pages/docs/renderers/Form/Hidden.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Image.html b/gh-pages/docs/renderers/Form/Image.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Image.html +++ b/gh-pages/docs/renderers/Form/Image.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Input-Group.html b/gh-pages/docs/renderers/Form/Input-Group.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Input-Group.html +++ b/gh-pages/docs/renderers/Form/Input-Group.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/List.html b/gh-pages/docs/renderers/Form/List.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/List.html +++ b/gh-pages/docs/renderers/Form/List.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Matrix.html b/gh-pages/docs/renderers/Form/Matrix.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Matrix.html +++ b/gh-pages/docs/renderers/Form/Matrix.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/NestedSelect.html b/gh-pages/docs/renderers/Form/NestedSelect.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/NestedSelect.html +++ b/gh-pages/docs/renderers/Form/NestedSelect.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Number.html b/gh-pages/docs/renderers/Form/Number.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Number.html +++ b/gh-pages/docs/renderers/Form/Number.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Panel.html b/gh-pages/docs/renderers/Form/Panel.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Panel.html +++ b/gh-pages/docs/renderers/Form/Panel.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Password.html b/gh-pages/docs/renderers/Form/Password.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Password.html +++ b/gh-pages/docs/renderers/Form/Password.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Picker.html b/gh-pages/docs/renderers/Form/Picker.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Picker.html +++ b/gh-pages/docs/renderers/Form/Picker.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Radios.html b/gh-pages/docs/renderers/Form/Radios.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Radios.html +++ b/gh-pages/docs/renderers/Form/Radios.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Range.html b/gh-pages/docs/renderers/Form/Range.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Range.html +++ b/gh-pages/docs/renderers/Form/Range.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Rating.html b/gh-pages/docs/renderers/Form/Rating.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Rating.html +++ b/gh-pages/docs/renderers/Form/Rating.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Repeat.html b/gh-pages/docs/renderers/Form/Repeat.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Repeat.html +++ b/gh-pages/docs/renderers/Form/Repeat.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Rich-Text.html b/gh-pages/docs/renderers/Form/Rich-Text.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Rich-Text.html +++ b/gh-pages/docs/renderers/Form/Rich-Text.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Select.html b/gh-pages/docs/renderers/Form/Select.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Select.html +++ b/gh-pages/docs/renderers/Form/Select.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Service.html b/gh-pages/docs/renderers/Form/Service.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Service.html +++ b/gh-pages/docs/renderers/Form/Service.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/SubForm.html b/gh-pages/docs/renderers/Form/SubForm.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/SubForm.html +++ b/gh-pages/docs/renderers/Form/SubForm.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Switch.html b/gh-pages/docs/renderers/Form/Switch.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Switch.html +++ b/gh-pages/docs/renderers/Form/Switch.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Table.html b/gh-pages/docs/renderers/Form/Table.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Table.html +++ b/gh-pages/docs/renderers/Form/Table.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Tabs.html b/gh-pages/docs/renderers/Form/Tabs.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Tabs.html +++ b/gh-pages/docs/renderers/Form/Tabs.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Text.html b/gh-pages/docs/renderers/Form/Text.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Text.html +++ b/gh-pages/docs/renderers/Form/Text.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Textarea.html b/gh-pages/docs/renderers/Form/Textarea.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Textarea.html +++ b/gh-pages/docs/renderers/Form/Textarea.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Time.html b/gh-pages/docs/renderers/Form/Time.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Time.html +++ b/gh-pages/docs/renderers/Form/Time.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Tree.html b/gh-pages/docs/renderers/Form/Tree.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Tree.html +++ b/gh-pages/docs/renderers/Form/Tree.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/TreeSelect.html b/gh-pages/docs/renderers/Form/TreeSelect.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/TreeSelect.html +++ b/gh-pages/docs/renderers/Form/TreeSelect.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Form/Url.html b/gh-pages/docs/renderers/Form/Url.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Form/Url.html +++ b/gh-pages/docs/renderers/Form/Url.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Grid.html b/gh-pages/docs/renderers/Grid.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Grid.html +++ b/gh-pages/docs/renderers/Grid.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/HBox.html b/gh-pages/docs/renderers/HBox.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/HBox.html +++ b/gh-pages/docs/renderers/HBox.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Html.html b/gh-pages/docs/renderers/Html.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Html.html +++ b/gh-pages/docs/renderers/Html.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/List.html b/gh-pages/docs/renderers/List.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/List.html +++ b/gh-pages/docs/renderers/List.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Nav.html b/gh-pages/docs/renderers/Nav.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Nav.html +++ b/gh-pages/docs/renderers/Nav.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Page.html b/gh-pages/docs/renderers/Page.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Page.html +++ b/gh-pages/docs/renderers/Page.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Panel.html b/gh-pages/docs/renderers/Panel.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Panel.html +++ b/gh-pages/docs/renderers/Panel.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Plain.html b/gh-pages/docs/renderers/Plain.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Plain.html +++ b/gh-pages/docs/renderers/Plain.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/QRCode.html b/gh-pages/docs/renderers/QRCode.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/QRCode.html +++ b/gh-pages/docs/renderers/QRCode.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Service.html b/gh-pages/docs/renderers/Service.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Service.html +++ b/gh-pages/docs/renderers/Service.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Static.html b/gh-pages/docs/renderers/Static.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Static.html +++ b/gh-pages/docs/renderers/Static.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Table.html b/gh-pages/docs/renderers/Table.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Table.html +++ b/gh-pages/docs/renderers/Table.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Tabs.html b/gh-pages/docs/renderers/Tabs.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Tabs.html +++ b/gh-pages/docs/renderers/Tabs.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Tasks.html b/gh-pages/docs/renderers/Tasks.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Tasks.html +++ b/gh-pages/docs/renderers/Tasks.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Tpl.html b/gh-pages/docs/renderers/Tpl.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Tpl.html +++ b/gh-pages/docs/renderers/Tpl.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Types.html b/gh-pages/docs/renderers/Types.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Types.html +++ b/gh-pages/docs/renderers/Types.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Video.html b/gh-pages/docs/renderers/Video.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Video.html +++ b/gh-pages/docs/renderers/Video.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Wizard.html b/gh-pages/docs/renderers/Wizard.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Wizard.html +++ b/gh-pages/docs/renderers/Wizard.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/Wrapper.html b/gh-pages/docs/renderers/Wrapper.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/Wrapper.html +++ b/gh-pages/docs/renderers/Wrapper.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/renderers/iFrame.html b/gh-pages/docs/renderers/iFrame.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/renderers/iFrame.html +++ b/gh-pages/docs/renderers/iFrame.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/sdk.html b/gh-pages/docs/sdk.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/sdk.html +++ b/gh-pages/docs/sdk.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/style.html b/gh-pages/docs/style.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/docs/style.html +++ b/gh-pages/docs/style.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/docs/style_67c1f50.js b/gh-pages/docs/style_67c1f50.js new file mode 100644 index 00000000..823d8334 --- /dev/null +++ b/gh-pages/docs/style_67c1f50.js @@ -0,0 +1,82 @@ +define('docs/style.md', function(require, exports, module) { + + module.exports = { + "title": "样式表说明", + "shortname": "style", + "html": "

amis 中有大量的功能类 class 可以使用,即可以用在 schema 中,也可以用在自定义组件开发中,掌握这些 class, 几乎可以不用写样式。

\n

amis 中的样式基于 BootStrap V3, 这里主要讲 Bootstrap 中没有涉及到的。

\n

图标

amis 集成了 fontawesome,所以关于图标部分,请前往 fontawesome 查看。

\n

布局

水平布局可以考虑用 Bootstrap 的 Grids 或者用 hobxcol

\n
<div class=\"hbox b-a\">\n    <div class=\"col wrapper-sm bg-success\">Col A</div>\n    <div class=\"col wrapper-sm bg-info\">Col B</div>\n    <div class=\"col wrapper-sm bg-danger\">Col C</div>\n</div>\n
\n

宽高

.w-1x { width: 1em; }\n.w-2x { width: 2em; }\n.w-3x { width: 3em; }\n.w-xxs { width: 60px; }\n.w-xs { width: 90px; }\n.w-sm { width: 150px; }\n.w { width: 200px; }\n.w-md { width: 240px; }\n.w-lg { width: 280px; }\n.w-xl { width: 320px; }\n.w-xxl { width: 360px; }\n.w-full { width: 100%; }\n.w-auto { width: auto; }\n.h-auto { height: auto; }\n.h-full { height: 100% !important; max-height: none !important; }\n
\n
<div class=\"hbox b-a bg-primary\">\n    <div class=\"col wrapper-sm b-r w-1x\">w-1x</div>\n    <div class=\"col wrapper-sm b-r w-2x\">w-2x</div>\n    <div class=\"col wrapper-sm b-r w-3x\">w-3x</div>\n    <div class=\"col wrapper-sm b-r w-xxs\">w-xxs</div>\n    <div class=\"col wrapper-sm b-r w-xs\">w-xs</div>\n    <div class=\"col wrapper-sm b-r w-sm\">w-sm</div>\n    <div class=\"col wrapper-sm b-r w\">w</div>\n    <div class=\"col wrapper-sm  lter\">...</div>\n</div>\n<div class=\"hbox b-a bg-primary m-t\">\n    <div class=\"col wrapper-sm b-r w-md\">w-md</div>\n    <div class=\"col wrapper-sm b-r w-lg\">w-lg</div>\n    <div class=\"col wrapper-sm b-r w-xl\">w-xl</div>\n    <div class=\"col wrapper-sm lter\">...</div>\n</div>\n<div class=\"hbox b-a bg-primary m-t\">\n    <div class=\"col wrapper-sm b-r w-xxl\">w-xxl</div>\n    <div class=\"col wrapper-sm lter\">...</div>\n</div>\n
\n

外边距

.m-xxs { margin: 2px 4px }\n.m-xs { margin: 5px; }\n.m-sm { margin: 10px; }\n.m { margin: 15px; }\n.m-md { margin: 20px; }\n.m-lg { margin: 30px; }\n.m-xl { margin: 50px; }\n.m-n { margin: 0 !important }\n.m-l-none { margin-left: 0 !important }\n.m-l-xs { margin-left: 5px; }\n.m-l-sm { margin-left: 10px; }\n.m-l { margin-left: 15px }\n.m-l-md { margin-left: 20px; }\n.m-l-lg { margin-left: 30px; }\n.m-l-xl { margin-left: 40px; }\n.m-l-xxl { margin-left: 50px; }\n.m-l-n-xxs { margin-left: -1px }\n.m-l-n-xs { margin-left: -5px }\n.m-l-n-sm { margin-left: -10px }\n.m-l-n { margin-left: -15px }\n.m-l-n-md { margin-left: -20px }\n.m-l-n-lg { margin-left: -30px }\n.m-l-n-xl { margin-left: -40px }\n.m-l-n-xxl { margin-left: -50px }\n.m-t-none { margin-top: 0 !important }\n.m-t-xxs { margin-top: 1px; }\n.m-t-xs { margin-top: 5px; }\n.m-t-sm { margin-top: 10px; }\n.m-t { margin-top: 15px }\n.m-t-md { margin-top: 20px; }\n.m-t-lg { margin-top: 30px; }\n.m-t-xl { margin-top: 40px; }\n.m-t-xxl { margin-top: 50px; }\n.m-t-n-xxs { margin-top: -1px }\n.m-t-n-xs { margin-top: -5px }\n.m-t-n-sm { margin-top: -10px }\n.m-t-n { margin-top: -15px }\n.m-t-n-md { margin-top: -20px }\n.m-t-n-lg { margin-top: -30px }\n.m-t-n-xl { margin-top: -40px }\n.m-t-n-xxl { margin-top: -50px }\n.m-r-none { margin-right: 0 !important }\n.m-r-xxs { margin-right: 1px }\n.m-r-xs { margin-right: 5px }\n.m-r-sm { margin-right: 10px }\n.m-r { margin-right: 15px }\n.m-r-md { margin-right: 20px }\n.m-r-lg { margin-right: 30px }\n.m-r-xl { margin-right: 40px }\n.m-r-xxl { margin-right: 50px }\n.m-r-n-xxs { margin-right: -1px }\n.m-r-n-xs { margin-right: -5px }\n.m-r-n-sm { margin-right: -10px }\n.m-r-n { margin-right: -15px }\n.m-r-n-md { margin-right: -20px }\n.m-r-n-lg { margin-right: -30px }\n.m-r-n-xl { margin-right: -40px }\n.m-r-n-xxl { margin-right: -50px }\n.m-b-none { margin-bottom: 0 !important }\n.m-b-xxs { margin-bottom: 1px; }\n.m-b-xs { margin-bottom: 5px; }\n.m-b-sm { margin-bottom: 10px; }\n.m-b { margin-bottom: 15px; }\n.m-b-md { margin-bottom: 20px; }\n.m-b-lg { margin-bottom: 30px; }\n.m-b-xl { margin-bottom: 40px; }\n.m-b-xxl { margin-bottom: 50px; }\n.m-b-n-xxs { margin-bottom: -1px }\n.m-b-n-xs { margin-bottom: -5px }\n.m-b-n-sm { margin-bottom: -10px }\n.m-b-n { margin-bottom: -15px }\n.m-b-n-md { margin-bottom: -20px }\n.m-b-n-lg { margin-bottom: -30px }\n.m-b-n-xl { margin-bottom: -40px }\n.m-b-n-xxl { margin-bottom: -50px }\n
\n

内边距

.wrapper-xs { padding: 5px; }\n.wrapper-sm { padding: 10px; }\n.wrapper { padding: 15px; }\n.wrapper-md { padding: 20px; }\n.wrapper-lg { padding: 30px; }\n.wrapper-xl { padding: 50px; }\n.padder-xs { padding-left: 5px; padding-right: 5px }\n.padder-sm { padding-left: 10px; padding-right: 10px }\n.padder-lg { padding-left: 30px; padding-right: 30px }\n.padder-md { padding-left: 20px; padding-right: 20px }\n.padder { padding-left: 15px; padding-right: 15px }\n.padder-v-xs { padding-top: 5px; padding-bottom: 5px }\n.padder-v-sm { padding-top: 10px; padding-bottom: 10px }\n.padder-v-lg { padding-top: 30px; padding-bottom: 30px }\n.padder-v-md { padding-top: 20px; padding-bottom: 20px }\n.padder-v { padding-top: 15px; padding-bottom: 15px }\n.no-padder { padding: 0 !important; }\n.pull-in { margin-left: -15px; margin-right: -15px; }\n.pull-out { margin: -10px -15px; }\n
\n

边框

.b { border: 1px solid rgba(0, 0, 0, 0.05) }\n.b-a { border: 1px solid @border-color }\n.b-t { border-top: 1px solid @border-color }\n.b-r { border-right: 1px solid @border-color }\n.b-b { border-bottom: 1px solid @border-color }\n.b-l { border-left: 1px solid @border-color }\n.b-light { border-color: @brand-light }\n.b-dark { border-color: @brand-dark }\n.b-black { border-color: @brand-dark }\n.b-primary { border-color: @brand-primary }\n.b-success { border-color: @brand-success }\n.b-info { border-color: @brand-info }\n.b-warning { border-color: @brand-warning }\n.b-danger { border-color: @brand-danger }\n.b-white { border-color: #fff }\n.b-dashed { border-style: dashed !important; }\n.b-l-light { border-left-color: @brand-light }\n.b-l-dark { border-left-color: @brand-dark }\n.b-l-black { border-left-color: @brand-dark }\n.b-l-primary { border-left-color: @brand-primary }\n.b-l-success { border-left-color: @brand-success }\n.b-l-info { border-left-color: @brand-info }\n.b-l-warning { border-left-color: @brand-warning }\n.b-l-danger { border-left-color: @brand-danger }\n.b-l-white { border-left-color: #fff }\n.b-l-2x { border-left-width: 2px }\n.b-l-3x { border-left-width: 3px }\n.b-l-4x { border-left-width: 4px }\n.b-l-5x { border-left-width: 5px }\n.b-2x { border-width: 2px }\n.b-3x { border-width: 3px }\n.b-4x { border-width: 4px }\n.b-5x { border-width: 5px }\n
\n

圆角

.r { border-radius: @border-radius-base @border-radius-base @border-radius-base @border-radius-base; }\n.r-2x { border-radius: @border-radius-base * 2; }\n.r-3x { border-radius: @border-radius-base * 3; }\n.r-l { border-radius: @border-radius-base 0 0 @border-radius-base; }\n.r-r { border-radius: 0 @border-radius-base @border-radius-base 0; }\n.r-t { border-radius: @border-radius-base @border-radius-base 0 0; }\n.r-b { border-radius: 0 0 @border-radius-base @border-radius-base; }\n
\n

字体相关

.font-normal { font-weight: normal; }\n.font-thin { font-weight: 300; }\n.font-bold { font-weight: 700; }\n.text-3x { font-size: 3em; }\n.text-2x { font-size: 2em; }\n.text-lg { font-size: @font-size-lg; }\n.text-md { font-size: @font-size-md; }\n.text-base { font-size: @font-size-base; }\n.text-sm { font-size: @font-size-sm; }\n.text-xs { font-size: @font-size-xs; }\n.text-xxs { text-indent: -9999px }\n.text-ellipsis { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.text-u-c { text-transform: uppercase; }\n.text-l-t { text-decoration: line-through; }\n.text-u-l { text-decoration: underline; }\n
\n

定位

.pos-rlt { position: relative; }\n.pos-stc { position: static !important; }\n.pos-abt { position: absolute; }\n.pos-fix { position: fixed; }\n
\n

背景

<div class=\"hbox b-a bg-light\">\n    <div class=\"col wrapper-sm b-r bg-white\">bg-white</div>\n    <div class=\"col wrapper-sm b-r bg-dark\">bg-dark</div>\n    <div class=\"col wrapper-sm b-r bg-info\">bg-info</div>\n    <div class=\"col wrapper-sm b-r bg-success\">bg-sucess</div>\n    <div class=\"col wrapper-sm b-r bg-warning\">bg-warning</div>\n    <div class=\"col wrapper-sm b-r bg-danger\">bg-danger</div>\n    <div class=\"col wrapper-sm bg-primary\">bg-primary</div>\n</div>\n
\n

其他

.show { visibility: visible; }\n.line { *width: 100%; height: 2px; margin: 10px 0; font-size: 0; overflow: hidden; background-color: transparent; border-width: 0; border-top: 1px solid @border-color; }\n.line-xs { margin: 0 }\n.line-lg { margin-top: 15px; margin-bottom: 15px }\n.line-dashed { border-style: dashed; background: transparent; }\n.no-line { border-width: 0 }\n.no-border, .no-borders { border-color: transparent; border-width: 0 }\n.no-radius { border-radius: 0 }\n.block { display: block; }\n.block.hide { display: none; }\n.inline { display: inline-block !important; }\n.none { display: none; }\n.pull-none { float: none; }\n.rounded { border-radius: 500px; }\n.clear { display: block; overflow: hidden; }\n.no-bg { background-color: transparent; color: inherit; }\n.no-select { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }\n
\n\n\n
文档内容有误?欢迎大家一起来编写,文档地址:/docs/style.md
", + "toc": { + "label": "目录", + "type": "toc", + "children": [ + { + "label": "图标", + "fragment": "%E5%9B%BE%E6%A0%87", + "fullPath": "#%E5%9B%BE%E6%A0%87", + "level": 2 + }, + { + "label": "布局", + "fragment": "%E5%B8%83%E5%B1%80", + "fullPath": "#%E5%B8%83%E5%B1%80", + "level": 2 + }, + { + "label": "宽高", + "fragment": "%E5%AE%BD%E9%AB%98", + "fullPath": "#%E5%AE%BD%E9%AB%98", + "level": 2 + }, + { + "label": "外边距", + "fragment": "%E5%A4%96%E8%BE%B9%E8%B7%9D", + "fullPath": "#%E5%A4%96%E8%BE%B9%E8%B7%9D", + "level": 2 + }, + { + "label": "内边距", + "fragment": "%E5%86%85%E8%BE%B9%E8%B7%9D", + "fullPath": "#%E5%86%85%E8%BE%B9%E8%B7%9D", + "level": 2 + }, + { + "label": "边框", + "fragment": "%E8%BE%B9%E6%A1%86", + "fullPath": "#%E8%BE%B9%E6%A1%86", + "level": 2 + }, + { + "label": "圆角", + "fragment": "%E5%9C%86%E8%A7%92", + "fullPath": "#%E5%9C%86%E8%A7%92", + "level": 2 + }, + { + "label": "字体相关", + "fragment": "%E5%AD%97%E4%BD%93%E7%9B%B8%E5%85%B3", + "fullPath": "#%E5%AD%97%E4%BD%93%E7%9B%B8%E5%85%B3", + "level": 2 + }, + { + "label": "定位", + "fragment": "%E5%AE%9A%E4%BD%8D", + "fullPath": "#%E5%AE%9A%E4%BD%8D", + "level": 2 + }, + { + "label": "背景", + "fragment": "%E8%83%8C%E6%99%AF", + "fullPath": "#%E8%83%8C%E6%99%AF", + "level": 2 + }, + { + "label": "其他", + "fragment": "%E5%85%B6%E4%BB%96", + "fullPath": "#%E5%85%B6%E4%BB%96", + "level": 2 + } + ], + "level": 0 + } + }; + +}); diff --git a/gh-pages/docs/style_a0d04b0.js b/gh-pages/docs/style_a0d04b0.js deleted file mode 100644 index 25c9d7ec..00000000 --- a/gh-pages/docs/style_a0d04b0.js +++ /dev/null @@ -1,82 +0,0 @@ -define('docs/style.md', function(require, exports, module) { - - module.exports = { - "title": "样式表说明", - "shortname": "style", - "html": "

amis 中有大量的功能类 class 可以使用,即可以用在 schema 中,也可以用在自定义组件开发中,掌握这些 class, 几乎可以不用写样式。

\n

amis 中的样式基于 BootStrap V3, 这里主要讲 Bootstrap 中没有涉及到的。

\n

图标

amis 集成了 fontawesome,所以关于图标部分,请前往 fontawesome 查看。

\n

布局

水平布局可以考虑用 Bootstrap 的 Grids 或者用 hobxcol

\n
\n
Col A
\n
Col B
\n
Col C
\n
\n
<div class=\"hbox b-a\">\n    <div class=\"col wrapper-sm bg-success\">Col A</div>\n    <div class=\"col wrapper-sm bg-info\">Col B</div>\n    <div class=\"col wrapper-sm bg-danger\">Col C</div>\n</div>\n
\n

宽高

.w-1x { width: 1em; }\n.w-2x { width: 2em; }\n.w-3x { width: 3em; }\n.w-xxs { width: 60px; }\n.w-xs { width: 90px; }\n.w-sm { width: 150px; }\n.w { width: 200px; }\n.w-md { width: 240px; }\n.w-lg { width: 280px; }\n.w-xl { width: 320px; }\n.w-xxl { width: 360px; }\n.w-full { width: 100%; }\n.w-auto { width: auto; }\n.h-auto { height: auto; }\n.h-full { height: 100% !important; max-height: none !important; }\n
\n
\n
w-1x
\n
w-2x
\n
w-3x
\n
w-xxs
\n
w-xs
\n
w-sm
\n
w
\n
...
\n
\n
\n
w-md
\n
w-lg
\n
w-xl
\n
...
\n
\n
\n
w-xxl
\n
...
\n
\n
<div class=\"hbox b-a bg-primary\">\n    <div class=\"col wrapper-sm b-r w-1x\">w-1x</div>\n    <div class=\"col wrapper-sm b-r w-2x\">w-2x</div>\n    <div class=\"col wrapper-sm b-r w-3x\">w-3x</div>\n    <div class=\"col wrapper-sm b-r w-xxs\">w-xxs</div>\n    <div class=\"col wrapper-sm b-r w-xs\">w-xs</div>\n    <div class=\"col wrapper-sm b-r w-sm\">w-sm</div>\n    <div class=\"col wrapper-sm b-r w\">w</div>\n    <div class=\"col wrapper-sm  lter\">...</div>\n</div>\n<div class=\"hbox b-a bg-primary m-t\">\n    <div class=\"col wrapper-sm b-r w-md\">w-md</div>\n    <div class=\"col wrapper-sm b-r w-lg\">w-lg</div>\n    <div class=\"col wrapper-sm b-r w-xl\">w-xl</div>\n    <div class=\"col wrapper-sm lter\">...</div>\n</div>\n<div class=\"hbox b-a bg-primary m-t\">\n    <div class=\"col wrapper-sm b-r w-xxl\">w-xxl</div>\n    <div class=\"col wrapper-sm lter\">...</div>\n</div>\n
\n

外边距

.m-xxs { margin: 2px 4px }\n.m-xs { margin: 5px; }\n.m-sm { margin: 10px; }\n.m { margin: 15px; }\n.m-md { margin: 20px; }\n.m-lg { margin: 30px; }\n.m-xl { margin: 50px; }\n.m-n { margin: 0 !important }\n.m-l-none { margin-left: 0 !important }\n.m-l-xs { margin-left: 5px; }\n.m-l-sm { margin-left: 10px; }\n.m-l { margin-left: 15px }\n.m-l-md { margin-left: 20px; }\n.m-l-lg { margin-left: 30px; }\n.m-l-xl { margin-left: 40px; }\n.m-l-xxl { margin-left: 50px; }\n.m-l-n-xxs { margin-left: -1px }\n.m-l-n-xs { margin-left: -5px }\n.m-l-n-sm { margin-left: -10px }\n.m-l-n { margin-left: -15px }\n.m-l-n-md { margin-left: -20px }\n.m-l-n-lg { margin-left: -30px }\n.m-l-n-xl { margin-left: -40px }\n.m-l-n-xxl { margin-left: -50px }\n.m-t-none { margin-top: 0 !important }\n.m-t-xxs { margin-top: 1px; }\n.m-t-xs { margin-top: 5px; }\n.m-t-sm { margin-top: 10px; }\n.m-t { margin-top: 15px }\n.m-t-md { margin-top: 20px; }\n.m-t-lg { margin-top: 30px; }\n.m-t-xl { margin-top: 40px; }\n.m-t-xxl { margin-top: 50px; }\n.m-t-n-xxs { margin-top: -1px }\n.m-t-n-xs { margin-top: -5px }\n.m-t-n-sm { margin-top: -10px }\n.m-t-n { margin-top: -15px }\n.m-t-n-md { margin-top: -20px }\n.m-t-n-lg { margin-top: -30px }\n.m-t-n-xl { margin-top: -40px }\n.m-t-n-xxl { margin-top: -50px }\n.m-r-none { margin-right: 0 !important }\n.m-r-xxs { margin-right: 1px }\n.m-r-xs { margin-right: 5px }\n.m-r-sm { margin-right: 10px }\n.m-r { margin-right: 15px }\n.m-r-md { margin-right: 20px }\n.m-r-lg { margin-right: 30px }\n.m-r-xl { margin-right: 40px }\n.m-r-xxl { margin-right: 50px }\n.m-r-n-xxs { margin-right: -1px }\n.m-r-n-xs { margin-right: -5px }\n.m-r-n-sm { margin-right: -10px }\n.m-r-n { margin-right: -15px }\n.m-r-n-md { margin-right: -20px }\n.m-r-n-lg { margin-right: -30px }\n.m-r-n-xl { margin-right: -40px }\n.m-r-n-xxl { margin-right: -50px }\n.m-b-none { margin-bottom: 0 !important }\n.m-b-xxs { margin-bottom: 1px; }\n.m-b-xs { margin-bottom: 5px; }\n.m-b-sm { margin-bottom: 10px; }\n.m-b { margin-bottom: 15px; }\n.m-b-md { margin-bottom: 20px; }\n.m-b-lg { margin-bottom: 30px; }\n.m-b-xl { margin-bottom: 40px; }\n.m-b-xxl { margin-bottom: 50px; }\n.m-b-n-xxs { margin-bottom: -1px }\n.m-b-n-xs { margin-bottom: -5px }\n.m-b-n-sm { margin-bottom: -10px }\n.m-b-n { margin-bottom: -15px }\n.m-b-n-md { margin-bottom: -20px }\n.m-b-n-lg { margin-bottom: -30px }\n.m-b-n-xl { margin-bottom: -40px }\n.m-b-n-xxl { margin-bottom: -50px }\n
\n

内边距

.wrapper-xs { padding: 5px; }\n.wrapper-sm { padding: 10px; }\n.wrapper { padding: 15px; }\n.wrapper-md { padding: 20px; }\n.wrapper-lg { padding: 30px; }\n.wrapper-xl { padding: 50px; }\n.padder-xs { padding-left: 5px; padding-right: 5px }\n.padder-sm { padding-left: 10px; padding-right: 10px }\n.padder-lg { padding-left: 30px; padding-right: 30px }\n.padder-md { padding-left: 20px; padding-right: 20px }\n.padder { padding-left: 15px; padding-right: 15px }\n.padder-v-xs { padding-top: 5px; padding-bottom: 5px }\n.padder-v-sm { padding-top: 10px; padding-bottom: 10px }\n.padder-v-lg { padding-top: 30px; padding-bottom: 30px }\n.padder-v-md { padding-top: 20px; padding-bottom: 20px }\n.padder-v { padding-top: 15px; padding-bottom: 15px }\n.no-padder { padding: 0 !important; }\n.pull-in { margin-left: -15px; margin-right: -15px; }\n.pull-out { margin: -10px -15px; }\n
\n

边框

.b { border: 1px solid rgba(0, 0, 0, 0.05) }\n.b-a { border: 1px solid @border-color }\n.b-t { border-top: 1px solid @border-color }\n.b-r { border-right: 1px solid @border-color }\n.b-b { border-bottom: 1px solid @border-color }\n.b-l { border-left: 1px solid @border-color }\n.b-light { border-color: @brand-light }\n.b-dark { border-color: @brand-dark }\n.b-black { border-color: @brand-dark }\n.b-primary { border-color: @brand-primary }\n.b-success { border-color: @brand-success }\n.b-info { border-color: @brand-info }\n.b-warning { border-color: @brand-warning }\n.b-danger { border-color: @brand-danger }\n.b-white { border-color: #fff }\n.b-dashed { border-style: dashed !important; }\n.b-l-light { border-left-color: @brand-light }\n.b-l-dark { border-left-color: @brand-dark }\n.b-l-black { border-left-color: @brand-dark }\n.b-l-primary { border-left-color: @brand-primary }\n.b-l-success { border-left-color: @brand-success }\n.b-l-info { border-left-color: @brand-info }\n.b-l-warning { border-left-color: @brand-warning }\n.b-l-danger { border-left-color: @brand-danger }\n.b-l-white { border-left-color: #fff }\n.b-l-2x { border-left-width: 2px }\n.b-l-3x { border-left-width: 3px }\n.b-l-4x { border-left-width: 4px }\n.b-l-5x { border-left-width: 5px }\n.b-2x { border-width: 2px }\n.b-3x { border-width: 3px }\n.b-4x { border-width: 4px }\n.b-5x { border-width: 5px }\n
\n

圆角

.r { border-radius: @border-radius-base @border-radius-base @border-radius-base @border-radius-base; }\n.r-2x { border-radius: @border-radius-base * 2; }\n.r-3x { border-radius: @border-radius-base * 3; }\n.r-l { border-radius: @border-radius-base 0 0 @border-radius-base; }\n.r-r { border-radius: 0 @border-radius-base @border-radius-base 0; }\n.r-t { border-radius: @border-radius-base @border-radius-base 0 0; }\n.r-b { border-radius: 0 0 @border-radius-base @border-radius-base; }\n
\n

字体相关

.font-normal { font-weight: normal; }\n.font-thin { font-weight: 300; }\n.font-bold { font-weight: 700; }\n.text-3x { font-size: 3em; }\n.text-2x { font-size: 2em; }\n.text-lg { font-size: @font-size-lg; }\n.text-md { font-size: @font-size-md; }\n.text-base { font-size: @font-size-base; }\n.text-sm { font-size: @font-size-sm; }\n.text-xs { font-size: @font-size-xs; }\n.text-xxs { text-indent: -9999px }\n.text-ellipsis { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.text-u-c { text-transform: uppercase; }\n.text-l-t { text-decoration: line-through; }\n.text-u-l { text-decoration: underline; }\n
\n

定位

.pos-rlt { position: relative; }\n.pos-stc { position: static !important; }\n.pos-abt { position: absolute; }\n.pos-fix { position: fixed; }\n
\n

背景

\n
bg-white
\n
bg-dark
\n
bg-info
\n
bg-sucess
\n
bg-warning
\n
bg-danger
\n
bg-primary
\n
\n
<div class=\"hbox b-a bg-light\">\n    <div class=\"col wrapper-sm b-r bg-white\">bg-white</div>\n    <div class=\"col wrapper-sm b-r bg-dark\">bg-dark</div>\n    <div class=\"col wrapper-sm b-r bg-info\">bg-info</div>\n    <div class=\"col wrapper-sm b-r bg-success\">bg-sucess</div>\n    <div class=\"col wrapper-sm b-r bg-warning\">bg-warning</div>\n    <div class=\"col wrapper-sm b-r bg-danger\">bg-danger</div>\n    <div class=\"col wrapper-sm bg-primary\">bg-primary</div>\n</div>\n
\n

其他

.show { visibility: visible; }\n.line { *width: 100%; height: 2px; margin: 10px 0; font-size: 0; overflow: hidden; background-color: transparent; border-width: 0; border-top: 1px solid @border-color; }\n.line-xs { margin: 0 }\n.line-lg { margin-top: 15px; margin-bottom: 15px }\n.line-dashed { border-style: dashed; background: transparent; }\n.no-line { border-width: 0 }\n.no-border, .no-borders { border-color: transparent; border-width: 0 }\n.no-radius { border-radius: 0 }\n.block { display: block; }\n.block.hide { display: none; }\n.inline { display: inline-block !important; }\n.none { display: none; }\n.pull-none { float: none; }\n.rounded { border-radius: 500px; }\n.clear { display: block; overflow: hidden; }\n.no-bg { background-color: transparent; color: inherit; }\n.no-select { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }\n
\n\n\n
文档内容有误?欢迎大家一起来编写,文档地址:/docs/style.md
", - "toc": { - "label": "目录", - "type": "toc", - "children": [ - { - "label": "图标", - "fragment": "%E5%9B%BE%E6%A0%87", - "fullPath": "#%E5%9B%BE%E6%A0%87", - "level": 2 - }, - { - "label": "布局", - "fragment": "%E5%B8%83%E5%B1%80", - "fullPath": "#%E5%B8%83%E5%B1%80", - "level": 2 - }, - { - "label": "宽高", - "fragment": "%E5%AE%BD%E9%AB%98", - "fullPath": "#%E5%AE%BD%E9%AB%98", - "level": 2 - }, - { - "label": "外边距", - "fragment": "%E5%A4%96%E8%BE%B9%E8%B7%9D", - "fullPath": "#%E5%A4%96%E8%BE%B9%E8%B7%9D", - "level": 2 - }, - { - "label": "内边距", - "fragment": "%E5%86%85%E8%BE%B9%E8%B7%9D", - "fullPath": "#%E5%86%85%E8%BE%B9%E8%B7%9D", - "level": 2 - }, - { - "label": "边框", - "fragment": "%E8%BE%B9%E6%A1%86", - "fullPath": "#%E8%BE%B9%E6%A1%86", - "level": 2 - }, - { - "label": "圆角", - "fragment": "%E5%9C%86%E8%A7%92", - "fullPath": "#%E5%9C%86%E8%A7%92", - "level": 2 - }, - { - "label": "字体相关", - "fragment": "%E5%AD%97%E4%BD%93%E7%9B%B8%E5%85%B3", - "fullPath": "#%E5%AD%97%E4%BD%93%E7%9B%B8%E5%85%B3", - "level": 2 - }, - { - "label": "定位", - "fragment": "%E5%AE%9A%E4%BD%8D", - "fullPath": "#%E5%AE%9A%E4%BD%8D", - "level": 2 - }, - { - "label": "背景", - "fragment": "%E8%83%8C%E6%99%AF", - "fullPath": "#%E8%83%8C%E6%99%AF", - "level": 2 - }, - { - "label": "其他", - "fragment": "%E5%85%B6%E4%BB%96", - "fullPath": "#%E5%85%B6%E4%BB%96", - "level": 2 - } - ], - "level": 0 - } - }; - -}); diff --git a/gh-pages/form/combo.html b/gh-pages/form/combo.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/combo.html +++ b/gh-pages/form/combo.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/custom.html b/gh-pages/form/custom.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/custom.html +++ b/gh-pages/form/custom.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/definitions.html b/gh-pages/form/definitions.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/definitions.html +++ b/gh-pages/form/definitions.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/fields-tabs.html b/gh-pages/form/fields-tabs.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/fields-tabs.html +++ b/gh-pages/form/fields-tabs.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/fieldset.html b/gh-pages/form/fieldset.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/fieldset.html +++ b/gh-pages/form/fieldset.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/formula.html b/gh-pages/form/formula.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/formula.html +++ b/gh-pages/form/formula.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/full.html b/gh-pages/form/full.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/full.html +++ b/gh-pages/form/full.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/hint.html b/gh-pages/form/hint.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/hint.html +++ b/gh-pages/form/hint.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/ide.html b/gh-pages/form/ide.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/ide.html +++ b/gh-pages/form/ide.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/json-schema.html b/gh-pages/form/json-schema.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/json-schema.html +++ b/gh-pages/form/json-schema.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/mode.html b/gh-pages/form/mode.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/mode.html +++ b/gh-pages/form/mode.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/picker.html b/gh-pages/form/picker.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/picker.html +++ b/gh-pages/form/picker.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/reaction.html b/gh-pages/form/reaction.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/reaction.html +++ b/gh-pages/form/reaction.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/remote.html b/gh-pages/form/remote.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/remote.html +++ b/gh-pages/form/remote.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/rich-text.html b/gh-pages/form/rich-text.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/rich-text.html +++ b/gh-pages/form/rich-text.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/static.html b/gh-pages/form/static.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/static.html +++ b/gh-pages/form/static.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/sub-form.html b/gh-pages/form/sub-form.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/sub-form.html +++ b/gh-pages/form/sub-form.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/table.html b/gh-pages/form/table.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/table.html +++ b/gh-pages/form/table.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/tabs.html b/gh-pages/form/tabs.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/tabs.html +++ b/gh-pages/form/tabs.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/form/validation.html b/gh-pages/form/validation.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/form/validation.html +++ b/gh-pages/form/validation.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/horizontal.html b/gh-pages/horizontal.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/horizontal.html +++ b/gh-pages/horizontal.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/iframe.html b/gh-pages/iframe.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/iframe.html +++ b/gh-pages/iframe.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/index.html b/gh-pages/index.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/index.html +++ b/gh-pages/index.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/linkpage/crud.html b/gh-pages/linkpage/crud.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/linkpage/crud.html +++ b/gh-pages/linkpage/crud.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/linkpage/form.html b/gh-pages/linkpage/form.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/linkpage/form.html +++ b/gh-pages/linkpage/form.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/linkpage/form2.html b/gh-pages/linkpage/form2.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/linkpage/form2.html +++ b/gh-pages/linkpage/form2.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/linkpage/options-local.html b/gh-pages/linkpage/options-local.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/linkpage/options-local.html +++ b/gh-pages/linkpage/options-local.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/linkpage/options.html b/gh-pages/linkpage/options.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/linkpage/options.html +++ b/gh-pages/linkpage/options.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/linkpage/page.html b/gh-pages/linkpage/page.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/linkpage/page.html +++ b/gh-pages/linkpage/page.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/pages/error.html b/gh-pages/pages/error.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/pages/error.html +++ b/gh-pages/pages/error.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/pages/form.html b/gh-pages/pages/form.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/pages/form.html +++ b/gh-pages/pages/form.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/pages/simple.html b/gh-pages/pages/simple.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/pages/simple.html +++ b/gh-pages/pages/simple.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/pkg/examples/index.html_map_b826796.js b/gh-pages/pkg/examples/index.html_map_20faee2.js similarity index 99% rename from gh-pages/pkg/examples/index.html_map_b826796.js rename to gh-pages/pkg/examples/index.html_map_20faee2.js index f6ce2f17..6336ecdb 100644 --- a/gh-pages/pkg/examples/index.html_map_b826796.js +++ b/gh-pages/pkg/examples/index.html_map_20faee2.js @@ -4477,7 +4477,7 @@ require.resourceMap({ "type": "js" }, "docs/getting_started.md": { - "url": "https://bce.bdstatic.com/fex/amis-gh-pages/docs/getting_started_e3cb529.js", + "url": "https://bce.bdstatic.com/fex/amis-gh-pages/docs/getting_started_b4287a5.js", "type": "js" }, "docs/basic.md": { @@ -4857,7 +4857,7 @@ require.resourceMap({ "type": "js" }, "docs/style.md": { - "url": "https://bce.bdstatic.com/fex/amis-gh-pages/docs/style_a0d04b0.js", + "url": "https://bce.bdstatic.com/fex/amis-gh-pages/docs/style_67c1f50.js", "type": "js" } }, diff --git a/gh-pages/sdk.html b/gh-pages/sdk.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/sdk.html +++ b/gh-pages/sdk.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/services/data.html b/gh-pages/services/data.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/services/data.html +++ b/gh-pages/services/data.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/services/form.html b/gh-pages/services/form.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/services/form.html +++ b/gh-pages/services/form.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/services/schema.html b/gh-pages/services/schema.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/services/schema.html +++ b/gh-pages/services/schema.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/tabs/form.html b/gh-pages/tabs/form.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/tabs/form.html +++ b/gh-pages/tabs/form.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/tabs/normal.html b/gh-pages/tabs/normal.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/tabs/normal.html +++ b/gh-pages/tabs/normal.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/tabs/tab1.html b/gh-pages/tabs/tab1.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/tabs/tab1.html +++ b/gh-pages/tabs/tab1.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/tabs/tab2.html b/gh-pages/tabs/tab2.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/tabs/tab2.html +++ b/gh-pages/tabs/tab2.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/tabs/tab3.html b/gh-pages/tabs/tab3.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/tabs/tab3.html +++ b/gh-pages/tabs/tab3.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/task.html b/gh-pages/task.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/task.html +++ b/gh-pages/task.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/test.html b/gh-pages/test.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/test.html +++ b/gh-pages/test.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/video.html b/gh-pages/video.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/video.html +++ b/gh-pages/video.html @@ -25,7 +25,7 @@
- + diff --git a/gh-pages/wizard.html b/gh-pages/wizard.html index d5fc0780..edaaa9dd 100644 --- a/gh-pages/wizard.html +++ b/gh-pages/wizard.html @@ -25,7 +25,7 @@
- +