当前位置:网站首页>生成二维码
生成二维码
2022-07-02 05:20:00 【YUlangML】
代码
<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', //要生成二维码的值
size: 250, // 二维码的大小 单位为rpx
lv: 3,
loadMake: true, //组件加载完成后自动生成二维码
}
},
onLoad() {},
methods: {
qrR() {
console.log("二维码生成")
},
gopayFun() {
this.$wechat.gopayFun()
}
}
}边栏推荐
- Creation and destruction of function stack frames
- 黑马笔记---Set系列集合
- Fabric. JS centered element
- Fabric. JS basic brush
- 6.网络-基础
- Fabric.js IText 上标和下标
- Feign realizes file uploading and downloading
- 2022 Alibaba global mathematics competition, question 4, huhushengwei (blind box problem, truck problem) solution ideas
- 数据的储存
- Fabric.js 圆形笔刷
猜你喜欢

Pyechart1.19 national air quality exhibition

Gee series: Unit 1 Introduction to Google Earth engine

Collectors.groupingBy 排序

Fabric. JS upload local image to canvas background
![Gee: use of common mask functions in remote sensing image processing [updatemask]](/img/55/bf4ef5fc923242e72caab71f1a4e4b.jpg)
Gee: use of common mask functions in remote sensing image processing [updatemask]
![Gee series: unit 10 creating a graphical user interface using Google Earth engine [GUI development]](/img/78/a17034d4b77d5c0dbe741f84a8ecd7.jpg)
Gee series: unit 10 creating a graphical user interface using Google Earth engine [GUI development]

Fabric. JS gradient

Gee series: unit 6 building various remote sensing indexes in Google Earth engine

Disable access to external entities in XML parsing

LeetCode 1175. 质数排列(质数判断+组合数学)
随机推荐
ubuntu20.04安装mysql8
Operator details
【pyinstaller】_ get_ sysconfigdata_ name() missing 1 required positional argument: ‘check_ exists‘
Here comes the chicken soup! Keep this quick guide for data analysts
Fabric.js 背景不受视口变换影响
LeetCode 1175. Prime number arrangement (prime number judgment + Combinatorial Mathematics)
LeetCode 241. Design priorities for operational expressions (divide and conquer / mnemonic recursion / dynamic programming)
Fabric. JS iText set italics manually
Fabric. JS three methods of changing pictures (including changing pictures in the group and caching)
国产全中文-自动化测试软件Apifox
Global and Chinese market of cell culture freezers 2022-2028: Research Report on technology, participants, trends, market size and share
创新永不止步——nVisual网络可视化平台针对Excel导入的创新历程
Draw a wave chart_ Digital IC
Gee series: unit 8 time series analysis in Google Earth engine [time series]
About PROFIBUS: communication backbone network of production plant
Collectors.groupingBy 排序
函数栈帧的创建和销毁
Global and Chinese markets for marine selective catalytic reduction systems 2022-2028: Research Report on technology, participants, trends, market size and share
数据的储存
Fabric.js 居中元素