fix: sidebar & navbar
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
}
|
||||
});
|
||||
|
||||
console.log(props.load)
|
||||
|
||||
defineEmits(['set-load'])
|
||||
|
||||
|
||||
@@ -93,6 +95,15 @@
|
||||
// })
|
||||
}
|
||||
|
||||
// const makeCall = (phoneNumber) => {
|
||||
// console.log(phoneNumber)
|
||||
// // Formatear el número de teléfono eliminando espacios y caracteres especiales
|
||||
// // const formattedPhoneNumber = phoneNumber.value.replace(/[^0-9]/g, '');
|
||||
|
||||
// // Abrir la aplicación de llamadas telefónicas con el número especificado
|
||||
// window.open(`tel:${phoneNumber}`, '_self');
|
||||
// };
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -198,12 +209,12 @@
|
||||
data-target="#makeProposalModal"
|
||||
@click="event => $emit('set-load')"
|
||||
>Hacer oferta</button>
|
||||
<button
|
||||
<!-- <button
|
||||
class="btn-primary-sm"
|
||||
@click=""
|
||||
@click="makeCall('+529889662382')"
|
||||
data-toggle="modal"
|
||||
data-target="#proposalsModal"
|
||||
><i class="fa-solid fa-phone clear-sm"></i> Llamar ahora</button>
|
||||
><i class="fa-solid fa-phone clear-sm"></i> Llamar ahora</button> -->
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user