This commit is contained in:
xsl
2026-03-11 09:44:18 +08:00
commit eeebb2070e
69 changed files with 2191 additions and 0 deletions
+52
View File
@@ -0,0 +1,52 @@
<template>
<view>
<image class="logo" :src="img"></image>
</view>
</template>
<script>
import {QrOpt,getQrData} from "@/uni_modules/xtf-qrcode"
export default {
data() {
return {
title: 'Hello',
img:"",
}
},
onLoad() {
console.log("QrOpt")
var that=this;
getQrData({
content:"xtf",
logo:"/static/logo.png",
logoW:80,
logoH:80,
qrSize:300,
callback:function(data:string){
that.img=data;
}
} as QrOpt);
//console.log(this.img)
},
methods: {
}
}
</script>
<style>
.logo {
height: 300px;
width: 300px;
margin: 100px auto 25px auto;
}
.title {
font-size: 18px;
color: #8f8f94;
text-align: center;
}
</style>