Update OfferResultCard: add location, mini map, fix price format
All checks were successful
Build Docker Image / build (push) Successful in 4m30s

- Remove distance from right side (shown in stepper)
- Change price format to symbol + formatted number (e.g. $1,200/тонна)
- Add locationName prop for displaying offer location
- Add LocationMiniMap component for showing point on map
- Update hub page and CalcResultContent to pass coordinates
This commit is contained in:
Ruslan Bakiev
2026-01-15 00:07:21 +07:00
parent de95dbd059
commit f03554893b
4 changed files with 155 additions and 15 deletions

View File

@@ -61,11 +61,13 @@
<template #card="{ item }">
<OfferResultCard
:source-name="item.name"
:location-name="getOfferData(item.uuid)?.locationName"
:product-name="selectedProductName"
:price-per-unit="getOfferData(item.uuid)?.pricePerUnit"
:currency="getOfferData(item.uuid)?.currency"
:unit="getOfferData(item.uuid)?.unit"
:total-distance="item.distanceKm"
:latitude="item.latitude"
:longitude="item.longitude"
:stages="item.stages"
/>
</template>