1.0.2 • Published 3 years ago
@mas.io/mas-qrcode v1.0.2
安装
tnpm install --save @alipay/mas-qrcode
组件介绍
小程序二维码组件。
参数说明
参数名称 | 填写要求 | 参数类型 | 参数说明 | 默认值 | 示例 |
---|---|---|---|---|---|
width | 选填 | Number | 二维码大小 | true | - |
code | 必填 | String | 二维码字符串 | true | - |
className | 选填 | String | class样式 | false | - |
在小程序中使用
{
"usingComponents": {
"mas-qrcode": "@alipay/mas-qrcode/es/index"
}
}
<mas-qrcode
width="{{width}}"
code="{{code}}"
className="{{className}}"
/>