edit kart

This commit is contained in:
2026-06-01 15:16:01 +03:30
parent 1b9f494b69
commit 02da1834e0
2 changed files with 10 additions and 10 deletions
+6 -6
View File
@@ -40,14 +40,14 @@
</p>
</div>
<dl class="space-y-2 rounded-2xl border border-border bg-surface-2 p-4 text-sm">
<div v-if="business.contactPhone">
<dt class="text-muted">تلفن</dt>
<dl class="space-y-3 rounded-2xl border border-border bg-surface-2 p-4 text-sm">
<div v-if="business.contactPhone" class="flex items-center justify-between gap-4">
<dt class="shrink-0 text-muted">تلفن</dt>
<dd class="font-medium" dir="ltr">{{ business.contactPhone }}</dd>
</div>
<div v-if="business.address">
<dt class="text-muted">آدرس</dt>
<dd>{{ business.address }}</dd>
<div v-if="business.address" class="flex items-start justify-between gap-4">
<dt class="shrink-0 pt-0.5 text-muted">آدرس</dt>
<dd class="min-w-0 max-w-[75%] text-left leading-relaxed">{{ business.address }}</dd>
</div>
</dl>
+4 -4
View File
@@ -17,12 +17,12 @@
<div v-if="auth.user" class="space-y-4">
<dl class="space-y-3 rounded-2xl border border-border bg-surface-2 p-4">
<div>
<dt class="text-xs text-muted">موبایل</dt>
<div class="flex items-center justify-between gap-4">
<dt class="shrink-0 text-xs text-muted">موبایل</dt>
<dd class="font-medium" dir="ltr">{{ auth.user.mobile }}</dd>
</div>
<div>
<dt class="text-xs text-muted">نقش</dt>
<div class="flex items-center justify-between gap-4">
<dt class="shrink-0 text-xs text-muted">نقش</dt>
<dd class="font-medium">{{ roleLabel }}</dd>
</div>
</dl>