Demo updates

This commit is contained in:
tugcekucukoglu
2024-03-11 17:20:10 +03:00
parent 9f1d6f08e3
commit 184b795add
6 changed files with 94 additions and 54 deletions

View File

@@ -130,7 +130,7 @@ const getSeverity = (product) => {
<div class="p-4 border-1 surface-border surface-card border-round flex flex-column">
<div class="surface-50 flex justify-content-center border-round p-3">
<div class="relative mx-auto">
<img class="border-round w-full" :src="`https://primefaces.org/cdn/primevue/images/product/${item.image}`" :alt="item.name" style="max-width: 300px"/>
<img class="border-round w-full" :src="`https://primefaces.org/cdn/primevue/images/product/${item.image}`" :alt="item.name" style="max-width: 300px" />
<Tag :value="item.inventoryStatus" :severity="getSeverity(item)" class="absolute" style="left: 4px; top: 4px"></Tag>
</div>
</div>