From 417cbb7c209a0382c09eb8913aca596f2a42e974 Mon Sep 17 00:00:00 2001 From: bot-backend Date: Sat, 4 Jul 2026 00:26:48 +0300 Subject: [PATCH] =?UTF-8?q?fix(tradein/v2):=20=D0=BF=D0=BE=D0=BC=D0=B5?= =?UTF-8?q?=D1=82=D0=BA=D0=B0=20=C2=AB=D0=92=20=D0=9E=D0=A4=D0=A4=D0=95?= =?UTF-8?q?=D0=A0=C2=BB=20+=20=D1=81=D1=83=D0=B7=D0=B8=D1=82=D1=8C=20?= =?UTF-8?q?=D1=80=D0=B5=D0=B5=D1=81=D1=82=D1=80=D0=BE=D0=B2=D1=83=D1=8E=20?= =?UTF-8?q?=D0=BA=D0=B0=D1=80=D1=82=D0=BE=D1=87=D0=BA=D1=83=20(#1991)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit После #2266/#2312 иерархия 3 цен уже разведена по размеру/весу (Avito IMV вынесен из hero целиком в отдельную аналитику). Оставшийся геп из #1991: - ДКП·Росреестр карточка занимала равную с двумя ценовыми ширину сетки (1fr/1fr/1fr) несмотря на приглушённый стиль — теперь 1.3fr/1.3fr/0.85fr, две главные цены доминируют, реестровая карточка визуально вторична. - Добавлена явная пометка «В ОФФЕР» на карточке ожидаемой цены сделки (скрыта в H1 empty-state, где акцентная рамка переезжает на asking-карточку). Refs #1991 --- .../components/trade-in/v2/ResultPanel.tsx | 63 +++++++++++++++---- 1 file changed, 51 insertions(+), 12 deletions(-) diff --git a/tradein-mvp/frontend/src/components/trade-in/v2/ResultPanel.tsx b/tradein-mvp/frontend/src/components/trade-in/v2/ResultPanel.tsx index 8ddb0133..b627d0b6 100644 --- a/tradein-mvp/frontend/src/components/trade-in/v2/ResultPanel.tsx +++ b/tradein-mvp/frontend/src/components/trade-in/v2/ResultPanel.tsx @@ -15,6 +15,7 @@ import type { ResultPanelData } from "./mappers"; const { accent, accentDeep, + onAccent, ink, body, body2, @@ -172,7 +173,14 @@ export default function ResultPanel({
ДКП(28). + // #1991 — column width above is the third, independent axis: asking + // and expected visually dominate the row, ДКП is narrow/secondary. // // H1 — when the expected card has no prediction (emptyNote), it drops // to an honest empty-state and the accent frame moves onto the asking @@ -232,19 +242,48 @@ export default function ResultPanel({ />
- {lines(card.title)} +
+ {lines(card.title)} +
+ {/* #1991 — explicit "this is the figure that goes into the offer" + mark on the headline card, so the two dominant prices are not + just visually bigger but literally labelled which one to quote. */} + {isHeadline && !isEmptyCard && ( + + В ОФФЕР + + )}
{isRegistry && (