From f3ebb6002d7f1734dde57850a8eeea67672b097b Mon Sep 17 00:00:00 2001 From: hyeonggil <> Date: Sun, 8 Mar 2026 21:27:21 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=EC=A4=91=EA=B3=A0=20?= =?UTF-8?q?=ED=8C=90=EB=A7=A4=20=EC=9E=A5=EB=B9=84=EB=B3=84=20AI=20?= =?UTF-8?q?=EC=8B=9C=EC=84=B8=20=EB=B6=84=EC=84=9D=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - server/api/ai/market-price.post.ts: 시세 분석 전용 스트리밍 API 추가 (현재 시세 범위 / 희망가 평가 / 추천 판매가 / 판매 팁) - UsedSalesMarketPriceAnalysis: 스트리밍 분석 결과 표시 모달 컴포넌트 추가 (USkeleton 로딩 / whitespace-pre-wrap 텍스트 / 재분석 버튼) - used-sales/index: sparkles 버튼으로 모달 연동 --- .../used-sales/MarketPriceAnalysis.vue | 147 ++++++++++++++++++ app/pages/used-sales/index.vue | 22 +++ server/api/ai/market-price.post.ts | 57 +++++++ 3 files changed, 226 insertions(+) create mode 100644 app/components/used-sales/MarketPriceAnalysis.vue create mode 100644 server/api/ai/market-price.post.ts diff --git a/app/components/used-sales/MarketPriceAnalysis.vue b/app/components/used-sales/MarketPriceAnalysis.vue new file mode 100644 index 0000000..79851b1 --- /dev/null +++ b/app/components/used-sales/MarketPriceAnalysis.vue @@ -0,0 +1,147 @@ + + + diff --git a/app/pages/used-sales/index.vue b/app/pages/used-sales/index.vue index 7242022..8fae4f9 100644 --- a/app/pages/used-sales/index.vue +++ b/app/pages/used-sales/index.vue @@ -13,6 +13,14 @@ const showModal = ref(false) const editingSale = ref(undefined) const activeTab = ref('all') +const showAnalysis = ref(false) +const analyzingSale = ref(null) + +function openAnalysis(sale: UsedSale) { + analyzingSale.value = sale + showAnalysis.value = true +} + const tabOptions = [ { value: 'all', label: '전체' }, { value: 'listing', label: `판매중 (${byStatus.value.listing.length})` }, @@ -132,6 +140,14 @@ function formatPrice(price?: number) { + + + +