feat: 聊天的结构调整

This commit is contained in:
2025-08-02 16:55:23 +08:00
parent ec3413833d
commit 299d755493
8 changed files with 45 additions and 22 deletions

View File

@@ -45,14 +45,9 @@
<template v-else>
<ChatCardOther class="message-item-other" :text="item.msg">
<OneFeelMK001 v-if="mainPageDataModel.activityList.length > 0" :activityList="mainPageDataModel.activityList"/>
<template v-if="mainPageDataModel.recommendTheme.length > 0">
<template v-for="(item) in mainPageDataModel.recommendTheme" :key="item.themeName">
<OneFeelMK002 :recommendTheme="item"/>
</template>
</template>
<ActivityListComponent v-if="mainPageDataModel.activityList.length > 0" :activityList="mainPageDataModel.activityList"/>
<RecommendPostsComponent v-if="mainPageDataModel.recommendTheme.length > 0" :recommendThemeList="mainPageDataModel.recommendTheme" />
</ChatCardOther>
</template>
</view>
@@ -92,18 +87,17 @@
import ChatMoreTips from './ChatMoreTips.vue';
import ChatInputArea from './ChatInputArea.vue'
import CommandWrapper from '@/components/CommandWrapper/index.vue'
import QuickBookingComponent from '../booking/QuickBookingComponent.vue'
import DiscoveryCardComponent from '../discovery/DiscoveryCardComponent.vue';
import QuickBookingComponent from '../module/booking/QuickBookingComponent.vue'
import DiscoveryCardComponent from '../module/discovery/DiscoveryCardComponent.vue';
import ActivityListComponent from '../module/banner/ActivityListComponent.vue';
import RecommendPostsComponent from '../module/recommend/RecommendPostsComponent.vue';
import CreateServiceOrder from '@/components/CreateServiceOrder/index.vue'
import OneFeelMK001 from '../module/OneFeelMK001.vue';
import OneFeelMK002 from '../module/OneFeelMK002.vue';
import { agentChatStream } from '../../request/api/AgentChatStream';
import { mainPageData } from '../../request/api/MainPageDataApi';
import { conversationMsgList, recentConversation } from '../../request/api/ConversationApi';
import { agentChatStream } from '@/request/api/AgentChatStream';
import { mainPageData } from '@/request/api/MainPageDataApi';
import { conversationMsgList, recentConversation } from '@/request/api/ConversationApi';