Redesign SupplierCard and ProductCard, unify components
All checks were successful
Build Docker Image / build (push) Successful in 4m0s
All checks were successful
Build Docker Image / build (push) Successful in 4m0s
- SupplierCard: horizontal layout with logo left, verified badge before name, chips at bottom - ProductCard: add optional sparkline background, trend indicator, and price display - Replace HubProductCard usage with ProductCard in hub detail page - Remove HubProductCard.vue and PriceSparkline.vue (unified into ProductCard)
This commit is contained in:
@@ -26,9 +26,10 @@
|
||||
</template>
|
||||
|
||||
<template #card="{ item }">
|
||||
<HubProductCard
|
||||
:name="item.name"
|
||||
<ProductCard
|
||||
:product="item"
|
||||
:price-history="getMockPriceHistory(item.uuid)"
|
||||
selectable
|
||||
@select="goToProduct(item.uuid)"
|
||||
/>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user