1 Star 0 Fork 229

liucuifeng/ayq-layui-form-designer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 1.65 KB
一键复制 编辑 原始数据 按行查看 历史
<!DOCTYPE html>
<html lang="en" xmlns:th=http://www.thymeleaf.org>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=0,maximum-scale=0,user-scalable=yes,shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>表单设计器</title>
<link rel="stylesheet" href="./layui/css/layui.css" />
<link rel="stylesheet" href="./ayq/modules/cron.css" />
<link rel="stylesheet" href="./ayq/modules/labelGeneration.css" />
<link rel="stylesheet" href="./ayq/modules/formDesigner.css" />
</head>
<body class="layui-layout-body">
<!--<button type="button" id="test">aa</button>-->
<input type="hidden" th:value="${formId}" id="fromId">
<div style="height: 100%; width: 100%;" id="formdesigner">
</div>
<script type="text/javascript" src="./layui/layui.js"></script>
<script type="text/javascript" src="./ayq/js/config.js"></script>
<script type="text/javascript" src="./ayq/modules/Sortable/Sortable.js"> </script>
<!--htmlformat 为js-beautify代码-->
<script type="text/javascript" src="./ayq/js/htmlformat.js"></script>
<script type="text/javascript" src="./ayq/js/jsformat.js"></script>
<script type="text/javascript" src="./ayq/modules/iceEditor/iceEditor.js"></script>
<script>
layui.config(
{base: './ayq/modules/'}).use(['layer', 'formDesigner'], function () {
var formDesigner = layui.formDesigner;
var data = [];
var render = formDesigner.render({
data:data,
elem:'#formdesigner'
});
});
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/liucuifeng123/ayq-layui-form-designer.git
git@gitee.com:liucuifeng123/ayq-layui-form-designer.git
liucuifeng123
ayq-layui-form-designer
ayq-layui-form-designer
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385