2019-04-30 11:11:25 +08:00
|
|
|
<!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="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="highlight.js/styles/github.css">
|
|
|
|
<!--DEPENDENCIES_INJECT_PLACEHOLDER-->
|
|
|
|
<link rel="stylesheet" title="default" href="../scss/themes/default.scss">
|
|
|
|
<link rel="stylesheet" title="cxd" disabled href="../scss/themes/cxd.scss">
|
|
|
|
<link rel="stylesheet" href="./doc.css">
|
|
|
|
<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 type="text/javascript">
|
2019-05-20 12:03:25 +08:00
|
|
|
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);
|
|
|
|
})();
|
|
|
|
|
2019-04-30 11:11:25 +08:00
|
|
|
/* @require ./index.jsx 标记为同步依赖,提前加载 */
|
|
|
|
require(['./index.jsx'], function (app) {
|
|
|
|
var initialState = {};
|
|
|
|
app.bootstrap(document.getElementById('root'), initialState);
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|