更新记录
1.1.0(2024-04-03) 下载此版本
微信小程序、app半屏扫码与授权查看
平台兼容性
uni-app
Vue2 | Vue3 | Chrome | Safari | app-vue | app-nvue | Android | iOS | 鸿蒙 |
---|---|---|---|---|---|---|---|---|
√ | - | - | - | √ | - | - | - | - |
微信小程序 | 支付宝小程序 | 抖音小程序 | 百度小程序 | 快手小程序 | 京东小程序 | 鸿蒙元服务 | QQ小程序 | 飞书小程序 | 快应用-华为 | 快应用-联盟 |
---|---|---|---|---|---|---|---|---|---|---|
√ | - | - | - | - | - | - | - | - | - | - |
simbalkj-scan
app 和 小程序半屏幕扫码
使用说明:
-
app使用引入appScan组件,
<app-scan ref="appScan" @getCode="getCode"/> JS: // getCode方法是接收扫码的回传 getCode(barNumber){ console.log(barNumber) }
-
微信小程序使用引入wxScan组件
<wx-scan ref="scanOrder" @getCode="getCode" /> JS: // getCode方法是接收扫码的回传 getCode(barNumber){ console.log(barNumber) }