From 956f241f88fcceb58a333cd4f9fa83256281e456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=AF=BC=ED=97=8C?= Date: Mon, 31 Aug 2026 14:47:54 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A0=95=EB=B3=B4=20=EC=9C=84=EA=B3=84=20?= =?UTF-8?q?=EC=A0=95=EB=A6=AC=20=E2=80=94=20=EB=B0=80=EB=8F=84=20=EC=99=84?= =?UTF-8?q?=ED=99=94=EB=A5=BC=20=EC=9C=84=ED=95=9C=203=EB=8B=A8=20?= =?UTF-8?q?=ED=83=80=EC=9E=85=20=EC=B2=B4=EA=B3=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 상품 정보: 가격 2행만 1차 강조, 거래 조건 4종은 구분선 아래 2×2 보조 그리드로 강등 - 가격 라운드: 행당 강조를 %(파랑) 하나로 — 카드 칩은 회색으로 - 엔진 판단: 현재 협상 카드를 패널 주인공으로 승격, 긴장도 구간명을 값에 병기해 라벨 행·설명 캡션 제거, 게이지·바 두께 축소 - 협상 진행: 완료 단계 라벨 감쇄 — 현재 단계만 강조 Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01UFZ7JWdwCaQAwNYJErL8pP --- frontend/src/components/CasePanel.tsx | 40 +++++++++------ frontend/src/components/Dashboard.tsx | 71 +++++++++++++-------------- 2 files changed, 59 insertions(+), 52 deletions(-) diff --git a/frontend/src/components/CasePanel.tsx b/frontend/src/components/CasePanel.tsx index 02a6d18..f82d294 100644 --- a/frontend/src/components/CasePanel.tsx +++ b/frontend/src/components/CasePanel.tsx @@ -73,30 +73,38 @@ export function CasePanel({

상품 정보

{selected.item_name}

+ + {/* 1차 정보: 가격 두 줄만 강조 */}
-
기존 공급가
-
{selected.item_price.toLocaleString()}원
+
기존 공급가
+
{selected.item_price.toLocaleString()}원
-
인터넷 최저가
-
{selected.card_data.internet_min_price.toLocaleString()}원
+
인터넷 최저가
+
{selected.card_data.internet_min_price.toLocaleString()}원
-
-
공급 유형
-
{DIST_LABEL[selected.dist]}
+
+ + {/* 2차 정보: 거래 조건은 한 단계 가라앉힌 보조 그리드 */} +
+
+
공급 유형
+
{DIST_LABEL[selected.dist]}
-
-
협력사 유형
-
{PARTNER_LABEL[selected.partners_yn]}
+
+
협력사 유형
+
{PARTNER_LABEL[selected.partners_yn]}
-
-
거래 기간
-
{selected.card_data.trading_period}년
+
+
거래 기간
+
{selected.card_data.trading_period}년
-
-
응답률 / VOC
-
{selected.card_data.response_rate}% / {selected.card_data.voc_count}건
+
+
응답률 / VOC
+
+ {selected.card_data.response_rate}% / {selected.card_data.voc_count}건 +
diff --git a/frontend/src/components/Dashboard.tsx b/frontend/src/components/Dashboard.tsx index af6c1b5..d28f174 100644 --- a/frontend/src/components/Dashboard.tsx +++ b/frontend/src/components/Dashboard.tsx @@ -84,8 +84,8 @@ export function Dashboard({ state === 'current' ? 'font-bold text-primary' : state === 'done' - ? 'font-medium text-base-content/80' - : 'text-base-content/40' + ? 'text-base-content/55' + : 'text-base-content/35' }`} > {s} @@ -125,7 +125,7 @@ export function Dashboard({ )} {r.card && ( - + {r.card} )} @@ -138,28 +138,30 @@ export function Dashboard({ {meta ? ( -
-
-
협상 카드
-
- +
+ {/* 이 패널의 주인공 — 지금 발동 중인 협상 카드 */} +
+
현재 협상 카드
+
+ {meta.card_id ?? '—'}
-
-
가격 지표
-
+
+
가격 지표
+
{indicator != null ? ( <> - {indicator} / 99 · {meta.indicator_range} + {indicator} + / 99 · {meta.indicator_range} ) : '—'}
-
+
-
-
협상 긴장도
-
{tension != null ? tension.toFixed(2) : '—'}
+
+
협상 긴장도
+
+ {tension != null ? ( + <> + {tension.toFixed(2)} + {zone != null && · {ZONE_LABELS[zone]}} + + ) : '—'} +
-
+
{ZONE_LABELS.map((_, i) => (
))}
-
- {ZONE_LABELS.map((l, i) => ( - - {l} - - ))} -
-
- 적용 페르소나 +
+ +
+
적용 페르소나
+
{meta.persona ? ( - {meta.persona} + {meta.persona} ) : ( - — + — )} -
-

- 긴장도 구간에 따라 협상 말투(페르소나)가 정해집니다. -

+
) : (