当前位置:网站首页>生成二维码
生成二维码
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()
}
}
}边栏推荐
- leetcode两数相加go实现
- Fabric. JS 3 APIs to set canvas width and height
- Video multiple effects production, fade in effect and border background are added at the same time
- Record my pytorch installation process and errors
- Using QA band and bit mask in Google Earth engine
- 国产全中文-自动化测试软件Apifox
- Disable access to external entities in XML parsing
- LS1046nfs挂载文件系统
- Fabric.js 激活输入框
- ERP management system development and design existing source code
猜你喜欢

Storage of data

Collectors. Groupingby sort

Gee series: Unit 4 data import and export in Google Earth engine

Fabric.js IText设置指定文字的颜色和背景色

Fabric.js IText 上标和下标

Here comes the chicken soup! Keep this quick guide for data analysts

Dark horse notes -- Set Series Collection

Record my pytorch installation process and errors

Dark horse notes -- map set system

Gee series: Unit 3 raster remote sensing image band characteristics and rendering visualization
随机推荐
操作符详解
Briefly introduce chown command
Php/js cookie sharing across domains
Preparation for writing SAP ui5 applications using typescript
Gee series: Unit 3 raster remote sensing image band characteristics and rendering visualization
Innovation never stops -- the innovation process of nvisual network visualization platform for Excel import
MySQL foundation --- query (learn MySQL foundation in 1 day)
视差特效的原理和实现方法
Mysql基础---查询(1天学会mysql基础)
Fabric. JS centered element
黑馬筆記---Set系列集合
Detailed explanation of Pointer use
LeetCode 241. Design priorities for operational expressions (divide and conquer / mnemonic recursion / dynamic programming)
Gee: use of common mask functions in remote sensing image processing [updatemask]
Express logistics quick query method, set the unsigned doc No. to refresh and query automatically
Black Horse Notes - - set Series Collection
7.1模拟赛总结
ERP management system development and design existing source code
Leetcode 18 problem [sum of four numbers] recursive solution
kmp思想及模板代码