功能目的,扫描二维码跳转到对应的网站(超简单)
html部分
二维码模块
<vue-q-art :config="impListData.config"
v-show="true"></vue-q-art>
js部分
import VueQArt from 'vue-qart'
components: {
VueQArt
}
data() {
return {
impListData: {
config: {
value: '网址',
imagePath: './../../../../../build/logo.png',(需要个图片作为背景)
filter: 'color',
size: 500
}
}
}
}