paxton-front/components/ProductPrice.vue
alsaze cb5b80fc6b
All checks were successful
Deploy / build (push) Successful in 48s
создаю телегу товаров
2025-10-08 16:06:53 +03:00

27 lines
404 B
Vue

<template>
<div class="product-price">
<h2>{{ price }} <Icon name="ph:currency-rub" /></h2>
</div>
</template>
<script setup lang="ts">
defineProps({
price: {
type: [String, Number],
required: true,
},
})
</script>
<style lang="scss">
.product-price {
h2 {
display: flex;
flex-direction: row;
gap: 4px;
align-items: center;
text-align: center;
}
}
</style>