From ab32a41bd893b8c8b974b8c2d6ee49c9d4892774 Mon Sep 17 00:00:00 2001 From: weicw Date: Fri, 31 Jul 2026 00:37:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(ai-house):=20=E5=B1=95=E7=A4=BA=E8=BF=91?= =?UTF-8?q?=E4=BC=BC=E6=88=BF=E6=BA=90=E5=8C=B9=E9=85=8D=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/ai-house/index.vue | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pages/ai-house/index.vue b/pages/ai-house/index.vue index effd58b..910be8a 100644 --- a/pages/ai-house/index.vue +++ b/pages/ai-house/index.vue @@ -167,6 +167,7 @@ {{ item.houseTitle }} + {{ item.matchReason }} {{ item.address || item.region || item.city || '位置待补充' }} {{ item.extent }}m²|{{ item.toward }} {{ item.monthlyRent }}元/月 @@ -714,9 +715,12 @@ houseId: item.houseId || `mock-house-${index}`, files: this.normalizeHouseFiles(item) })) + const listTitle = data.matchType === 'approximate' + ? '以下房源比较接近您的要求:' + : '为您推荐以下房源:' this.messages.push( this.createMessage('ai', 'list', { - content: '为您推荐以下房源:', + content: listTitle, houses }) ) @@ -1077,6 +1081,17 @@ color: #1f2937; } + .house-match-reason { + margin-top: 10rpx; + padding: 10rpx 14rpx; + border-radius: 10rpx; + background: #eef6ff; + color: #2f5f9f; + font-size: 24rpx; + line-height: 1.45; + word-break: break-all; + } + .house-location { margin-top: 10rpx; font-size: 24rpx;