fix: icon size
This commit is contained in:
parent
5868f6af53
commit
9a64f023b9
|
@ -9,7 +9,7 @@ defineProps<{
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="relative flex flex-col justify-between overflow-hidden">
|
<div class="relative flex flex-col justify-between overflow-hidden">
|
||||||
<img alt="product_img" :src="`https://cake-crm.3crabs.ru${path}`">
|
<img class="w-full h-full" alt="product_img" :src="`https://cake-api.3crabs.ru${path}`">
|
||||||
|
|
||||||
<div class="flex gap-1 absolute top-3 left-3">
|
<div class="flex gap-1 absolute top-3 left-3">
|
||||||
<UBadge v-for="(label, index) in labels" :key="index" :ui="{ rounded: 'rounded-full' }" size="md">
|
<UBadge v-for="(label, index) in labels" :key="index" :ui="{ rounded: 'rounded-full' }" size="md">
|
||||||
|
|
|
@ -16,7 +16,7 @@ const { data } = useCRMGetProduct(route.params.id as string)
|
||||||
<Header />
|
<Header />
|
||||||
</template>
|
</template>
|
||||||
<div class="flex gap-12">
|
<div class="flex gap-12">
|
||||||
<ProductImage :path="data?.data.product?.images?.[0]" class="w-128 h-128 rounded-[20px]" :labels="data?.data.product?.labels" />
|
<ProductImage :path="data?.data.product?.images?.[0]" class="w-125 h-125 rounded-[20px]" :labels="data?.data.product?.labels" />
|
||||||
<div class="flex flex-col gap-6">
|
<div class="flex flex-col gap-6">
|
||||||
<div class="font-bold text-4xl">
|
<div class="font-bold text-4xl">
|
||||||
{{ data?.data.product?.name }}
|
{{ data?.data.product?.name }}
|
||||||
|
|
Loading…
Reference in New Issue