当前位置:网站首页>生成二维码
生成二维码
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()
}
}
}
边栏推荐
- 4. Flask cooperates with a tag to link internal routes
- Collectors. Groupingby sort
- Principle and implementation of parallax effect
- Gee: analyze the change of spatial centroid of remote sensing image [centroid acquisition analysis]
- Using Kube bench and Kube hunter to evaluate the risk of kubernetes cluster
- Disable access to external entities in XML parsing
- Thread pool batch processing data
- No logic is executed after the El form is validated successfully
- Differential identities (help find mean, variance, and other moments)
- Fabric. JS right click menu
猜你喜欢
Dark horse notes -- Set Series Collection
Gee series: Unit 1 Introduction to Google Earth engine
4. Flask cooperates with a tag to link internal routes
Gee series: unit 8 time series analysis in Google Earth engine [time series]
黑马笔记---Map集合体系
黑马笔记---Set系列集合
Disable access to external entities in XML parsing
创新永不止步——nVisual网络可视化平台针对Excel导入的创新历程
LeetCode 1175. 质数排列(质数判断+组合数学)
Principle and implementation of parallax effect
随机推荐
Fabric. JS compact JSON
Gee series: Unit 4 data import and export in Google Earth engine
Gee: analyze the change of spatial centroid of remote sensing image [centroid acquisition analysis]
6.网络-基础
2022 Alibaba global mathematics competition, question 4, huhushengwei (blind box problem, truck problem) solution ideas
Essence and physical meaning of convolution (deep and brief understanding)
el form 表单validate成功后没有执行逻辑
Draw a wave chart_ Digital IC
Fabric. JS basic brush
创新永不止步——nVisual网络可视化平台针对Excel导入的创新历程
Fabric.js 将本地图像上传到画布背景
Pyechart1.19 national air quality exhibition
Express logistics quick query method, set the unsigned doc No. to refresh and query automatically
Record my pytorch installation process and errors
7. Eleven state sets of TCP
"Original, excellent and vulgar" in operation and maintenance work
黑马笔记---Map集合体系
Thread pool batch processing data
CubeMx DMA笔记
视差特效的原理和实现方法