forked from p96170835/amis
rm gh-pages
This commit is contained in:
parent
3efe1c8046
commit
6d73a36590
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,39 +0,0 @@
|
|||
amis.define('docs/components/alert.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Alert 提示",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "Alert 提示",
|
||||
"icon": null,
|
||||
"order": 27,
|
||||
"html": "<p>用来做文字特殊提示,分为四类:提示类、成功类、警告类和危险类。</p>\n<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8\" href=\"#%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本使用</h2><div class=\"amis-preview\" style=\"height: 500px\"><script type=\"text/schema\" height=\"500\" scope=\"body\">[\n {\n \"type\": \"alert\",\n \"body\": \"提示类提示\",\n \"level\": \"info\"\n },\n {\n \"type\": \"alert\",\n \"body\": \"成功类提示\",\n \"level\": \"success\"\n },\n {\n \"type\": \"alert\",\n \"body\": \"警告类提示\",\n \"level\": \"warning\"\n },\n {\n \"type\": \"alert\",\n \"body\": \"危险类提示\",\n \"level\": \"danger\"\n }\n]\n</script></div>\n<h2><a class=\"anchor\" name=\"%E6%98%BE%E7%A4%BA%E5%85%B3%E9%97%AD%E6%8C%89%E9%92%AE\" href=\"#%E6%98%BE%E7%A4%BA%E5%85%B3%E9%97%AD%E6%8C%89%E9%92%AE\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>显示关闭按钮</h2><p>配置<code>"showCloseButton": true</code>实现显示关闭按钮。</p>\n<div class=\"amis-preview\" style=\"height: 400px\"><script type=\"text/schema\" height=\"400\" scope=\"body\">[\n {\n \"type\": \"alert\",\n \"body\": \"默认提示\",\n \"level\": \"info\"\n },\n {\n \"type\": \"alert\",\n \"body\": \"显示关闭按钮的提示\",\n \"level\": \"info\",\n \"showCloseButton\": true\n }\n]\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td><code>string</code></td>\n<td><code>"alert"</code></td>\n<td>指定为 alert 渲染器</td>\n</tr>\n<tr>\n<td>className</td>\n<td><code>string</code></td>\n<td></td>\n<td>外层 Dom 的类名</td>\n</tr>\n<tr>\n<td>level</td>\n<td><code>string</code></td>\n<td><code>info</code></td>\n<td>级别,可以是:<code>info</code>、<code>success</code>、<code>warning</code> 或者 <code>danger</code></td>\n</tr>\n<tr>\n<td>body</td>\n<td><a href=\"../types/schemanode\">SchemaNode</a></td>\n<td></td>\n<td>显示内容</td>\n</tr>\n<tr>\n<td>showCloseButton</td>\n<td><code>boolean</code></td>\n<td>false</td>\n<td>是否显示关闭按钮</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本使用",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "显示关闭按钮",
|
||||
"fragment": "%E6%98%BE%E7%A4%BA%E5%85%B3%E9%97%AD%E6%8C%89%E9%92%AE",
|
||||
"fullPath": "#%E6%98%BE%E7%A4%BA%E5%85%B3%E9%97%AD%E6%8C%89%E9%92%AE",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||
amis.define('docs/components/audio.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Audio 音频",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "Audio 音频",
|
||||
"icon": null,
|
||||
"order": 28,
|
||||
"html": "<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8\" href=\"#%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本使用</h2><div class=\"amis-preview\" style=\"height: 300px\"><script type=\"text/schema\" height=\"300\" scope=\"body\">{\n \"type\": \"audio\",\n \"src\": \"https://amis.bj.bcebos.com/amis/2019-7/1562137295708/chicane-poppiholla-original-radio-edit%20(1).mp3\"\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td><code>string</code></td>\n<td><code>"audio"</code></td>\n<td>指定为 audio 渲染器</td>\n</tr>\n<tr>\n<td>className</td>\n<td><code>string</code></td>\n<td></td>\n<td>外层 Dom 的类名</td>\n</tr>\n<tr>\n<td>inline</td>\n<td><code>boolean</code></td>\n<td>true</td>\n<td>是否是内联模式</td>\n</tr>\n<tr>\n<td>src</td>\n<td><code>string</code></td>\n<td></td>\n<td>音频地址</td>\n</tr>\n<tr>\n<td>loop</td>\n<td><code>boolean</code></td>\n<td>false</td>\n<td>是否循环播放</td>\n</tr>\n<tr>\n<td>autoPlay</td>\n<td><code>boolean</code></td>\n<td>false</td>\n<td>是否自动播放</td>\n</tr>\n<tr>\n<td>rates</td>\n<td><code>array</code></td>\n<td><code>[]</code></td>\n<td>可配置音频播放倍速如:<code>[1.0, 1.5, 2.0]</code></td>\n</tr>\n<tr>\n<td>controls</td>\n<td><code>array</code></td>\n<td><code>['rates', 'play', 'time', 'process', 'volume']</code></td>\n<td>内部模块定制化</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本使用",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,39 +0,0 @@
|
|||
amis.define('docs/components/button-group.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "ButtonGroup 按钮组",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "ButtonGroup",
|
||||
"icon": null,
|
||||
"order": 30,
|
||||
"html": "<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 400px\"><script type=\"text/schema\" height=\"400\" scope=\"body\">{\n \"type\": \"button-group\",\n \"buttons\": [\n {\n \"type\": \"button\",\n \"label\": \"Button\",\n \"actionType\": \"dialog\",\n \"dialog\": {\n \"confirmMode\": false,\n \"title\": \"提示\",\n \"body\": \"对,你刚点击了!\"\n }\n },\n\n {\n \"type\": \"button\",\n \"actionType\": \"url\",\n \"url\": \"https://www.baidu.com\",\n \"blank\": true,\n \"label\": \"百度一下\"\n },\n\n {\n \"type\": \"button\",\n \"label\": \"普通按钮\"\n }\n ]\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%9E%82%E7%9B%B4%E6%A8%A1%E5%BC%8F\" href=\"#%E5%9E%82%E7%9B%B4%E6%A8%A1%E5%BC%8F\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>垂直模式</h2><p>配置<code>"vertical": true</code>,实现垂直模式</p>\n<div class=\"amis-preview\" style=\"height: 400px\"><script type=\"text/schema\" height=\"400\" scope=\"body\">[\n {\n \"type\": \"button-group\",\n \"vertical\": true,\n \"buttons\": [\n {\n \"type\": \"button\",\n \"label\": \"按钮1\"\n },\n {\n \"type\": \"button\",\n \"label\": \"按钮2\"\n },\n {\n \"type\": \"button\",\n \"label\": \"按钮3\"\n }\n ]\n }\n]\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td><code>string</code></td>\n<td><code>"button-group"</code></td>\n<td>指定为 button-group 渲染器</td>\n</tr>\n<tr>\n<td>className</td>\n<td><code>string</code></td>\n<td></td>\n<td>外层 Dom 的类名</td>\n</tr>\n<tr>\n<td>buttons</td>\n<td>Array<<a href=\"./action\">Action</a>></td>\n<td></td>\n<td>行为按钮组</td>\n</tr>\n<tr>\n<td>vertical</td>\n<td><code>string</code></td>\n<td></td>\n<td>是否使用垂直模式</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "垂直模式",
|
||||
"fragment": "%E5%9E%82%E7%9B%B4%E6%A8%A1%E5%BC%8F",
|
||||
"fullPath": "#%E5%9E%82%E7%9B%B4%E6%A8%A1%E5%BC%8F",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,27 +0,0 @@
|
|||
amis.define('docs/components/button.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Button 按钮",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "Button 按钮",
|
||||
"icon": null,
|
||||
"order": 29,
|
||||
"html": "<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 300px\"><script type=\"text/schema\" height=\"300\" scope=\"body\">{\n \"label\": \"弹个框\",\n \"type\": \"button\",\n \"actionType\": \"dialog\",\n \"dialog\": {\n \"title\": \"弹框\",\n \"body\": \"这是个简单的弹框。\"\n }\n}\n</script></div>\n<p><code>button</code> 实际上是 <code>action</code> 的别名,更多用法见<a href=\"./action\">action</a></p>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||
amis.define('docs/components/card.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Card 卡片",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "Card 卡片",
|
||||
"icon": null,
|
||||
"order": 31,
|
||||
"html": "<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 450px\"><script type=\"text/schema\" height=\"450\" scope=\"body\">{\n \"type\": \"card\",\n \"header\": {\n \"title\": \"标题\",\n \"subTitle\": \"副标题\",\n \"description\": \"这是一段描述\",\n \"avatarClassName\": \"pull-left thumb-md avatar b-3x m-r\",\n \"avatar\": \"raw:http://hiphotos.baidu.com/fex/%70%69%63/item/c9fcc3cec3fdfc03ccabb38edd3f8794a4c22630.jpg\"\n },\n \"body\": \"这里是内容\",\n \"actions\": [\n {\n \"type\": \"button\",\n \"label\": \"编辑\",\n \"actionType\": \"dialog\",\n \"dialog\": {\n \"title\": \"编辑\",\n \"body\": \"你正在编辑该卡片\"\n }\n },\n {\n \"type\": \"button\",\n \"label\": \"删除\",\n \"actionType\": \"dialog\",\n \"dialog\": {\n \"title\": \"提示\",\n \"body\": \"你删掉了该卡片\"\n }\n }\n ]\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td><code>string</code></td>\n<td><code>"card"</code></td>\n<td>指定为 Card 渲染器</td>\n</tr>\n<tr>\n<td>className</td>\n<td><code>string</code></td>\n<td><code>"panel-default"</code></td>\n<td>外层 Dom 的类名</td>\n</tr>\n<tr>\n<td>header</td>\n<td><code>Object</code></td>\n<td></td>\n<td>Card 头部内容设置</td>\n</tr>\n<tr>\n<td>header.className</td>\n<td><code>string</code></td>\n<td></td>\n<td>头部类名</td>\n</tr>\n<tr>\n<td>header.title</td>\n<td><a href=\"../concepts/template\">模板</a></td>\n<td></td>\n<td>标题</td>\n</tr>\n<tr>\n<td>header.subTitle</td>\n<td><a href=\"../concepts/template\">模板</a></td>\n<td></td>\n<td>副标题</td>\n</tr>\n<tr>\n<td>header.desc</td>\n<td><a href=\"../concepts/template\">模板</a></td>\n<td></td>\n<td>描述</td>\n</tr>\n<tr>\n<td>header.avatar</td>\n<td><a href=\"../concepts/template\">模板</a></td>\n<td></td>\n<td>图片</td>\n</tr>\n<tr>\n<td>header.avatarText</td>\n<td><a href=\"../concepts/template\">模板</a></td>\n<td></td>\n<td>如果不配置图片,则会在图片处显示该文本</td>\n</tr>\n<tr>\n<td>header.highlight</td>\n<td><code>boolean</code></td>\n<td></td>\n<td>是否显示激活样式</td>\n</tr>\n<tr>\n<td>header.avatarClassName</td>\n<td><code>string</code></td>\n<td><code>"pull-left thumb avatar b-3x m-r"</code></td>\n<td>图片类名</td>\n</tr>\n<tr>\n<td>body</td>\n<td><code>Array</code></td>\n<td></td>\n<td>内容容器,主要用来放置非表单项组件</td>\n</tr>\n<tr>\n<td>bodyClassName</td>\n<td><code>string</code></td>\n<td><code>"padder m-t-sm m-b-sm"</code></td>\n<td>内容区域类名</td>\n</tr>\n<tr>\n<td>actions</td>\n<td>Array<<a href=\"./action\">Action</a>></td>\n<td></td>\n<td>配置按钮集合</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||
amis.define('docs/components/collapse.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Collapse 折叠器",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "Collapse 折叠器",
|
||||
"icon": null,
|
||||
"order": 36,
|
||||
"html": "<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 550px\"><script type=\"text/schema\" height=\"550\" scope=\"body\">{\n \"type\": \"collapse\",\n \"title\": \"标题\",\n \"body\": \"这里是内容\"\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td><code>string</code></td>\n<td><code>"collapse"</code></td>\n<td>指定为 Collapse 渲染器</td>\n</tr>\n<tr>\n<td>title</td>\n<td><a href=\"../types/schemanode\">SchemaNode</a></td>\n<td></td>\n<td>标题</td>\n</tr>\n<tr>\n<td>body</td>\n<td><a href=\"../types/schemanode\">SchemaNode</a></td>\n<td></td>\n<td>内容</td>\n</tr>\n<tr>\n<td>className</td>\n<td><code>string</code></td>\n<td><code>bg-white wrapper</code></td>\n<td>CSS 类名</td>\n</tr>\n<tr>\n<td>headingClassName</td>\n<td><code>string</code></td>\n<td><code>font-thin b-b b-light text-lg p-b-xs</code></td>\n<td>标题 CSS 类名</td>\n</tr>\n<tr>\n<td>bodyClassName</td>\n<td><code>string</code></td>\n<td></td>\n<td>内容 CSS 类名。</td>\n</tr>\n<tr>\n<td>collapsed</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>默认是否要收起。</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
amis.define('docs/components/component.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "组件介绍",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "组件介绍",
|
||||
"icon": null,
|
||||
"order": 21,
|
||||
"html": "<p>从这个章节开始,我们将会介绍 amis 中内置的所有组件的使用方法</p>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||
amis.define('docs/components/container.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Container 容器",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "Container 容器",
|
||||
"icon": null,
|
||||
"order": 38,
|
||||
"html": "<p>Container 是一种容器组件,它可以渲染其他 amis 组件</p>\n<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 400px\"><script type=\"text/schema\" height=\"400\" scope=\"body\">{\n \"type\": \"container\",\n \"body\":\"这里是容器内容区\"\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td><code>string</code></td>\n<td><code>"alert"</code></td>\n<td>指定为 alert 渲染器</td>\n</tr>\n<tr>\n<td>className</td>\n<td><code>string</code></td>\n<td></td>\n<td>外层 Dom 的类名</td>\n</tr>\n<tr>\n<td>bodyClassName</td>\n<td><code>string</code></td>\n<td></td>\n<td>容器内容区的类名</td>\n</tr>\n<tr>\n<td>body</td>\n<td><a href=\"../types/schemanode\">SchemaNode</a></td>\n<td></td>\n<td>容器内容</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,39 +0,0 @@
|
|||
amis.define('docs/components/divider.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Divider 分割线",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "Divider 分割线",
|
||||
"icon": null,
|
||||
"order": 42,
|
||||
"html": "<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 400px\"><script type=\"text/schema\" height=\"400\" scope=\"body\">{\n \"type\": \"divider\"\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E4%B8%8D%E5%90%8C%E6%A0%B7%E5%BC%8F\" href=\"#%E4%B8%8D%E5%90%8C%E6%A0%B7%E5%BC%8F\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>不同样式</h2><div class=\"amis-preview\" style=\"height: 400px\"><script type=\"text/schema\" height=\"400\" scope=\"body\">[\n {\n \"type\": \"divider\"\n },\n {\n \"type\": \"divider\",\n \"lineStyle\": \"solid\"\n }\n]\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td><code>string</code></td>\n<td></td>\n<td><code>"dialog"</code> 指定为 Dialog 渲染器</td>\n</tr>\n<tr>\n<td>className</td>\n<td><code>string</code></td>\n<td></td>\n<td>外层 Dom 的类名</td>\n</tr>\n<tr>\n<td>lineStyle</td>\n<td><code>string</code></td>\n<td><code>"dashed"</code></td>\n<td>分割线的样式,支持<code>dashed</code>和<code>solid</code></td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "不同样式",
|
||||
"fragment": "%E4%B8%8D%E5%90%8C%E6%A0%B7%E5%BC%8F",
|
||||
"fullPath": "#%E4%B8%8D%E5%90%8C%E6%A0%B7%E5%BC%8F",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||
amis.define('docs/components/dropdown-button.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "DropDownButton",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "DropDownButton",
|
||||
"icon": null,
|
||||
"order": 44,
|
||||
"html": "<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 500px\"><script type=\"text/schema\" height=\"500\">{\n \"type\": \"page\",\n \"body\": {\n \"type\": \"dropdown-button\",\n \"label\": \"下拉菜单\",\n \"buttons\": [\n {\n \"type\": \"button\",\n \"label\": \"按钮1\"\n },\n {\n \"type\": \"button\",\n \"label\": \"按钮2\"\n },\n {\n \"type\": \"button\",\n \"label\": \"按钮3\"\n }\n ]\n }\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td><code>string</code></td>\n<td><code>dropdown-button</code></td>\n<td>类型</td>\n</tr>\n<tr>\n<td>label</td>\n<td><code>string</code></td>\n<td></td>\n<td>按钮文本</td>\n</tr>\n<tr>\n<td>className</td>\n<td><code>string</code></td>\n<td></td>\n<td>外层 CSS 类名</td>\n</tr>\n<tr>\n<td>block</td>\n<td><code>boolean</code></td>\n<td></td>\n<td>块状样式</td>\n</tr>\n<tr>\n<td>size</td>\n<td><code>string</code></td>\n<td></td>\n<td>尺寸,支持<code>'xs'</code>、<code>'sm'</code>、<code>'md'</code> 、<code>'lg'</code></td>\n</tr>\n<tr>\n<td>align</td>\n<td><code>string</code></td>\n<td></td>\n<td>位置,可选<code>'left'</code>或<code>'right'</code></td>\n</tr>\n<tr>\n<td>buttons</td>\n<td><code>Array<action></code></td>\n<td></td>\n<td>配置下拉按钮</td>\n</tr>\n<tr>\n<td>caretIcon</td>\n<td><code>string</code></td>\n<td></td>\n<td>caretIcon</td>\n</tr>\n<tr>\n<td>iconOnly</td>\n<td><code>boolean</code></td>\n<td></td>\n<td>只显示icon</td>\n</tr>\n<tr>\n<td>defaultIsOpened</td>\n<td><code>boolean</code></td>\n<td></td>\n<td>默认是否打开</td>\n</tr>\n<tr>\n<td>closeOnOutside</td>\n<td><code>boolean</code></td>\n<td></td>\n<td>点击外侧区域是否收起</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||
amis.define('docs/components/each.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Each 循环渲染器",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "Each 循环渲染器",
|
||||
"icon": null,
|
||||
"order": 45,
|
||||
"html": "<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 360px\"><script type=\"text/schema\" height=\"360\" scope=\"body\">{\n \"type\": \"each\",\n \"value\": [\"A\", \"B\", \"C\"],\n \"items\": {\n \"type\": \"tpl\",\n \"tpl\": \"<span class='label label-default'><%= data.item %></span> \"\n }\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td><code>string</code></td>\n<td><code>"each"</code></td>\n<td>指定为 Each 组件</td>\n</tr>\n<tr>\n<td>value</td>\n<td><code>array</code></td>\n<td><code>[]</code></td>\n<td>用于循环的值</td>\n</tr>\n<tr>\n<td>name</td>\n<td><code>string</code></td>\n<td></td>\n<td>获取数据域中变量,支持 <a href=\"../concepts/data-mapping\">数据映射</a></td>\n</tr>\n<tr>\n<td>items</td>\n<td><code>object</code></td>\n<td></td>\n<td>使用<code>value</code>中的数据,循环输出渲染器。</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||
amis.define('docs/components/form/array.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Array 数组输入框",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": null,
|
||||
"menuName": "Array 数组输入框",
|
||||
"icon": null,
|
||||
"order": 3,
|
||||
"html": "<p><a href=\"./formitem\">普通表单项</a>,其实就是 <a href=\"./combo\">Combo</a> 的一个 flat 用法。</p>\n<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 400px\"><script type=\"text/schema\" height=\"400\" scope=\"form\">[\n {\n \"name\": \"array\",\n \"label\": \"颜色集合\",\n \"type\": \"array\",\n \"value\": [\"red\"],\n \"inline\": true,\n \"items\": {\n \"type\": \"color\"\n }\n }\n]\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><p>除了支持 <a href=\"./formitem#%E5%B1%9E%E6%80%A7%E8%A1%A8\">普通表单项属性表</a> 中的配置以外,还支持下面一些配置</p>\n<table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td><code>string</code></td>\n<td><code>"array"</code></td>\n<td>指明为<code>array</code>组件</td>\n</tr>\n<tr>\n<td>items</td>\n<td><code>string</code>或 <a href=\"../../types/api\">API</a></td>\n<td></td>\n<td>配置单项表单类型</td>\n</tr>\n<tr>\n<td>addable</td>\n<td><code>boolean</code></td>\n<td></td>\n<td>是否可新增。</td>\n</tr>\n<tr>\n<td>removable</td>\n<td><code>boolean</code></td>\n<td></td>\n<td>是否可删除</td>\n</tr>\n<tr>\n<td>draggable</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>是否可以拖动排序, 需要注意的是当启用拖动排序的时候,会多一个\\$id 字段</td>\n</tr>\n<tr>\n<td>draggableTip</td>\n<td><code>string</code></td>\n<td></td>\n<td>可拖拽的提示文字,默认为:<code>"可通过拖动每行中的【交换】按钮进行顺序调整"</code></td>\n</tr>\n<tr>\n<td>addButtonText</td>\n<td><code>string</code></td>\n<td><code>"新增"</code></td>\n<td>新增按钮文字</td>\n</tr>\n<tr>\n<td>minLength</td>\n<td><code>number</code></td>\n<td></td>\n<td>限制最小长度</td>\n</tr>\n<tr>\n<td>maxLength</td>\n<td><code>number</code></td>\n<td></td>\n<td>限制最大长度</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||
amis.define('docs/components/form/button-toolbar.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Button-Toolbar 按钮工具栏",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": null,
|
||||
"menuName": "Button-Toolbar",
|
||||
"icon": null,
|
||||
"order": 5,
|
||||
"html": "<p>默认按钮独立配置的时候,是独占一行的,如果想让多个按钮在一起放置,可以使用 <code>button-toolbar</code> 组件</p>\n<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8\" href=\"#%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本使用</h2><div class=\"amis-preview\" style=\"height: 600px\"><script type=\"text/schema\" height=\"600\" scope=\"body\">{\n \"type\": \"form\",\n \"controls\": [\n {\n \"type\": \"text\",\n \"name\": \"test\",\n \"label\": \"Text\"\n },\n\n {\n \"type\": \"button-toolbar\",\n \"label\": \"按钮组\",\n \"buttons\": [\n {\n \"type\": \"button\",\n \"label\": \"按钮\",\n \"actionType\": \"dialog\",\n \"dialog\": {\n \"title\": \"提示\",\n \"body\": \"对,你刚点击了!\"\n }\n },\n\n {\n \"type\": \"submit\",\n \"label\": \"提交\"\n },\n\n {\n \"type\": \"reset\",\n \"label\": \"重置\"\n }\n ]\n }\n ]\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td><code>string</code></td>\n<td><code>"button-toolbar"</code></td>\n<td>指定为 ButtonToolbar 组件</td>\n</tr>\n<tr>\n<td>buttons</td>\n<td>Array<<a href=\"./action\">行为按钮</a>></td>\n<td></td>\n<td>按钮组</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本使用",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,45 +0,0 @@
|
|||
amis.define('docs/components/form/button.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Button 按钮",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": null,
|
||||
"menuName": "Button",
|
||||
"icon": null,
|
||||
"order": 4,
|
||||
"html": "<p><code>form</code>中除了支持 <a href=\"./action\">行为按钮</a>以外,还支持一些特定的按钮。</p>\n<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 550px\"><script type=\"text/schema\" height=\"550\" scope=\"body\">{\n \"type\": \"form\",\n \"api\": \"https://houtai.baidu.com/api/mock2/form/saveForm\",\n \"controls\": [\n {\n \"type\": \"text\",\n \"name\": \"name\",\n \"label\": \"姓名:\"\n },\n {\n \"type\": \"action\",\n \"actionType\": \"dialog\",\n \"label\": \"按钮\",\n \"dialog\": {\n \"title\": \"弹框标题\",\n \"body\": \"这是一个弹框\"\n }\n }\n ]\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E6%8F%90%E4%BA%A4%E8%A1%A8%E5%8D%95\" href=\"#%E6%8F%90%E4%BA%A4%E8%A1%A8%E5%8D%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>提交表单</h2><p>请配置<code>"actionType": "submit"</code>或<code>"type": "submit"</code>按钮,可以触发表单提交行为,</p>\n<div class=\"amis-preview\" style=\"height: 550px\"><script type=\"text/schema\" height=\"550\" scope=\"body\">{\n \"type\": \"form\",\n \"api\": \"https://houtai.baidu.com/api/mock2/form/saveForm\",\n \"controls\": [\n {\n \"type\": \"text\",\n \"name\": \"name\",\n \"label\": \"姓名:\"\n },\n {\n \"type\": \"submit\",\n \"label\": \"提交\"\n }\n ]\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E9%87%8D%E7%BD%AE%E8%A1%A8%E5%8D%95\" href=\"#%E9%87%8D%E7%BD%AE%E8%A1%A8%E5%8D%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>重置表单</h2><p>请配置<code>"actionType": "reset"</code>或<code>"type": "reset"</code>按钮,可以触发表单提交行为。</p>\n<div class=\"amis-preview\" style=\"height: 550px\"><script type=\"text/schema\" height=\"550\" scope=\"body\">{\n \"type\": \"form\",\n \"api\": \"https://houtai.baidu.com/api/mock2/form/saveForm\",\n \"controls\": [\n {\n \"type\": \"text\",\n \"name\": \"name\",\n \"label\": \"姓名:\"\n },\n {\n \"type\": \"reset\",\n \"label\": \"重置\"\n }\n ]\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><p>见 <a href=\"../action\">Action 行为按钮</a></p>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "提交表单",
|
||||
"fragment": "%E6%8F%90%E4%BA%A4%E8%A1%A8%E5%8D%95",
|
||||
"fullPath": "#%E6%8F%90%E4%BA%A4%E8%A1%A8%E5%8D%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "重置表单",
|
||||
"fragment": "%E9%87%8D%E7%BD%AE%E8%A1%A8%E5%8D%95",
|
||||
"fullPath": "#%E9%87%8D%E7%BD%AE%E8%A1%A8%E5%8D%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,39 +0,0 @@
|
|||
amis.define('docs/components/form/checkbox.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Checkbox 勾选框",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": null,
|
||||
"menuName": "Checkbox",
|
||||
"icon": null,
|
||||
"order": 8,
|
||||
"html": "<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 500px\"><script type=\"text/schema\" height=\"500\" scope=\"body\">{\n \"type\": \"form\",\n \"controls\": [\n {\n \"name\": \"checkbox\",\n \"type\": \"checkbox\",\n \"label\": \"勾选框\",\n \"option\": \"选项说明\"\n }\n ]\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E9%85%8D%E7%BD%AE%E7%9C%9F%E5%81%87%E5%80%BC\" href=\"#%E9%85%8D%E7%BD%AE%E7%9C%9F%E5%81%87%E5%80%BC\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>配置真假值</h2><p>默认情况:</p>\n<ul>\n<li>勾选框勾选时,表单项值为:true</li>\n<li>勾选框取消勾选时,表单项值为:false</li>\n</ul>\n<div class=\"amis-preview\" style=\"height: 500px\"><script type=\"text/schema\" height=\"500\" scope=\"body\">{\n \"type\": \"form\",\n \"debug\": true,\n \"controls\": [\n {\n \"name\": \"checkbox\",\n \"type\": \"checkbox\",\n \"label\": \"勾选框\"\n }\n ]\n}\n</script></div>\n<p>如果你想调整这个值,可以配置<code>trueValue</code>和<code>falseValue</code></p>\n<div class=\"amis-preview\" style=\"height: 500px\"><script type=\"text/schema\" height=\"500\" scope=\"body\">{\n \"type\": \"form\",\n \"debug\": true,\n \"controls\": [\n {\n \"name\": \"checkbox\",\n \"type\": \"checkbox\",\n \"label\": \"勾选框\",\n \"trueValue\": 1,\n \"falseValue\": 0\n }\n ]\n}\n</script></div>\n<p>勾选上例中的勾选框,观察数据域变化,会发现勾选后值为<code>1</code>,而取消勾选后为<code>0</code></p>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><p>除了支持 <a href=\"./formitem#%E5%B1%9E%E6%80%A7%E8%A1%A8\">普通表单项属性表</a> 中的配置以外,还支持下面一些配置</p>\n<table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明 ## 二级标题</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>option</td>\n<td><code>string</code></td>\n<td></td>\n<td>选项说明</td>\n</tr>\n<tr>\n<td>trueValue</td>\n<td><code>any</code></td>\n<td><code>true</code></td>\n<td>标识真值</td>\n</tr>\n<tr>\n<td>falseValue</td>\n<td><code>any</code></td>\n<td><code>"false"</code></td>\n<td>标识假值</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "配置真假值",
|
||||
"fragment": "%E9%85%8D%E7%BD%AE%E7%9C%9F%E5%81%87%E5%80%BC",
|
||||
"fullPath": "#%E9%85%8D%E7%BD%AE%E7%9C%9F%E5%81%87%E5%80%BC",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,39 +0,0 @@
|
|||
amis.define('docs/components/form/color.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Color 颜色选择器",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": null,
|
||||
"menuName": "Color",
|
||||
"icon": null,
|
||||
"order": 11,
|
||||
"html": "<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 600px\"><script type=\"text/schema\" height=\"600\" scope=\"body\">{\n \"type\": \"form\",\n \"api\": \"https://houtai.baidu.com/api/mock2/form/saveForm\",\n \"controls\": [\n {\n \"type\": \"color\",\n \"name\": \"color\",\n \"label\": \"颜色\"\n }\n ]\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E9%80%89%E6%8B%A9%E5%99%A8%E9%A2%84%E8%AE%BE%E9%A2%9C%E8%89%B2%E5%80%BC\" href=\"#%E9%80%89%E6%8B%A9%E5%99%A8%E9%A2%84%E8%AE%BE%E9%A2%9C%E8%89%B2%E5%80%BC\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>选择器预设颜色值</h2><p>颜色选择器底部预设有会写可选的颜色值,默认为:<code>['#D0021B', '#F5A623', '#F8E71C', '#8B572A', '#7ED321', '#417505', '#BD10E0', '#9013FE', '#4A90E2', '#50E3C2', '#B8E986', '#000000', '#4A4A4A', '#9B9B9B', '#FFFFFF']</code></p>\n<p>你可以配置<code>presetColors</code>数组进行自定义。</p>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><p>当做选择器表单项使用时,除了支持 <a href=\"./formitem#%E5%B1%9E%E6%80%A7%E8%A1%A8\">普通表单项属性表</a> 中的配置以外,还支持下面一些配置</p>\n<table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>format</td>\n<td><code>string</code></td>\n<td><code>hex</code></td>\n<td>请选择 <code>hex</code>、<code>hls</code>、<code>rgb</code>或者<code>rgba</code>。</td>\n</tr>\n<tr>\n<td>presetColors</td>\n<td><code>Array<string></code></td>\n<td><a href=\"./color#%E9%80%89%E6%8B%A9%E5%99%A8%E9%A2%84%E8%AE%BE%E9%A2%9C%E8%89%B2%E5%80%BC\">见选择器预设颜色值</a></td>\n<td>选择器底部的默认颜色,数组内为空则不显示默认颜色</td>\n</tr>\n<tr>\n<td>allowCustomColor</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n<td>为<code>false</code>时只能选择颜色,使用 <code>presetColors</code> 设定颜色选择范围</td>\n</tr>\n<tr>\n<td>clearable</td>\n<td><code>boolean</code></td>\n<td><code>"label"</code></td>\n<td>是否显示清除按钮</td>\n</tr>\n<tr>\n<td>resetValue</td>\n<td><code>string</code></td>\n<td><code>""</code></td>\n<td>清除后,表单项值调整成该值</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "选择器预设颜色值",
|
||||
"fragment": "%E9%80%89%E6%8B%A9%E5%99%A8%E9%A2%84%E8%AE%BE%E9%A2%9C%E8%89%B2%E5%80%BC",
|
||||
"fullPath": "#%E9%80%89%E6%8B%A9%E5%99%A8%E9%A2%84%E8%AE%BE%E9%A2%9C%E8%89%B2%E5%80%BC",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||
amis.define('docs/components/form/date-range.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Date-Range 日期范围",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": null,
|
||||
"menuName": "Date-Range",
|
||||
"icon": null,
|
||||
"order": 15,
|
||||
"html": "<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 700px\"><script type=\"text/schema\" height=\"700\" scope=\"body\">{\n \"type\": \"form\",\n \"api\": \"https://houtai.baidu.com/api/mock2/form/saveForm\",\n \"controls\": [\n {\n \"type\": \"date-range\",\n \"name\": \"select\",\n \"label\": \"日期范围\"\n }\n ]\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><p>除了支持 <a href=\"./formitem#%E5%B1%9E%E6%80%A7%E8%A1%A8\">普通表单项属性表</a> 中的配置以外,还支持下面一些配置</p>\n<table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>format</td>\n<td><code>string</code></td>\n<td><code>X</code></td>\n<td><a href=\"./date#%E5%80%BC%E6%A0%BC%E5%BC%8F\">日期选择器值格式</a></td>\n</tr>\n<tr>\n<td>inputFormat</td>\n<td><code>string</code></td>\n<td><code>YYYY-DD-MM</code></td>\n<td><a href=\"./date#%E6%98%BE%E7%A4%BA%E6%A0%BC%E5%BC%8F\">日期选择器显示格式</a></td>\n</tr>\n<tr>\n<td>placeholder</td>\n<td><code>string</code></td>\n<td><code>"请选择日期范围"</code></td>\n<td>占位文本</td>\n</tr>\n<tr>\n<td>shortcuts</td>\n<td><code>string</code></td>\n<td></td>\n<td><a href=\"./date#%E5%BF%AB%E6%8D%B7%E9%94%AE\">日期快捷键</a></td>\n</tr>\n<tr>\n<td>minDate</td>\n<td><code>string</code></td>\n<td></td>\n<td>限制最小日期,用法同 <a href=\"./date#%E9%99%90%E5%88%B6%E8%8C%83%E5%9B%B4\">限制范围</a></td>\n</tr>\n<tr>\n<td>maxDate</td>\n<td><code>string</code></td>\n<td></td>\n<td>限制最大日期,用法同 <a href=\"./date#%E9%99%90%E5%88%B6%E8%8C%83%E5%9B%B4\">限制范围</a></td>\n</tr>\n<tr>\n<td>utc</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td><a href=\"./date#utc\">保存UTC值</a></td>\n</tr>\n<tr>\n<td>clearable</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n<td>是否可清除</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||
amis.define('docs/components/form/datetime-range.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Datetime-Range 日期时间范围",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": null,
|
||||
"menuName": "Datetime-Range",
|
||||
"icon": null,
|
||||
"order": 16,
|
||||
"html": "<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 700px\"><script type=\"text/schema\" height=\"700\" scope=\"body\">{\n \"type\": \"form\",\n \"api\": \"https://houtai.baidu.com/api/mock2/form/saveForm\",\n \"controls\": [\n {\n \"type\": \"datetime-range\",\n \"name\": \"select\",\n \"label\": \"日期时间范围\"\n }\n ]\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><p>除了支持 <a href=\"./formitem#%E5%B1%9E%E6%80%A7%E8%A1%A8\">普通表单项属性表</a> 中的配置以外,还支持下面一些配置</p>\n<table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>format</td>\n<td><code>string</code></td>\n<td><code>X</code></td>\n<td><a href=\"./datetime#%E5%80%BC%E6%A0%BC%E5%BC%8F\">日期时间选择器值格式</a></td>\n</tr>\n<tr>\n<td>inputFormat</td>\n<td><code>string</code></td>\n<td><code>YYYY-DD-MM</code></td>\n<td><a href=\"./datetime#%E6%98%BE%E7%A4%BA%E6%A0%BC%E5%BC%8F\">日期时间选择器显示格式</a></td>\n</tr>\n<tr>\n<td>placeholder</td>\n<td><code>string</code></td>\n<td><code>"请选择日期范围"</code></td>\n<td>占位文本</td>\n</tr>\n<tr>\n<td>shortcuts</td>\n<td><code>string</code></td>\n<td></td>\n<td><a href=\"./datetime#%E5%BF%AB%E6%8D%B7%E9%94%AE\">日期时间快捷键</a></td>\n</tr>\n<tr>\n<td>minDate</td>\n<td><code>string</code></td>\n<td></td>\n<td>限制最小日期时间,用法同 <a href=\"./datetime#%E9%99%90%E5%88%B6%E8%8C%83%E5%9B%B4\">限制范围</a></td>\n</tr>\n<tr>\n<td>maxDate</td>\n<td><code>string</code></td>\n<td></td>\n<td>限制最大日期时间,用法同 <a href=\"./datetime#%E9%99%90%E5%88%B6%E8%8C%83%E5%9B%B4\">限制范围</a></td>\n</tr>\n<tr>\n<td>utc</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td><a href=\"./datetime#utc\">保存UTC值</a></td>\n</tr>\n<tr>\n<td>clearable</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n<td>是否可清除</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,41 +0,0 @@
|
|||
amis.define('docs/components/form/hbox.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "HBox",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": null,
|
||||
"menuName": "HBox",
|
||||
"icon": null,
|
||||
"order": 25,
|
||||
"html": "<p>表单内部也可以使用 HBox 布局,实现左右排列。更推荐 <a href=\"./group\">Group</a></p>\n<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 650px\"><script type=\"text/schema\" height=\"650\" scope=\"body\">{\n \"type\": \"form\",\n \"controls\": [\n {\n \"type\": \"hbox\",\n \"columns\": [\n {\n \"controls\": [\n {\n \"name\": \"text\",\n \"type\": \"text\",\n \"label\": false,\n \"placeholder\": \"Text\"\n }\n ]\n },\n\n {\n \"type\": \"tpl\",\n \"tpl\": \"其他组件\"\n }\n ]\n }\n ]\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>columns</td>\n<td>Array<<a href=\"columns\">Column</a>></td>\n<td></td>\n<td>列内容。每个 column 为一个独立的渲染器。</td>\n</tr>\n</tbody>\n</table>\n<h3><a class=\"anchor\" name=\"column-%E5%B1%9E%E6%80%A7\" href=\"#column-%E5%B1%9E%E6%80%A7\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Column 属性</h3><p>除了 <a href=\"../../types/schemanode\">SchemaNode</a> 支持属性以外,还支持以下几种属性</p>\n<table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>columnClassName</td>\n<td><code>string</code></td>\n<td></td>\n<td>配置列的 CSS 类名</td>\n</tr>\n<tr>\n<td>controls</td>\n<td>Array<<a href=\"./formitem\">表单项</a>></td>\n<td></td>\n<td>表单项数组,如果配置了表单集合,同时没有指定 type 类型,则优先展示表单集合。</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2,
|
||||
"children": [
|
||||
{
|
||||
"label": "Column 属性",
|
||||
"fragment": "column-%E5%B1%9E%E6%80%A7",
|
||||
"fullPath": "#column-%E5%B1%9E%E6%80%A7",
|
||||
"level": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,27 +0,0 @@
|
|||
amis.define('docs/components/form/hidden.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Hidden 隐藏字段",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": null,
|
||||
"menuName": "Hidden 隐藏字段",
|
||||
"icon": null,
|
||||
"order": 26,
|
||||
"html": "<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><p>默认表单提交,在没有 <a href=\"../../types/api#%E9%85%8D%E7%BD%AE%E8%AF%B7%E6%B1%82%E6%95%B0%E6%8D%AE\">自定义 API 请求数据</a> 的情况下,只会发送 <code>controls</code> 里面的这些成员,对于隐藏的字段同时又希望提交表单的时候带过去,可以使用 <code>hidden</code> 组件</p>\n<div class=\"amis-preview\" style=\"height: 600px\"><script type=\"text/schema\" height=\"600\" scope=\"body\">{\n \"type\": \"form\",\n \"api\": \"https://houtai.baidu.com/api/mock2/form/saveForm\",\n \"debug\": true,\n \"controls\": [\n {\n \"type\": \"hidden\",\n \"name\": \"id\",\n \"value\": 1\n },\n {\n \"type\": \"text\",\n \"name\": \"name\",\n \"label\": \"姓名:\"\n },\n {\n \"name\": \"email\",\n \"type\": \"email\",\n \"label\": \"邮箱:\"\n }\n ]\n}\n</script></div>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,39 +0,0 @@
|
|||
amis.define('docs/components/form/input-group.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Input-Group 输入框组合",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": null,
|
||||
"menuName": "Input-Group",
|
||||
"icon": null,
|
||||
"order": 28,
|
||||
"html": "<p><strong>输入框组合选择器</strong> 可用于输入框与其他组件进行组合。</p>\n<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><div class=\"amis-preview\" style=\"height: 530px\"><script type=\"text/schema\" height=\"530\" scope=\"body\">{\n \"type\": \"form\",\n \"api\": \"https://houtai.baidu.com/api/mock2/form/saveForm\",\n \"controls\": [\n {\n \"type\": \"input-group\",\n \"name\": \"input-group\",\n \"label\": \"input 组合\",\n \"controls\": [\n {\n \"type\": \"text\",\n \"placeholder\": \"搜索作业ID/名称\",\n \"inputClassName\": \"b-r-none p-r-none\",\n \"name\": \"input-group\"\n },\n {\n \"type\": \"submit\",\n \"label\": \"搜索\",\n \"level\": \"primary\"\n }\n ]\n },\n {\n \"type\": \"input-group\",\n \"label\": \"各种组合\",\n \"controls\": [\n {\n \"type\": \"select\",\n \"name\": \"memoryUnits\",\n \"options\": [\n {\n \"label\": \"Gi\",\n \"value\": \"Gi\"\n },\n {\n \"label\": \"Mi\",\n \"value\": \"Mi\"\n },\n {\n \"label\": \"Ki\",\n \"value\": \"Ki\"\n }\n ],\n \"value\": \"Gi\"\n },\n {\n \"type\": \"text\",\n \"name\": \"memory\"\n },\n {\n \"type\": \"select\",\n \"name\": \"memoryUnits2\",\n \"options\": [\n {\n \"label\": \"Gi\",\n \"value\": \"Gi\"\n },\n {\n \"label\": \"Mi\",\n \"value\": \"Mi\"\n },\n {\n \"label\": \"Ki\",\n \"value\": \"Ki\"\n }\n ],\n \"value\": \"Gi\"\n },\n {\n \"type\": \"button\",\n \"label\": \"Go\"\n }\n ]\n }\n ]\n}\n\n</script></div>\n<h2><a class=\"anchor\" name=\"%E6%A0%A1%E9%AA%8C\" href=\"#%E6%A0%A1%E9%AA%8C\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>校验</h2><p>input-group 配置校验方法较为特殊,需要配置下面步骤:</p>\n<ol>\n<li>input-group 上配置任意<code>name</code>值</li>\n<li>input-group 的 controls 内配置的表单项上配置校验规则</li>\n</ol>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>className</td>\n<td><code>string</code></td>\n<td></td>\n<td>CSS 类名</td>\n</tr>\n<tr>\n<td>controls</td>\n<td>Array<<a href=\"./formitem\">表单项</a>></td>\n<td></td>\n<td>表单项集合</td>\n</tr>\n</tbody>\n</table>\n",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "校验",
|
||||
"fragment": "%E6%A0%A1%E9%AA%8C",
|
||||
"fullPath": "#%E6%A0%A1%E9%AA%8C",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
|
@ -1,60 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="https://bce.bdstatic.com/fex/amis-gh-pages/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link
|
||||
rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_bc56774.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_3f3f073.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_3c1f93b.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_c21c540.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_a4ed175.css" />
|
||||
<style>
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_a99ecf2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_7075bb2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_3c2a7d5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_5b6e508.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_3368c0d.js"></script>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue