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;