0
0
Fork 0
salix-front-mindshore-fork2/src/components/ui/VnLinkPhone.vue

17 lines
335 B
Vue
Raw Normal View History

<script setup>
2024-05-15 12:31:51 +00:00
defineProps({ phoneNumber: { type: [String, Number], default: null } });
</script>
<template>
2023-09-07 06:23:55 +00:00
<QBtn
2024-05-15 12:31:51 +00:00
v-if="phoneNumber"
2023-09-07 06:23:55 +00:00
flat
round
icon="phone"
size="sm"
color="primary"
2023-09-07 07:27:23 +00:00
padding="none"
2024-05-15 12:31:51 +00:00
:href="`sip:${phoneNumber}`"
2023-09-07 06:23:55 +00:00
@click.stop
/>
</template>