电子签名,手写板签名(js+layui+jSignature)

本文介绍了一个基于HTML和JavaScript实现的电子签名系统。该系统允许用户调整笔迹的粗细和颜色,并提供了清除与保存签名的功能。同时,后端使用PHP处理签名数据并将其保存为图片。
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" >
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>电子签名</title>i+
    <style>
        html,body{
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            background-color: #f2f2f2;
        }
        .main{
            width: 100%;
            height: 100%;
            position: relative;
        }
        #signature{
            width: 100%;
            height: 100%;
            background-color: #fff;
        }
        .header{
            width: 50px;
            height: 100%;
            position: absolute;
            top: 0;
            right: 0;
            font-size: 16px;
            background-color: #273039;
            color: #fff;
            text-align: center;
            border: none
        }

        .footer{
            width: 50px;
            height: 100%;
            background-color: #fff;
            position: absolute;
            top: 0;
            left: 0;
            border-right: 2px solid #f2f2f2
        }
        .size{
            position: absolute;
            top: 5%;
        }
        .size div{
            margin-top: 20px;
            border: 2px solid #f2f2f2;
            border-radius: 50%;

            text-align: center;
            background: #00a0e9
        }
        .size-one{
            width: 14px
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值