[WIP] Добавил скругление фото

This commit is contained in:
megavrilinvv
2023-04-24 17:28:25 +03:00
parent 6bc21f3afb
commit 298f563238
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
.label-field.font-sm.text-sm.whitespace-nowrap {{`${field.label} :`}} .label-field.font-sm.text-sm.whitespace-nowrap {{`${field.label} :`}}
.photo-field.flex.gap-3.items-center(v-if="field.type === 'photo'") .photo-field.flex.gap-3.items-center(v-if="field.type === 'photo'")
q-avatar( q-avatar(
square, rounded,
size="40px", size="40px",
v-if="docData[data.dataKey][field.key]?.photo" v-if="docData[data.dataKey][field.key]?.photo"
) )

View File

@@ -19,7 +19,7 @@
.label-field.font-sm.text-sm.whitespace-nowrap {{`${field.label} :`}} .label-field.font-sm.text-sm.whitespace-nowrap {{`${field.label} :`}}
.avatar-field.flex.gap-3.items-center.h-10.w-10(v-if="field.type === 'avatar'") .avatar-field.flex.gap-3.items-center.h-10.w-10(v-if="field.type === 'avatar'")
.flex.w-10.h-10.relative(v-if="basic[insurance.insuranceKey][field.key]?.photo") .flex.w-10.h-10.relative(v-if="basic[insurance.insuranceKey][field.key]?.photo")
img.avatar.object-cover( img.rounded.avatar.object-cover(
:src="basic[insurance.insuranceKey][field.key].photo", :src="basic[insurance.insuranceKey][field.key].photo",
alt="AV" alt="AV"
) )