对接AI
This commit is contained in:
@@ -195,7 +195,7 @@
|
||||
<u-button icon="map" type="error" text="预约看房" disabled
|
||||
@click="$push('sub_pages/checkout/checkout?id=' + form.houseId)"></u-button>
|
||||
</view> -->
|
||||
<view class="item" @click="openAIChat">
|
||||
<view class="item" @click="goAiHouse">
|
||||
<u-icon name="chat" size="28" color="#3f72f4"></u-icon>
|
||||
<text style="color: #3f72f4;">AI找房</text>
|
||||
</view>
|
||||
@@ -224,8 +224,6 @@
|
||||
:apiCall="posterPreviewApiCall"
|
||||
:apiParam="{}"
|
||||
/>
|
||||
<!-- AI找房对话弹窗 -->
|
||||
<AiChatPopup v-model="showAIChat" :houseInfo="form" :houseId="houseId" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -240,7 +238,6 @@
|
||||
import ShareSheet from '@/components/share-sheet'
|
||||
import HousePosterGenerator from '@/components/house-poster-generator'
|
||||
import GoodsPosterPopup from '@/components/goods-poster-popup'
|
||||
import AiChatPopup from '@/components/ai-chat-popup/ai-chat-popup.vue'
|
||||
|
||||
const menu = [{
|
||||
name: '推荐',
|
||||
@@ -350,8 +347,7 @@
|
||||
components: {
|
||||
ShareSheet,
|
||||
HousePosterGenerator,
|
||||
GoodsPosterPopup,
|
||||
AiChatPopup
|
||||
GoodsPosterPopup
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -397,9 +393,7 @@
|
||||
showPosterPreview: false,
|
||||
currentPosterUrl: '',
|
||||
dealerId: 0,
|
||||
mobile: '',
|
||||
// AI找房弹窗
|
||||
showAIChat: false
|
||||
mobile: ''
|
||||
};
|
||||
|
||||
},
|
||||
@@ -809,12 +803,11 @@
|
||||
})
|
||||
},
|
||||
|
||||
// AI找房:打开对话弹窗
|
||||
openAIChat() {
|
||||
console.log('openAIChat called, showAIChat before:', this.showAIChat)
|
||||
this.showAIChat = true
|
||||
console.log('showAIChat after:', this.showAIChat)
|
||||
},
|
||||
goAiHouse() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/ai-house/index'
|
||||
})
|
||||
},
|
||||
|
||||
// 下载海报图片
|
||||
downloadPosterImage(imageUrl) {
|
||||
|
||||
Reference in New Issue
Block a user