1 Star 0 Fork 229

成都惟科软件有限公司/ayq-layui-form-designer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
handwrittenSignature.html 1.23 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=1,minimum-scale=1,maximum-scale=1,user-scalable=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/HandwrittenSignature.css"/>
</head>
<body class="layui-layout-body">
<div id="formdesigner">
</div>
<script type="text/javascript" src="./layui/layui.js"></script>
<script>
var render;
layui.config(
{
base: './ayq/modules/',
version: true
}).use(['layer', 'HandwrittenSignature'], function () {
var handwrittenSignature = layui.HandwrittenSignature;
var $ = layui.jquery;
render = handwrittenSignature.render({
elem: '#formdesigner'
, defaultColor: "rgba(0, 0, 0, 1)"
, label: "用户亲笔签名"
, signLineWidth: 3
, isGenerateImg: true
});
});
function getCanvasData() { //获取选中数据
return render.getCanvasData();
}
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/wikesoft/ayq-layui-form-designer.git
[email protected]:wikesoft/ayq-layui-form-designer.git
wikesoft
ayq-layui-form-designer
ayq-layui-form-designer
master

搜索帮助