@uniczjc/verify
v0.3.4
Published
验证码js-sdk
Downloads
53
Readme
unic-verify
unic验证码
功能背景
根据网络环境来判断用户当前网络情况,返回对应负责程度的验证码
模块划分
逻辑处理
http
: 网络模块,用于请求数据secret
: 秘钥模块,验证秘钥,有效秘钥才能使用,且用于区分对应项目core
: 核心模块,处理验证码核心逻辑event
: 监视监听模块shared
: 状态管理模块compute
: 计算模块action
: 预设手势actionstyle
: 样式(less)unic-verify
: npm包模块,对外暴露api的模块
需求业务
tap
: 点击验证模块,点击按钮进行验证swipe
: 滑动验证模块,拖动滑块进行验证tap-image
: 点击图片元素验证模块vue
: vue组件