当前位置:网站首页>Generate QR code
Generate QR code
2022-07-02 05:23:00 【YUlangML】
Code
<template>
<view class="body">
<tki-qrcode ref="qrcode" :val="val" :size="size" :lv="lv" :loadMake="loadMake" @result="qrR" />
</view>
</template>
script>
import tkiQrcode from "@/components/tki-qrcode/tki-qrcode"
export default {
components: { tkiQrcode },
data() {
return {
src: 'https://img1.imgtp.com/2022/06/25/9Tm9EZkh.png',
val: 'https://img1.imgtp.com/2022/06/25/9Tm9EZkh.png', // The value to generate the QR code
size: 250, // The size of the QR code Unit is rpx
lv: 3,
loadMake: true, // After the component is loaded, the QR code is automatically generated
}
},
onLoad() {},
methods: {
qrR() {
console.log(" QR code generation ")
},
gopayFun() {
this.$wechat.gopayFun()
}
}
}
边栏推荐
- ubuntu20.04安装mysql8
- Global and Chinese market of hydrocyclone desander 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese market of cell culture freezers 2022-2028: Research Report on technology, participants, trends, market size and share
- Gee series: unit 8 time series analysis in Google Earth engine [time series]
- 在{{}}中拼接字符
- 画波形图_数字IC
- el-cascader回显只选中不显示的问题
- Gee: explore the change of water area in the North Canal basin over the past 30 years [year by year]
- Fabric.js 圆形笔刷
- Splice characters in {{}}
猜你喜欢
Fabric. JS right click menu
paddle: ValueError:quality setting only supported for ‘jpeg‘ compression
Operator details
操作符详解
el-cascader回显只选中不显示的问题
Fabric.js 渐变
LeetCode 241. Design priorities for operational expressions (divide and conquer / mnemonic recursion / dynamic programming)
Gee series: Unit 4 data import and export in Google Earth engine
Mysql基础---查询(1天学会mysql基础)
Straighten elements (with transition animation)
随机推荐
Database batch insert data
Black Horse Notes - - set Series Collection
Dark horse notes -- map set system
"Original, excellent and vulgar" in operation and maintenance work
Fabric.js 背景不受视口变换影响
指针使用详解
黑馬筆記---Set系列集合
Gee series: unit 9 generate sampling data in GEE [random sampling]
Fabric. JS basic brush
Determine whether there is an element in the string type
操作符详解
Gee: remote sensing image composite and mosaic
Detailed explanation of Pointer use
Fabric.js IText 上标和下标
ERP management system development and design existing source code
Disable access to external entities in XML parsing
Exercise notes 13 (effective letter ectopic words)
生成二维码
函数中使用sizeof(arr) / sizeof(arr[0])求数组长度不正确的原因
黑马笔记---Set系列集合