更新记录

0.0.4(2024-04-01)

  • chore: 兼容uniapp x ios(app-js)

0.0.3(2023-12-14)

  • chore: 更新文档

0.0.2(2023-12-11)

  • 删除多余文件
查看更多

平台兼容性

Vue2 Vue3
App 快应用 微信小程序 支付宝小程序 百度小程序 字节小程序 QQ小程序
HBuilderX 3.98,Android:4.4,iOS:9 × × × × × ×
钉钉小程序 快手小程序 飞书小程序 京东小程序
× × × ×
H5-Safari Android Browser 微信浏览器(Android) QQ浏览器(Android) Chrome IE Edge Firefox PC-Safari
× × × × × × × × ×

lime-qrcodegen

lime-qrcode UTS API

安装

导入本插件后要自定义基座才能运行

基本使用

<view ref="qrcodeRef"></view>
import { QRCodeCanvas } from '@/uni_modules/lime-qrcodegen'

const el = this.$refs['qrcodeRef'] as UniElement 
const ctx = el.getDrawableContext()
const qrcode = new QRCodeCanvas(ctx)
qrcode.render({
    value: string,
    size: number,
    fgColor: string,
    level: string, //'L', 'M', 'Q', 'H'
    marginSize: number,
    imageSettings: null,
    includeMargin: boolean
})

隐私、权限声明

1. 本插件需要申请的系统权限列表:

2. 本插件采集的数据、发送的服务器地址、以及数据用途说明:

3. 本插件是否包含广告,如包含需详细说明广告表达方式、展示频率:

暂无用户评论。

使用中有什么不明白的地方,就向插件作者提问吧~ 我要提问