zhengyiming
2025-03-27 55c03f35a31979aefd46aead13a145c9b293e6d8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<template>
  <div class="share-qrcode-view">
    <qrcode-vue :value="link" :size="200"></qrcode-vue>
  </div>
</template>
 
<script setup lang="ts">
import QrcodeVue from 'qrcode.vue';
import { useLifeRechargeContext } from '@life-payment/core-vue';
import { computed } from 'vue';
 
defineOptions({
  name: 'ShareQrcodeView',
});
 
type Props = {
  channlesNum?: string;
};
 
const props = withDefaults(defineProps<Props>(), {});
 
const { blLifeRecharge } = useLifeRechargeContext();
 
const link = computed(() => `${CLIENT_ORIGIN}?channelId=${props.channlesNum}`);
</script>