| | |
| | | <template> |
| | | <div class="share-qrcode-view"> |
| | | <qrcode-vue :value="link" :size="200"></qrcode-vue> |
| | | <qrcode-vue :value="link" :size="size"></qrcode-vue> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | name: 'ShareQrcodeView', |
| | | }); |
| | | |
| | | type Props = { |
| | | channlesNum?: string; |
| | | size?: number; |
| | | }; |
| | | |
| | | const props = withDefaults(defineProps<Props>(), { |
| | | size: 200, |
| | | }); |
| | | |
| | | const { blLifeRecharge } = useLifeRechargeContext(); |
| | | |
| | | const link = computed( |
| | | () => `${CLIENT_ORIGIN}?channelId=${blLifeRecharge.accountModel.channlesNum}` |
| | | ); |
| | | const link = computed(() => `${CLIENT_ORIGIN}?channelId=${props.channlesNum}`); |
| | | </script> |