tiny-vue_version0/examples/sites/demos/pc/app/qr-code/style.vue

24 lines
395 B
Vue

<template>
<tiny-qr-code v-bind="params"></tiny-qr-code>
</template>
<script>
import { QrCode } from '@opentiny/vue'
export default {
components: {
TinyQrCode: QrCode
},
data() {
return {
params: {
value: '测试二维码数据',
color: '#1677ff',
size: 250,
style: { background: '#f5f5f5', padding: '24px' }
}
}
}
}
</script>