Update LayoutDoc.vue

pull/4107/head
Tuğçe Küçükoğlu 2023-07-04 13:06:19 +03:00
parent 3a7efe6314
commit 73375d1555
1 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@
<div class="flex flex-column align-items-center gap-3 py-5"> <div class="flex flex-column align-items-center gap-3 py-5">
<img class="w-9 shadow-2 border-round" :src="`https://primefaces.org/cdn/primevue/images/product/${slotProps.data.image}`" :alt="slotProps.data.name" /> <img class="w-9 shadow-2 border-round" :src="`https://primefaces.org/cdn/primevue/images/product/${slotProps.data.image}`" :alt="slotProps.data.name" />
<div class="text-2xl font-bold">{{ slotProps.data.name }}</div> <div class="text-2xl font-bold">{{ slotProps.data.name }}</div>
<Rating value="{product.rating}" readonly :cancel="false"></Rating> <Rating :modelValue="slotProps.data.rating" readonly :cancel="false"></Rating>
</div> </div>
<div class="flex align-items-center justify-content-between"> <div class="flex align-items-center justify-content-between">
<span class="text-2xl font-semibold">${{ slotProps.data.price }}</span> <span class="text-2xl font-semibold">${{ slotProps.data.price }}</span>
@ -120,7 +120,7 @@ export default {
<div class="flex flex-column align-items-center gap-3 py-5"> <div class="flex flex-column align-items-center gap-3 py-5">
<img class="w-9 shadow-2 border-round" :src="\`https://primefaces.org/cdn/primevue/images/product/\${slotProps.data.image}\`" :alt="slotProps.data.name" /> <img class="w-9 shadow-2 border-round" :src="\`https://primefaces.org/cdn/primevue/images/product/\${slotProps.data.image}\`" :alt="slotProps.data.name" />
<div class="text-2xl font-bold">{{ slotProps.data.name }}</div> <div class="text-2xl font-bold">{{ slotProps.data.name }}</div>
<Rating value="{product.rating}" readonly :cancel="false"></Rating> <Rating :modelValue="slotProps.data.rating" readonly :cancel="false"></Rating>
</div> </div>
<div class="flex align-items-center justify-content-between"> <div class="flex align-items-center justify-content-between">
<span class="text-2xl font-semibold">\${{ slotProps.data.price }}</span> <span class="text-2xl font-semibold">\${{ slotProps.data.price }}</span>
@ -178,7 +178,7 @@ export default {
<div class="flex flex-column align-items-center gap-3 py-5"> <div class="flex flex-column align-items-center gap-3 py-5">
<img class="w-9 shadow-2 border-round" :src="\`https://primefaces.org/cdn/primevue/images/product/\${slotProps.data.image}\`" :alt="slotProps.data.name" /> <img class="w-9 shadow-2 border-round" :src="\`https://primefaces.org/cdn/primevue/images/product/\${slotProps.data.image}\`" :alt="slotProps.data.name" />
<div class="text-2xl font-bold">{{ slotProps.data.name }}</div> <div class="text-2xl font-bold">{{ slotProps.data.name }}</div>
<Rating value="{product.rating}" readonly :cancel="false"></Rating> <Rating :modelValue="slotProps.data.rating" readonly :cancel="false"></Rating>
</div> </div>
<div class="flex align-items-center justify-content-between"> <div class="flex align-items-center justify-content-between">
<span class="text-2xl font-semibold">\${{ slotProps.data.price }}</span> <span class="text-2xl font-semibold">\${{ slotProps.data.price }}</span>
@ -271,7 +271,7 @@ export default {
<div class="flex flex-column align-items-center gap-3 py-5"> <div class="flex flex-column align-items-center gap-3 py-5">
<img class="w-9 shadow-2 border-round" :src="\`https://primefaces.org/cdn/primevue/images/product/\${slotProps.data.image}\`" :alt="slotProps.data.name" /> <img class="w-9 shadow-2 border-round" :src="\`https://primefaces.org/cdn/primevue/images/product/\${slotProps.data.image}\`" :alt="slotProps.data.name" />
<div class="text-2xl font-bold">{{ slotProps.data.name }}</div> <div class="text-2xl font-bold">{{ slotProps.data.name }}</div>
<Rating value="{product.rating}" readonly :cancel="false"></Rating> <Rating :modelValue="slotProps.data.rating" readonly :cancel="false"></Rating>
</div> </div>
<div class="flex align-items-center justify-content-between"> <div class="flex align-items-center justify-content-between">
<span class="text-2xl font-semibold">\${{ slotProps.data.price }}</span> <span class="text-2xl font-semibold">\${{ slotProps.data.price }}</span>