This commit is contained in:
houjunxiang
2025-10-09 18:19:55 +08:00
parent f2ffc65094
commit 386f1e7466
1553 changed files with 284685 additions and 32820 deletions

View File

@@ -0,0 +1,24 @@
## 3.2.02024-08-27
修复全屏签名图片未正确旋转问题
## 3.1.02024-06-03
修复签名部分BUG
## 3.0.42024-05-28
修改部分文档内容
## 3.0.02024-05-28
新增jp-merge组件及修复jp-signature-popup组件签字滚动问题
## 2.5.22023-12-19
弹窗签名新增boundingBox属性文档新增vue3使用方法
## 2.5.12023-11-17
修复vue3兼容问题新增点击图片除非事件
## 2.52023-11-14
优化代码部分能力
## 2.42023-11-14
新增弹框签名笔锋配置
## 2.32023-11-14
修复滚动无法签名问题,弹框签名样式改变
## 2.22023-11-14
修复app滚动无法签名等问题修改了弹框签名样式
## 2.12023-08-15
修改弹窗高度,修改实例项目
## 2.02023-08-15
修复签名不兼容问题改变签名方式使用uni_modules方式

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,64 @@
export default {
styles: String,
disableScroll: {
type: Boolean,
default: true
},
type: {
type: String,
default: '2d'
},
// 画笔颜色
penColor: {
type: String,
default: 'black'
},
penSize: {
type: Number,
default: 2
},
// 画板背景颜色
backgroundColor: String,
backgroundImage: String,
// 笔锋
openSmooth: Boolean,
// 画笔最小值
minLineWidth: {
type: Number,
default: 2
},
// 画笔最大值
maxLineWidth: {
type: Number,
default: 6
},
// 画笔达到最小宽度所需最小速度(px/ms)取值范围1.0-10.0,值越小,画笔越容易变细,笔锋效果会比较明显,可以自行调整查看效果,选出自己满意的值。
minSpeed: {
type: Number,
default: 1.5
},
// 相邻两线宽度增(减)量最大百分比取值范围1-100为了达到笔锋效果画笔宽度会随画笔速度而改变如果相邻两线宽度差太大过渡效果就会很突兀使用maxWidthDiffRate限制宽度差让过渡效果更自然。可以自行调整查看效果选出自己满意的值。
maxWidthDiffRate: {
type: Number,
default: 20
},
// 限制历史记录数即最大可撤销数传入0则关闭历史记录功能
maxHistoryLength: {
type: Number,
default: 20
},
beforeDelay: {
type: Number,
default: 0
},
landscape: {
type: Boolean
},
boundingBox: {
type: Boolean
},
disabled: {
type: Boolean
},
preferToDataURL: Boolean
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More