mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
33686a375e
* 使用自定义 css 属性初步,支持大部分组件的展现 * button 大部分可以看了 * cxd 和 dark 大部分正常 * 修复一些细节样式错误;补充 css 变量的文档 * 修复几个脚本发现的错误 * 完善一下注释 * 修复一些样式不一致问题 * 修复可能存在的 css xss * 恢复 font-variant 功能 * 修复绝大部分 @if 相关的问题 * 恢复之前的注释 * 修复小错误,并将所有 background-color 改成 background,这样就能设置渐变色 * 修复 button group 在 cxd 下不一致问题 * 缩小查看配置和复制配置的宽度,留出更多空间 * 修复一些潜在的错误 * 恢复 utilities 中 label 背景色的设置 * 修复错误的 css 变量 * 补充 IE11 Variables Polyfill
68 lines
2.1 KiB
HTML
68 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>amis - 低代码前端框架</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link type="image/x-icon" rel="shortcut icon" href="./static/favicon.png" />
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1, maximum-scale=1"
|
|
/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
|
<link rel="stylesheet" href="./static/iconfont.css" />
|
|
<link rel="stylesheet" href="font-awesome/css/font-awesome.css" />
|
|
<link rel="stylesheet" href="bootstrap/dist/css/bootstrap.css" />
|
|
<link rel="stylesheet" href="animate.css/animate.css" />
|
|
<link rel="stylesheet" href="prismjs/themes/prism.css" />
|
|
<!--DEPENDENCIES_INJECT_PLACEHOLDER-->
|
|
<link rel="stylesheet" href="./doc.css" />
|
|
<link rel="stylesheet" title="default" href="../scss/themes/default.scss" />
|
|
<link
|
|
rel="stylesheet"
|
|
title="cxd"
|
|
disabled
|
|
href="../scss/themes/cxd.scss"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
title="dark"
|
|
disabled
|
|
href="../scss/themes/dark.scss"
|
|
/>
|
|
|
|
<link rel="stylesheet" href="../scss/helper.scss" />
|
|
<link rel="stylesheet" href="./style.scss" />
|
|
<style>
|
|
.app-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="root" class="app-wrapper"></div>
|
|
<script src="./mod.js"></script>
|
|
<script src="./static/ie11CustomProperties.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 ./index.jsx 标记为同步依赖,提前加载 */
|
|
amis.require(['./index.jsx'], function (app) {
|
|
var initialState = {};
|
|
app.bootstrap(document.getElementById('root'), initialState);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|