forked from p96170835/amis
更新 gh-pages
This commit is contained in:
parent
9a7a67a2e8
commit
a79f345833
62
audio.html
62
audio.html
|
@ -1,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
62
chart.html
62
chart.html
|
@ -1,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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,62 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>AMis Renderer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_ebc8609.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_3938ec9.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_de89256.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_de57f66.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_6ad7fdb.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_e51f111.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,39 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,33 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,27 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,33 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,33 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,20 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,33 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,39 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,33 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,33 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,33 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,33 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,45 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,39 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,39 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,33 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,33 @@
|
|||
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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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>
|
|
@ -0,0 +1,39 @@
|
|||
amis.define('docs/components/form/editor.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Editor 编辑器",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": null,
|
||||
"menuName": "Editor",
|
||||
"icon": null,
|
||||
"order": 19,
|
||||
"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\": \"editor\",\n \"name\": \"editor\",\n \"label\": \"编辑器\"\n }\n ]\n}\n</script></div>\n<h2><a class=\"anchor\" name=\"%E6%94%AF%E6%8C%81%E7%9A%84%E8%AF%AD%E8%A8%80\" href=\"#%E6%94%AF%E6%8C%81%E7%9A%84%E8%AF%AD%E8%A8%80\" 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>language</code>配置高亮的语言,支持的语言有:</p>\n<p><code>bat</code>、 <code>c</code>、 <code>coffeescript</code>、 <code>cpp</code>、 <code>csharp</code>、 <code>css</code>、 <code>dockerfile</code>、 <code>fsharp</code>、 <code>go</code>、 <code>handlebars</code>、 <code>html</code>、 <code>ini</code>、 <code>java</code>、 <code>javascript</code>、 <code>json</code>、 <code>less</code>、 <code>lua</code>、 <code>markdown</code>、 <code>msdax</code>、 <code>objective-c</code>、 <code>php</code>、 <code>plaintext</code>、 <code>postiats</code>、 <code>powershell</code>、 <code>pug</code>、 <code>python</code>、 <code>r</code>、 <code>razor</code>、 <code>ruby</code>、 <code>sb</code>、 <code>scss</code>、 <code>sol</code>、 <code>sql</code>、 <code>swift</code>、 <code>typescript</code>、 <code>vb</code>、 <code>xml</code>、 <code>yaml</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 \"controls\": [\n {\n \"type\": \"editor\",\n \"name\": \"editor\",\n \"label\": \"JSON编辑器\",\n \"language\": \"json\"\n }\n ]\n}\n</script></div>\n<p>当然你也可以使用<code>xxx-editor</code>这种形式,例如<code>"type": "json-editor"</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 \"controls\": [\n {\n \"type\": \"json-editor\",\n \"name\": \"editor\",\n \"label\": \"JSON编辑器\"\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>language</td>\n<td><code>string</code></td>\n<td><code>javascript</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": "%E6%94%AF%E6%8C%81%E7%9A%84%E8%AF%AD%E8%A8%80",
|
||||
"fullPath": "#%E6%94%AF%E6%8C%81%E7%9A%84%E8%AF%AD%E8%A8%80",
|
||||
"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
|
||||
}
|
||||
};
|
||||
|
||||
});
|
|
@ -0,0 +1,109 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_5dbc8b5.css" />
|
||||
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_a0692c3.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="cxd"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_ae1e6f7.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
title="dark"
|
||||
disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/dark_4ab4fa5.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_a0ccfd5.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_60551c6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/close_f877507.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/undo_e49cfd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/redo_fd4d729.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/enter_2f4ecd6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/volume_eb7b003.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/mute_bec02c7.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/play_e65dfdc.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pause_88232d0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/left-arrow_cdc2518.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow_7dfd151.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/check_ffc4744.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/plus_1fff691.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/minus_680789d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/pencil_f253e3f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/view_a74d833.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/remove_bd754a4.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/retry_dd12b2b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/upload_8d2a2ce.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/file_85a7b87.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/success_70b3df3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/fail_cc798be.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/search_57ae5a0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/back_a010c56.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/move_17f7902.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info_c744e37.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/location_4e65b4d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/drag-bar_c7cfeba.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/reload_bb52da6.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/exchange_69489aa.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/columns_a79ca1f.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/calendar_4feb052.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/copy_27500da.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/filter_9249661.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/caret_2c1e3e2.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/right-arrow-bold_3f86372.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/column-filter_6916c3b.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-in_f0f9c0e.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/zoom-out_76018f0.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/question_2603e42.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/window-restore_9213752.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/info-circle_637cf2a.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/warning_ca70db3.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/schedule_6264048.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/home_451b4ee.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/folder_ee06d7d.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-default_5d6d546.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-asc_4fdf533.js"></script>
|
||||
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/src/icons/sort-desc_ca5cbfd.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_d6dda30.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.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