Update vcard_api.html
This commit is contained in:
@@ -188,7 +188,7 @@
|
||||
<td class="py-2 px-3 text-gray-500 text-xs" x-text="v.empresa || '—'"></td>
|
||||
<td class="py-2 px-3 text-gray-500 text-xs" x-text="v.email || '—'"></td>
|
||||
<td class="py-2 px-3 text-xs">
|
||||
<a :href="v.url || ('https://vcard.u-site.app/' + v.unico)" target="_blank"
|
||||
<a :href="v.url || (v.unico ? 'https://vcard.u-site.app/' + v.unico : null)" target="_blank"
|
||||
x-show="v.unico || v.url"
|
||||
class="text-blue-500 hover:underline font-mono" x-text="v.unico || '—'"></a>
|
||||
<span x-show="!v.unico && !v.url" class="text-gray-400">—</span>
|
||||
@@ -234,7 +234,7 @@
|
||||
<!-- Header -->
|
||||
<div class="flex items-start justify-between mb-2 gap-2">
|
||||
<div class="flex items-center gap-2">
|
||||
<img x-show="p.img" :src="'https://vcard.u-site.app/' + p.img"
|
||||
<img x-show="p.img" :src="p.img ? 'https://vcard.u-site.app/' + p.img : null"
|
||||
class="h-8 w-8 rounded object-cover border shrink-0" onerror="this.style.display='none'" />
|
||||
<span class="font-semibold text-sm" x-text="p.nombre || '—'"></span>
|
||||
</div>
|
||||
@@ -655,7 +655,7 @@
|
||||
<td class="py-1 px-2 text-gray-500" x-text="v.empresa || '—'"></td>
|
||||
<td class="py-1 px-2 text-gray-500" x-text="v.email || '—'"></td>
|
||||
<td class="py-1 px-2 text-blue-500">
|
||||
<a :href="'https://vcard.u-site.app/'+v.url" target="_blank" x-text="v.url || '—'" class="hover:underline"></a>
|
||||
<a :href="v.url ? 'https://vcard.u-site.app/'+v.url : null" target="_blank" x-text="v.url || '—'" class="hover:underline"></a>
|
||||
</td>
|
||||
<td class="py-1 px-2">
|
||||
<span :class="v.estado ? 'bg-green-100 text-green-700' : 'bg-red-100 text-red-700'"
|
||||
@@ -966,7 +966,7 @@
|
||||
<!-- Footer -->
|
||||
<div class="flex justify-between items-center gap-3 px-5 py-4 border-t shrink-0">
|
||||
<div class="flex gap-2">
|
||||
<a :href="verVcardData ? (verVcardData.url || ('https://vcard.u-site.app/' + verVcardData.unico)) : '#'"
|
||||
<a :href="verVcardData ? (verVcardData.url || (verVcardData.unico ? 'https://vcard.u-site.app/' + verVcardData.unico : '#')) : '#'"
|
||||
target="_blank"
|
||||
class="inline-flex items-center gap-1 px-4 py-2 text-sm text-white rounded-lg"
|
||||
style="background-color:#3b82f6"
|
||||
@@ -1345,7 +1345,7 @@
|
||||
<div class="bg-white rounded-xl shadow-2xl w-full max-w-2xl mx-4 flex flex-col max-h-[90vh]">
|
||||
<div class="flex justify-between items-center px-5 py-4 border-b shrink-0">
|
||||
<div class="flex items-center gap-3">
|
||||
<img x-show="verPlanData && verPlanData.img" :src="verPlanData ? 'https://vcard.u-site.app/' + verPlanData.img : ''"
|
||||
<img x-show="verPlanData && verPlanData.img" :src="verPlanData && verPlanData.img ? 'https://vcard.u-site.app/' + verPlanData.img : null"
|
||||
class="h-10 w-10 rounded-lg object-cover border" onerror="this.style.display='none'" />
|
||||
<div>
|
||||
<h2 class="text-lg font-semibold" x-text="verPlanData ? verPlanData.nombre : ''"></h2>
|
||||
|
||||
Reference in New Issue
Block a user