import VerificationCode from 'wepy-ui-ydj/VerificationCode';
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
width | 验证码的宽度 | number(px) | - | 90 |
height | 验证码的高度 | number(px) | - | 40 |
backgroundColor | 验证码框的背景颜色 | string | - | none |
lineColor | 穿插线条的颜色 | string | #fff | |
fontColor | 文本颜色 | string | - | none |
fontSize | 文本大小 | number(rpx) | 20 |