PHP+JS实现PC端+移动端PDF手写签名合并
1年前
阅读 3029
评论 0
喜欢 0
前端插件:`jSignature.js`
PHP插件:`FPDF+FPDI`
`index.html`代码:
```html
测试PDF手写签名html,body{padding: 0;margin: 0;width: 414px;overflow: hidden}
input {
padding: .5em;
margin: .5em;
}
select {
padding: .5em;
margin: .5em;
}
#signatureparent {
color:#000;
padding:20px;
}
/*This is the div within which the signature canvas is fitted*/
#signature {
border: 1px solid #eee;
background-color:#fff;
}
/* Drawing the 'gripper